cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
MarkX
Nintex Newbie

Custom includes not updating after edits

I have a JS custom include in my form located in the SharePoint SiteAssets library.  After I made some edits to the code and saved it, form preview is still executing the old code.  When does Nintex reload the files?  I've verified my changes have been saved.  I also exited the form designer and then reloaded it and still it has the old code.  Any ideas?

Labels: (1)
0 Kudos
Reply
3 Replies
MarkX
Nintex Newbie

Re: Custom includes not updating after edits

Well, clearing the browser cache works but that's a pain to do if I'm testing / debugging code.
0 Kudos
Reply
Automation Master
Automation Master

Re: Custom includes not updating after edits

Depending on your setup, you might need to Publish the file once you have uploaded it to wherever it's living:

image.png

 

If you don't have that option then, yeah, clearning the cache might be the most reliable way to make sure that it's pulling the file fresh from your site. 

0 Kudos
Reply
arne_nostvik
Nintex Newbie

Re: Custom includes not updating after edits

Have you tried appending versioning to your include URL?

ie. http://sharepoint.yourdomain.com/sites/finance/SiteAssets/MyJavaScriptIncludedFile.js?v=2

 

Just increment the versioning number in the include URL in Nintex Forms settings after each time you revision the JavaScript file. That would "force" the browser to reload the script.

 

It works for me.

0 Kudos
Reply