General question about SubmitToSharePointList - InfoPath Dev
in

InfoPath Dev

General question about SubmitToSharePointList

Last post 01-23-2015 03:20 PM by Hilary Stoupa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-23-2015 09:20 AM

    General question about SubmitToSharePointList

     I have a number of repeating groups in an InfoPath form which I write to SharePoint Lists using SubmitToSharePointList .

    The form is able to be edited at a number of stages and some items may be deleted.  i.e. the line item which has been written to SharePoint may be deleted from the form. 

    When I then "update" i.e. re submit the data to SharePoint, any new items are added, and items that have changed are updated BUT the items that have been deleted in the form do not get deleted in SharePoint. 

    How can I correct this ?

    Thank you.

  • 01-23-2015 03:20 PM In reply to

    Re: General question about SubmitToSharePointList

    Hi, Catharine!

    Use the RefreshListItems command on the finishedLoading node (finishedLoading = true) - you don't have to let it update your items from the list, you can use it in report mode - but behind the scenes, it creates a list of the items linked to SharePoint in the form when it is opened (so that Submit To SharePoint List knows what to delete).

    Post back if you need any help. :)

    Hilary Stoupa

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