Submit A Single Repeating Row using SubmitToSharePointList - InfoPath Dev
in

InfoPath Dev

Submit A Single Repeating Row using SubmitToSharePointList

Last post 03-08-2013 06:53 AM by britgeek. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-07-2013 10:06 AM

    Submit A Single Repeating Row using SubmitToSharePointList

    Is it possible to submit only a single repeating row to a list using the SubmitToSharePointList command?

    I have a repeating table of contact information, which is read from one source and added to the main data source. I then want users to be able to add a relationship level for themselves to the contacts. A drop-down on each row gives the relationship levels, and a button executes the Submit action

    The action works, and the relationship to the contact is added, but all other contacts are added at the same time, but without relationships.

    What I'm looking for is a way to focus the SubmitToSharePointList action to only the row that the relationship level has been set for. Is there a way to do this?

  • 03-07-2013 12:58 PM In reply to

    Re: Submit A Single Repeating Row using SubmitToSharePointList

     There is - if you look at the mapping file in a text editor, you'll see the RepeatingGroup mapping - that indicates the XPath for your repeating group. You can manually add an SPath filter to that:

    my:myFields/my:Group/my:RepeatingGroup[my:relationship != '']

    For example...

    Hilary Stoupa

  • 03-08-2013 06:53 AM In reply to

    Re: Submit A Single Repeating Row using SubmitToSharePointList

    Worked like a charm! Thanks!
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.