InfoPath drop down field bound to the repeating section it is housed in - InfoPath Dev
in

InfoPath Dev

InfoPath drop down field bound to the repeating section it is housed in

Last post 11-10-2012 03:08 AM by Gennady Vanin (Геннадий Ванин, Новосибирск). 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-09-2012 08:25 AM

    InfoPath drop down field bound to the repeating section it is housed in

    I need to create a drop down list that references the repeating section it is part of. That reference will act as a filter for another drop down list. It seems that there is a "context node" issue with this functionality. The "master" drop down in Section 2 only lists "Section 2"; the "master" drop down in Section 3 only lists "Section 3". I need all sections to be available in the listing. Here is a link to an example XSN file which demonstrates this. http://www.4shared.com/file/AnTDCAo9/RepeatingSectionDropDownSelfSe.html Please let me know if the link does not work; I've rarely used this host. The goal is that the first drop down selects the "master" repeating section, the second drop down is then filtered to target the sub-repeating section housed within it. A simple analogy might be a form that has vehicle makes / models. There are multiple manufacturers, each one with multiple models. I want to be able to add both new makes and models but also reference old makes and models to apply changes etc. I posted this same question to SharePoint StackExchange as well. http://sharepoint.stackexchange.com/questions/51337/infopath-drop-down-field-bound-to-the-repeating-section-it-is-housed-in
  • 11-10-2012 03:08 AM In reply to

    Re: InfoPath drop down field bound to the repeating section it is housed in

     Hello, Chris,

    I hope I answered you in  Sharepoint.stackExchange.com:

     The data fields bound to repeating controls are used for storing/saving data of repeating items structures and cannot be used for lookup-ing what you are looking for.
    So, you are trying that it pulls itself by its own hair. 

    To have independent on repeating items content of a drop down list box (DDL) in repeating section you should bound  DDL to a data source stored outside of data fields used for storing repeating section items.   

    I would have used a data source outside of template in order to have ability to change the list of choices without republishing a template. 

     Here is a screenshot of DDL in repeating section with independent list of choices bound to a sharepoint list field

     Fig.1. Independent, i.e. external data source used for list of choices of Drop Down List Box in a repeating section

    Fig.1. Independent, i.e. external data source used for list of choices of Drop Down List Box in a repeating section


    Fig.2. The Title field of a sharepoint list used for content of DDL list of choices

    Gennady Vanin (Novosibirsk) --- Геннадий Ванин (Новосибирск)
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.