Dynamic Data Connections, Query Data Source - InfoPath Dev
in

InfoPath Dev

Dynamic Data Connections, Query Data Source

Last post 11-01-2011 10:44 AM by Charles the Red. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 11-01-2011 10:44 AM

    Dynamic Data Connections, Query Data Source

    Hello,

    I had begun working on a project in InfoPath 2010. Our forms must pull data from libraries that are relative to their current location in the website. Therefore, I cannot hardcode the Connections. In 2010 this was a relatively straight forward process using SharePointListRWQueryConnection and editing the URL and listID, a la:

    SharePointListRWQueryConnection sp = (SharePointListRWQueryConnection)this.DataConnections["String"];

    sp.SiteURL = "msdn.microsoft.com";

    sp.ListID = ID;

    Howerver, in 2007 there is only a SharePointListQueryConnection. The SiteURL and subsequent fields are read only, which makes my method impossible to implement. Is there another way to accomplish my task? Note that I would very much prefer to use SharePoint Lists.

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