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

copy nintex form to another site programmatically

Jump to solution

I have 30+ contract execution sites that all contain the same list based on a content type. I need to add a field to all instances of the list in all the contract execution sites. I think I can figure out how to do this in powershell.

 

Next I need to update the Nintex 2010 form that goes with this list. That is easy enough to do in one site. I want to then copy that form to the lists in the remaining project execution sites. I think I can export the form, but is there a way to install that form on a given list using powershell?

Labels: (3)
Reply
7 Replies
Automation Master
Automation Master

Re: copy nintex form to another site programmatically

Jump to solution

I'm not sure about PowerShell Josh (not my strength) but you could look at using something like Sharegate to do this for you.

0 Kudos
Reply
janeyres
Nintex Newbie

Re: copy nintex form to another site programmatically

Jump to solution
0 Kudos
Reply
jmoore
Nintex Newbie

Re: copy nintex form to another site programmatically

Jump to solution

I'm on 2010, so the above link is no use. I have manually updated all 27 lists 3 times today. Import/ export helps but this is ridiculous.

0 Kudos
Reply
sharepointfranc
Nintex Newbie

Re: copy nintex form to another site programmatically

Jump to solution

Hi Joshua Moore​,

Did you find a solution to your problem ?

I am searching for a solution every 6 months hoping that Nintex or someone would find a breathrough or at least workaround.

For now my solution is : NOT to use Nintex Forms or Workflows in every site collections/sites/sub-sites but instead have a "central site" where users use the forms and a workflow in the list that copies the item values into the "correct" target site/sub-site. Then I have a regular purge of the submitted items.

This way I only have 1 central place to maintain all my forms and the business can change them if needed.

The downside of course is that the items once in the target site(s) lost their CreatedBy since it's the name of the workflow author, and a form with lots of repeated sections are just showing as plain XML but at least the data is there so we can do reports on it.

This solution is only valid IF users do not need to modify the data, otherwise they will not be so happy to open it in the out-of-the-box SharePoint item form UI.

Would love to hear others with their workarounds on updating 50+ forms in sites.

thanks.

François.

0 Kudos
Reply
eiben
Nintex Newbie

Re: copy nintex form to another site programmatically

Jump to solution

For workflow there is an api to publish workflow programmatically, for forms there seems not to be such an api, but a uservoice submission at https://nintex.uservoice.com/forums/229406-2-nintex-forms-for-sharepoint/suggestions/6546116-publish-a-nintex-form-by-webservice-or-nintex-work

0 Kudos
Reply
Automation Master
Automation Master

Re: copy nintex form to another site programmatically

Jump to solution
Reply
eiben
Nintex Newbie

Re: copy nintex form to another site programmatically

Jump to solution

Yeah! I just found this the other day - and already used that in a current project to deploy Nintex Forms from PowerShell!

Reply