Delete list item - how to - InfoPath Dev
in

InfoPath Dev

Delete list item - how to

Last post 02-12-2010 01:05 PM by Hilary Stoupa. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 02-11-2010 12:01 PM

    Delete list item - how to

    Could someone wirte a tutorial on how to delete item(s) from a SharePoint list using qrules?

    Please and Thanks!

  • 02-11-2010 12:07 PM In reply to

    Re: Delete list item - how to

    Currently, we only allow adding and updating from InfoPath to SharePoint using qRules. Delete functionality should be added in a future release.

    Hilary Stoupa

  • 02-11-2010 12:13 PM In reply to

    Re: Delete list item - how to

    Ahh, thats would explain why I couldnt find anything here on how to do that. So i guess, for now, its a code only option then?
  • 02-11-2010 12:17 PM In reply to

    Re: Delete list item - how to

    Since qRules and custom code can't co-exist in the same form, I'm afraid there isn't an option to delete from your form and have the changes reflected in your list. One work around might be to add a field for 'active' to your items, and mark them active / inactive. Then, in your ShP list, you could set your views to not display inactive items....

    Hilary Stoupa

  • 02-11-2010 12:23 PM In reply to

    Re: Delete list item - how to

    Thats a good idea. Thanks Hilary!
  • 02-12-2010 01:02 PM In reply to

    Re: Delete list item - how to

    Okay I have your idea working (thanks again), of course here is the next inevitable question: Is it possible to update the status of a list item using qrules? If this isn’t possible with qrules would a workaround be to somehow start a SharePoint workflow to delete items marked as "inactive"?
  • 02-12-2010 01:05 PM In reply to

    Re: Delete list item - how to

    SubmitToSharePointList command does perform updates from the form to the list. You need to specify a node for the id in your command, and then you can change items in your form and submit again to update. Here's a video demo you might find helpful...

    Hilary Stoupa

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