Tuesday, April 14, 2015

Relink InfoPath form using Nintex Workflow

In one of my recent project i wanted to copy InfoPath Form from one library to other- second library InfoPath Form template was exactly similar but included few more fields.

In second library i created workflow and used Update XML action, configure it as below


XPath Query

/processing-instruction('mso-infoPathSolution')

In second text box use PI information as below format.

name="urn:schemas-microsoft-com:office:infopath:LeaveForm:-myXSD-2015-02-27T14-45-21" solutionVersion="1.0.0.821" productVersion="15.0.0.0" PIVersion="1.0.0.0" href="https://contoso/LeaveRequestArchive/Forms/template.xsn"