Skip to main content
Nintex Community Menu Bar

Best way to delete all list items from a child site

  • June 23, 2019
  • 2 replies
  • 23 views

Forum|alt.badge.img+7

I need to delete all list items in a child site from the parent site. The list is very small less than 20 items.

Need your suggestion on the best way to do it.

1.  Delete this list and re-create a new one?

2.  Use nintex 'delete multiple items' action. This action requires the list id i need to get dynamically

3. Call the sharepoint web service lists.asmx. I didn't find a method to delete all items.

Thanks

 

 

2 replies

Forum|alt.badge.img+14
  • Scholar
  • June 24, 2019

use delete multiple items action, but instead of defining the acvtion with a query builder use rather CAML query. it allows you to supply list name dynamically

 

2735i7D8BB6D535E824EE.jpg


Forum|alt.badge.img+7
  • Author
  • Scholar
  • June 25, 2019

Thanks. I works.  i don't need to specify the list guid.