Dropdown of SharePoint Lists in form - InfoPath Dev Sign in | Join | Help in SharePoint Integration InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » SharePoint Integration » Dropdown of SharePoint Lists in form Dropdown of SharePoint Lists in form Last post 11-06-2012 08:21 AM by Anson Hidajat. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-02-2012 05:36 AM Marzipan Joined on 04-14-2010 Posts 117 Dropdown of SharePoint Lists in form Reply Contact I'm looking for a sample on populating a secondary data source with the list names from a SharePoint site. 11-05-2012 09:10 AM In reply to Anson Hidajat Joined on 11-28-2011 Posts 619 Re: Dropdown of SharePoint Lists in form Mark as Not AnswerMark as Answer... Reply Contact This article has a brief description on how to add choices from a SP list to a dropdown control: http://office.microsoft.com/en-us/infopath-help/insert-a-drop-down-list-box-HA010103020.aspxBasically, you need to add a receive connection to your SP list. Then in the dropdown properties, set it to get choices from an external data source and select the fields to use as the display name and values. Hope this helps! Anson HidajatQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 11-05-2012 11:45 AM In reply to Marzipan Joined on 04-14-2010 Posts 117 Re: Dropdown of SharePoint Lists in form Mark as Not AnswerMark as Answer... Reply Contact I don't want items in a list, I want a "Listing" of the libraries and or list on the site. 11-06-2012 08:21 AM In reply to Anson Hidajat Joined on 11-28-2011 Posts 619 Re: Dropdown of SharePoint Lists in form Mark as Not AnswerMark as Answer... Reply Contact Ah I see. I believe there is a way to do this programatically or via web service, though not sure how to do it off the top of my head. Sorry couldn't be more help. Anson HidajatQdabra® Software/ InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I'm looking for a sample on populating a secondary data source with the list names from a SharePoint site.
This article has a brief description on how to add choices from a SP list to a dropdown control: http://office.microsoft.com/en-us/infopath-help/insert-a-drop-down-list-box-HA010103020.aspx
Basically, you need to add a receive connection to your SP list. Then in the dropdown properties, set it to get choices from an external data source and select the fields to use as the display name and values. Hope this helps!