pesikwane

Deleting a broken form OR ...restoring it's PREVIOUS version on Nintex Forms for Office 365

Blog Post created by pesikwane on Mar 14, 2018

Yebo you read the title right 

 

So this workaround will assist you in either deleting or restoring a previous version of a Nintex Form for Office 365 using SharePoint Designer 2013. 

 

AuthorPalesa Sikwane
Long DescriptionThis is a little workaround that can assist you in setting deleting a broken Nintex form or restoring the previous version of a Nintex Form, on Office 365 using SharePoint Designer
Dependencies

Nintex Workflow 365

SharePoint Online

SharePoint Designer 2013

Compatibility

Office 365/SharePoint Online

Nintex Forms O365

Platform

Nintex Forms for Office 365

Disclaimer

Please note that this is a workaround I have come up with to help anyone who might want to troubleshoot a buggy form or restore a previous version of a form on Office 365. The OOTB (Out of the Box) functionality by Nintex Forms 0365 is still underway, and I would still recommend that you always export your Nintex Form as a backup, also if need be, I'd also encourage you to save a backup of your List (as a template) and use that to experiment with this.

 

"...First things First..." (pun intended) a big thanks to the First Tech Digital Team (Thuso and Darren) for reaching out to me with this requirement 

 

Geeze...!t's been a minute since I've done a blog post...I'm REALLY SORRY

 

Anyway, imagine this... You're working on a Nintex Form for Office 365 right, then all of a sudden when you try and edit  your form from the forms designer, you get the following error:

 

Unable to open Nintex forms O365 designer

 

So hmmm you might think that this might go away and the form will load... but NAH... it doesn't, it just hangs!

...And not only that, but you know you've made a lot of customizations and configuration to your form that involved a lot of saving, publishing and testing ....

 

 

You might panic because no matter how many times you try; the forms designer SIMPLY won't open! Whether you have an exported version of the form or not; there is no need to panic anymore; as the following workaround might just work for you:

 

  1. Connect to your Office 365 Environment using SharePoint Designer:

  2. Navigate to All Files -> NintexFormXML


    Note: This view shows you all the files related to all of your Nintex Forms which you've published/saved in your SharePoint Online Site. 
  3. Now you need to Find your Nintex form, you can use the following:
  4. Filtering by the columns from within SharePoint Designer, for example, if you know when last you Published or Saved the form:


    1. OR (my preferred method) Using the List GUID of the List the form is connected to find the form. I use the following method to find my List GUID:
      1. Open List Settings on the applicable list:


      2. I copy the URL of this page as the List GUID is visible there:
      3. I copy the entire URL and paste it into a tool I’ve been using for years Meyersweb URL Decoder/Encoder (bookmark this, this really comes in handy!). Paste the URL and click on "Decode":

        Note: Notice how the List GUID is easier to read , copy this to your clipboard, excluding the "curly" brackets
      4. Now go back to your SharePoint Designer View (i.e. All Files -> NintexFormXML) and apply a customer filter on the Title column using the List GUID:


      5. This will return files/forms belonging to your List,

      6. so now if you would like to COMPLETELY REMOVE/DELETE YOUR FORM proceed to Step 7, and if you wish to RESTORE A PREVIOUS VERSION OF YOUR FORM PROCEED to Step 8:
      7. Deleting the form:

        Steps

        Find and Select the form, ensure this is correct, as a safety measure I would always recommend you back up the form:

         

         

        This will keep the same file name as the original but append "_copy(1)" at the end, which you would always remove when renaming and restoring the file i.e.:

         

         

         

        Now delete the original form:

         

        Now again, navigate to the All Files view in SharePoint Designer, and click on Lists:

         

        Open the applicable list:

         

         

        Open the applicable folder:

        Note: If you have no Content Type linked to this list,; you will see a folder called Item (which is the default SharePoint content type for a list). Open the Folder for the Content Type linked to the form you wish to delete - in my case, this was Contact.

         

        You will then see 2 files:

         

         

        Delete these files

         

         

        Now finally if you go to the list where you’ve published your Nintex Form and open the Nintex Forms Designer, you should have it back to default (where you’re prompted to choose a designer):

         

         

      8. Restoring a previous version of the form

        Steps

        From SharePoint Designer right-click your Lists form once you’ve found it check out the file:

        Note: Again backup this file incase anything goes wrong!!

         

        Click on the name of the file to open it:

        This will bring up a Page showing settings for the file:

         

        Now you can simply restore a previous version by selecting any of the versions listed in the Version History section :

         

         

        Once done, from the breadcrumb go one step back to the NintexFormXML link:

         

        Check-in the file in SharePoint Designer:

         

        Click OK

         

        The file might "disappear" from your view in SharePoint Designer, but no need to panic  Just simply refresh or clear any custom filters.

         

        Note: When you open a New form on your list or Edit an existing one you will still see the latest published one just like I did below:

         

         

        But you open the Nintex Forms Designer, you will see the previous version I restored :

         

         

        And that's it!!!


        I hope this helps someone out there



        Cheers!!!

Outcomes