populate dropdown with lists / libraries in site - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

populate dropdown with lists / libraries in site

Last post 09-06-2013 02:44 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-06-2013 08:34 AM

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    populate dropdown with lists / libraries in site

    Anyone know of a way to populate a dropdown with the lists/libraries in a site? Dont want to create / manage a list that contains the data.
  • 09-06-2013 02:44 PM In reply to

    Re: populate dropdown with lists / libraries in site

     I'm sorry, I don't understand the question - you need a secondary data source connection that shows all the lists and libraries? If so, you might want to try the Lists web service in SharePoint - http://msdn.microsoft.com/en-us/library/lists.lists.getlistcollection(v=office.12).aspx. I just tried a data connection to GetListCollection. Unfortunately, it doesn't generate a schema in IP, so you'd likely need some code to return the data to an XML file in the form that you could use for a drop down.

    If you are using ShP / IP 2010, there may be a way to get these using a REST data connection.

    Hilary Stoupa

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