Question

I've created a InfoPath form which uses Data Connections. This was on server1.

Now I want to change this InfoPath Form on server2 (server1 does not exist anymore). I want to add a new Data Connection.

I do use the Connection Options as Local Connection library, so the link to the data connection file is relative.

When I look into the Data Connections for the form template, I still see the Connection Source beeing the server1. When I add a new connection, the Source is server2.

When I Preview the Form, the Form still tries to connect server1 !

How can I change this ?

I found a way to do this: Manually editing data connection details in InfoPath 2007 forms. For me, only the save as source files worked.

Is this the best way to do ?

Was it helpful?

Solution

Yes as far I'm aware that's the only way.

You need to save the source files out in InfoPath client, edit the manifest file with the correct URLs, then save and publish back into SharePoint.

I haven't come across any community tools that make this process easier but you would think there's a good need for them. You may want to search around for that.

OTHER TIPS

It's been a few projects since I've done Infopath, but are we talking about connections stored externally to the form? These are stored in a .udcx file in a Data Connection Library. If so, why isn't it as simple as just editing the .udcx file? If not, why store embed the connection in the form rather than use .udcx files?

Or am I missing something altogether?

Here are related more detailed posts published later on how to do the same:

I post it only to relate posts which before this my post were not related/linked through links in Related section, on right side.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top