Help Center>Foundation Help

Applies to:

  • Winshuttle Foundation

Delete Item plugin properties

The Delete Item plugin deletes the item against which the process is running. 

NOTE: The item will not be deleted until the process has completed.

NOTE: For site and list parameters, enter the site first, and then the list will be populated in the dropdown.

Value Pair

Description

itemid

The integer id of the item that should be deleted.

list

The name of the list containing the item that should be deleted.

query

Specifies a query to use to find the item to delete.

site

The URL of the site containing the item that should be deleted.

Example 1
This example deletes the record named 'Jack' from the column 'ename', which is located in a document library called ‘Doclib’.

  • Site- http://svtest/docsite
  • List- Doclib
  • Query – ename ==’Jack’

Example 2
This example deletes the record based on ItemId from the document library ‘Doclib’.

  • Site- http://svtest/docsite
  • List- Doclib
  • ItemId – 4

Example 3
This example deletes the record(s) from the document library 'Doclib' based on the value in a form field.

  • Site- http://svtest/docsite
  • List- Doclib
  • Query- Title==[//my:queryField]

Note: Spaces are not allowed in a field name. If you need to use spaces in a field name, then add square brackets around the field name like this: [Field Name]