programmatically change the URL of secondary data connection in Infopath form

Hi all,

I have an InfoPath form which have url of one sharepoint site in its secondary data connection(submit) , now i am uploading this infopath form to another SharePoint site by C# code so i want to add a code  by which i can replace the old url to current site's library url in the submit data connection for your reference the screen sho of data connection wizard as:

Like I want to change the url of Document Librry with new site url as: http://sprptsite2/formlibrary2 by code in C#.

I searched on google and in blogs for this but unable to find a solution so please suggest me for it.

Regards

Vishal

October 17th, 2012 10:56am

Hi Avanish Tomar, 

 Did you get any solution; I am also looking for the solution. Share me the solution if you have done.

Free Windows Admin Tool Kit Click here and download it now
November 16th, 2012 11:02am

Hi Ravi,

Sorry,I didn't find any solution for that but I think it is possible...so i am investigating on this but

Another option which i created by creating a project in C# where i am updating my UDCX file and then uploading it to sharepoint site so with the help of this you don't need to update and upload UDCX file manually.

If you want this, then i can provide it to you. 

Regards

Avanish

November 19th, 2012 12:34pm

Hi Avinash,

I am looking for the same solution for the problem you have mentioned above.

I want to update the UDCX programatically using C#. Could you please share the solution/code to me.

It would be a great help. Thank you.

Please share the solution to my mail id : seshagiri.vissa@optum.com

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2015 1:38pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics