Dataconnections with multiple InfoPath environments - InfoPath Dev
in

InfoPath Dev

Dataconnections with multiple InfoPath environments

Last post 03-04-2008 09:31 AM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-03-2008 05:49 AM

    Dataconnections with multiple InfoPath environments

    Hi there

    I have multiple environments for development / acceptance testing / production. InfoPath is used on a MOSS server. When I create a data connection in IP to a sharepoint list, there is the absolute path in the template. But I need the relative path to my current sharepoint list.

    There are some solutions with UDC files but if I understand this feature correctly it does not solve the absolute address in the template. With UDCs I have the absolute link to this UDC and my problem is still the same.

    Is there a solution to connect to a specific sharepoint list in the same site as the new IP document was opened? (it would be also nice if I do not need to write code because I want to publish the document only at document libraray level).

    Any ideas are welcome.

     Roger

  • 03-03-2008 11:07 AM In reply to

    Re: Dataconnections with multiple InfoPath environments

    The only way to do it is to write code. You have to evaluate where the form was opened for (there is a property with the full URL to the form template location that can be used for this), and then use that to build out your URL to the SharePoint site. Then you need to use that URL you just created to update your data connection addresses via code.

  • 03-04-2008 09:09 AM In reply to

    Re: Dataconnections with multiple InfoPath environments

    I would double check with UDCs - I remember than when I set up a UDC connection in InfoPath, it has a choice between absolute and relative links. I have not really played much with it but do check it out, maybe it will help.

    David Airapetyan / Software Services Architect
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 03-04-2008 09:31 AM In reply to

    Re: Dataconnections with multiple InfoPath environments

    Good thought! Thanks David!

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.