Parent site URL changed, form broken, just republish?

%3CLINGO-SUB%20id%3D%22lingo-sub-811790%22%20slang%3D%22en-US%22%3EParent%20site%20URL%20changed%2C%20form%20broken%2C%20just%20republish%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-811790%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20couple%20of%20InfoPath%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Elibrary%20forms%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E(not%20list%20forms)%20hosted%20under%20let's%20say%20Site%20B%2C%20where%20site%20B%20is%20a%20subsite%20of%20Site%20A.%20I%20recently%20changed%20the%20URL%20of%20site%20A%20and%20all%20forms%20are%20broken.%3C%2FP%3E%3CP%3EI%20attempted%20to%20fix%20this%20simply%20by%20opening%20up%20the%20.XSN%20file%20in%20infopath%2C%20FILE%20%26gt%3B%26gt%3B%26gt%3B%20Publish%20%26gt%3B%26gt%3B%26gt%3B%26gt%3B%20SharePoint%20Server%20%26gt%3B%26gt%3B%26gt%3B%3C%2FP%3E%3CP%3EHere%20I%20found%20that%20the%20URL%20was%20the%20old%20URL%20of%20site%20A%20before%20the%20change%2C%20so%20I%20updated%20it%20to%20the%20new%20URL%20of%20site%20A.%20Hit%20Next%2C%20Next%2C%20and%20instead%20of%20creating%20a%20new%20form%20library%2C%20I%20simply%20choose%20Update%20the%20form%20template%20in%20an%20existing%20library%2C%20and%20pick%20the%20same%20library.%3C%2FP%3E%3CP%3EVoila!%20the%20form%20is%20back%20to%20normal%20again.%3C%2FP%3E%3CP%3ENow%20my%20questions%3A%20If%20it%20is%20this%20simple%2C%20why%20there%20are%20posts%20out%20there%20saying%20something%20like%20saving%20a%20local%20copy%20of%20the%20XSN%20file%2C%20exporting%20its%20source%2C%20and%20changing%20the%20URL%20within%20the%20.manifest%20file%20(some%20even%20say%20it%20needs%20to%20be%20converted%20to%20.CAB%20file)%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fexchange%2Fen-US%2F4aabacd6-7d6d-4778-8bd2-b4620ea717db%2Fchange-the-target-site-list-url-for-publishing-infopath-form%3Fforum%3Dsharepointcustomizationprevious%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Elike%20here%3C%2FA%3E%3F%20Or%20some%20even%20say%2C%20some%20file%20called%20.udcx%20file%20need%20to%20be%20modified%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F17383%2Finfopath-change-publish-location%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Elike%20here%3C%2FA%3E%3F%20All%20these%20suggestions%20make%20me%20think%20if%20it%20is%20this%20complicated%2C%20I%20might%20have%20done%20something%20wrong%3F%3C%2FP%3E%3CP%3EOr%20is%20it%20because%20these%20complicated%20steps%20are%20meant%20for%20Infopath%20list%20forms%20only%20instead%20of%20library%20forms%3F%20Or%20they%20have%20to%20do%20with%20opening%20up%20old%20.XML%20records%3F%20(My%20forms%20in%20question%20only%20use%20emailing%20to%20send%20out%20responses%20and%20do%20not%20save%20a%20XML%20record%20in%20the%20form%20library)%3C%2FP%3E%3CP%3ESo%20just%20would%20like%20to%20confirm%20that%20these%20complicated%20steps%20(changing%20.manifest%20file%2F.udcx%20file)%20doesn't%20apply%20to%20my%20case%3F%20Please%20advise!%3C%2FP%3E%3CP%3EEnvironment%3A%20SharePoint%202013%20on-premise.%20InfoPath%202013%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-811790%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Einfopath%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-811907%22%20slang%3D%22en-US%22%3ERe%3A%20Parent%20site%20URL%20changed%2C%20form%20broken%2C%20just%20republish%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-811907%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F130028%22%20target%3D%22_blank%22%3E%40Yihuan%20Liu%3C%2FA%3E%26nbsp%3BCould%20you%20please%20try%20the%20following%20steps%3A%3C%2FP%3E%3CP%3EDownload%20the%20Infopath%20file%20to%20your%20local%20drive%20and%20then%20republish%20the%20same%20in%20to%20your%20library%20once%20again%20so%20that%20linking%20happens%20once%20again.%3C%2FP%3E%3CP%3EYou%20can%20follow%20the%20steps%20described%20below%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fmove-a-published-form-template-to-a-new-sharepoint-library-2a2aac61-3180-40fc-b306-61e8d7829bf8%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsupport.office.com%2Fen-us%2Farticle%2Fmove-a-published-form-template-to-a-new-sharepoint-library-2a2aac61-3180-40fc-b306-61e8d7829bf8%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I have a couple of InfoPath library forms (not list forms) hosted under let's say Site B, where site B is a subsite of Site A. I recently changed the URL of site A and all forms are broken.

I attempted to fix this simply by opening up the .XSN file in infopath, FILE >>> Publish >>>> SharePoint Server >>>

Here I found that the URL was the old URL of site A before the change, so I updated it to the new URL of site A. Hit Next, Next, and instead of creating a new form library, I simply choose Update the form template in an existing library, and pick the same library.

Voila! the form is back to normal again.

Now my questions: If it is this simple, why there are posts out there saying something like saving a local copy of the XSN file, exporting its source, and changing the URL within the .manifest file (some even say it needs to be converted to .CAB file) like here? Or some even say, some file called .udcx file need to be modified like here? All these suggestions make me think if it is this complicated, I might have done something wrong?

Or is it because these complicated steps are meant for Infopath list forms only instead of library forms? Or they have to do with opening up old .XML records? (My forms in question only use emailing to send out responses and do not save a XML record in the form library)

So just would like to confirm that these complicated steps (changing .manifest file/.udcx file) doesn't apply to my case? Please advise!

Environment: SharePoint 2013 on-premise. InfoPath 2013

1 Reply

@Yihuan Liu Could you please try the following steps:

Download the Infopath file to your local drive and then republish the same in to your library once again so that linking happens once again.

You can follow the steps described below: https://support.office.com/en-us/article/move-a-published-form-template-to-a-new-sharepoint-library-...