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"
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"
Hello,
ReplyDeletethanks a lot for your post. It works great.
Hi Sandip, I am getting error message: Error processing XML. The current node cannot contain other nodes.
ReplyDeleteCan you help?
It's very difficult to solve your issue just by seeing error message. Checkout this article for XML parsing in Nintex https://askmanisha.wordpress.com/2013/07/25/xml-parsing-using-nintex/
Delete