in

InfoPath Dev

Changing the location of data connections

Last post 09-07-2007 07:08 AM by Kalyan Gaddam. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-05-2007 03:18 AM

    Changing the location of data connections

    Hi there,

     I have searched around, but I can't seem to find an answer to this problem.

     I've created a SharePoint site to hold information relating to specific contracts we have. It's a simple site with several doc libraries, and one form library.  The form looks at several data connections on the site in order to get information. 

    What I''ve then done is saved the site as a template which can be deployed over and over again as a new contract is taken on.  This obviously causes problems with the submit routine and the data connections, as they're now looking in the wrong site.

     I've managed to sort out the submit, by calling it in code and specifying the URL to submit to, but I can't find a way to do the same with the data connections.

     I can't be the only one who's come across this problem.  I have found an awfully lengthy code here: http://msdn2.microsoft.com/en-us/library/aa192521(office.11).aspx, but it seems like a really complex way of dealing with a simple problem.

    The code I'm using behind the form is VBScript.

    Does anyone have any ideas?

    Thanks

    I really can't believe it's not butter!
  • 09-07-2007 07:08 AM In reply to

    Re: Changing the location of data connections

    Hello 

    Please look at the link below

    http://www.qdabra.com/proddetail.asp?prod=QDeployment

    I hope it will help you

    Kalyan G Reddy
    Infopath MVP 2007 and 2008
Page 1 of 1 (2 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.