Essentially, what you need to do is extract the files from .xsn, modify manifest.xsf and repackage as cab file then rename back to a .xsn. I found the best cab maker to use is PowerArchiver. It's got a nice user interface and is easy to use.
- Using any extraction software (7zip, WinZip, PowerArchiver etc)
-
Right Click on manifest.xsf and select Open With, then select Notepad
-
Click Edit and Select Replace
-
In the Find and Replace dialog box, Enter the older URL in find and enter the url to the new Site collection in replace, then click Replace All
-
Click File and Save
- Open PowerArchiver
-
Click New Archive
-
In the New Archive Dialog Box navigate to where you want to save the Form, Enter a file name Select .CAB in the Save as Type. Then click Save
-
In the Add dialog box, change the location to where you originally extracted the .xsn, then select all files and click Add
- Close PowerArchiver
- Navigate to where you saved the cab right click the cab file and select Rename change the file extension from .cab to .xsn then click enter, click Yes on the renamed extension warning.
- Right Click the form and Select Design
-
In the Ribbon Click the Quick Publish Icon
- In the Save Form Dialog box, Select a suitable location to save the form and click OK
- When the form has been successfully published, click ok.
The form will now be published to the new location, using all of the udcx's in the new site collection.
Great information, thanks Haylee.
ReplyDelete