Create a form that has a dropdown menu - that populates a repeat sharepoint list - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Create a form that has a dropdown menu - that populates a repeat sharepoint list

Last post 08-31-2012 05:35 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-30-2012 01:02 PM

    • RobynH
    • Not Ranked
    • Joined on 08-30-2012
    • Posts 1

    Create a form that has a dropdown menu - that populates a repeat sharepoint list

     Hi All – please help as I am a first time user J

    I am trying to create a “display” only form in InfoPath 2010 that pulls data from a Sharepoint list. My list has 15 columns of data and is also quite large.  What I am trying to do is display 3 of the columns in drop down lists (distinct). When this is selected only the data that matches shows up in the repeat table below. I am using the same sharepoint list for the dropdown and also for the repeat table.

     

    1.       I am able to create the drop down and associate it to the list and pull back the data. ( I set this to automatically pull data on the load)

    2.       I am not able to set a condition to pull back where data matches to display only those in the repeat table. (I created another connection to same list but not to load data)

     

    I tried setting up a rule to “query” data when field 1 = sharepointlist field 1 or field 2 = sharepointlist field 2, etc and it does not work.

     

    Any suggestions on how to do this? or am I missing something in the conditions

     Thanks

     

  • 08-31-2012 05:35 AM In reply to

    Re: Create a form that has a dropdown menu - that populates a repeat sharepoint list

    Hi,

    This is the basic set up you'll need.

    - One data connection that executes on load and populates the dropdown (returns only whatever data is needed for the dropdown).

    - Rules on the dropdown to: (a) set the value of the query fields and (b) query a second data connection (which returns the columns you need)

    - Then you can display the results of this second data connection.

    Now, when configuring the dropdown, remember that dropdowns have a DisplayName and a Value. Value is usually the ID column of the SharePoint list, and this will be needed for the second data connection, in order to complete the query correctly.

    Hope this helps. Good luck!

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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