Using Relink When Moving a SharePoint Form Library to a New Site
When InfoPath form files are saved to a SharePoint Form Library, SharePoint creates hard-coded references to the form template in the team site where the forms are being saved. If the SharePoint Form Library is moved to a new location, the references in the InfoPath form files will continue to point to the old location, even after they've been moved into the new Form Library. In order to fix up the references in the form files to point to the new form template location, you need to perform a Relink operation.
Important Before performing the Relink operation, make sure that the Windows SharePoint Services server you are working with has been updated with Windows SharePoint Services Service Pack 1. This service pack release fixes a bug that can cause data corruption when performing a Relink operation.
Note You cannot relink a form if the all data in the form has been digitally signed (the form template has been configured for signing by using the Enable digital signatures for the entire form option, or by using the Enable digital signatures for specific data in the form option with the Set of signable data specified using an XPath expression of "/"). This is because when a form has been signed using this configuration the link to the form template is treated as part of the form data, and relinking would invalidate the signature. You can relink a form that has only part of the data signed (the form template has been configured for signing by using the Enable digital signatures for specific data in the form option with the Set of signable data specified as a subset of the data). For more information on using digital signatures, see Digitally Signing Data in InfoPath 2003.
Here are the steps for performing a Relink operation:
- Open the new form library.
- Click Modify Columns and Settings to the left of the view.
- Under General Settings, click Relink forms to this form library.
- In the view presented, select all of the forms that you want to relink.
- Click the Relink button.
The references in all of the forms you selected in step 4 will now point to the current form library location.
Note It is also possible to update the references in the form files using the Processing Instruction Update Tool provided with the InfoPath 2003 Software Development Kit (SDK); however in most cases the using the procedure above is simpler.
Comments
Anonymous
November 02, 2004
Can you 'relink' digitally signed forms?Anonymous
November 04, 2004
You can relink forms that have only part of their data signed, but you cannot relink forms that have all their data signed because the link is then part of that data so relinking would invalidate the signature.Anonymous
April 26, 2007
If the form library has version history on, is there a method to relink the previous versions of the form files without having to restore them first?Anonymous
October 16, 2008
i'm not using the sharepoint server but i need to change the hard-coded references or publish url in the template(xsn) itself. Is there an option to do that? cause the pifix.exe tool doesn't work with templatesAnonymous
July 20, 2010
The comment has been removedAnonymous
November 15, 2010
Is there an article on how to relink with the pifix tool? I also need to relink a few hundred documents... thoughts?