deleteItem


Purpose

Deletes a specific item selected by specifying its type and handle.

Signature

deleteItem( type, handle, onSuccess, onFailure )

Returns

This method does not return anything.

Parameters

Name Description Type Use
type The type of data to be deleted. string required
handle The handle of data to be deleted. string required
onSuccess A callback function, called after the data item is successfully deleted. function required
onFailure A callback function, called when the operation fails. Returns an error code, as defined in the Constants table in the Client Store article, and an error message. function required

Related topics

Client Store
Legal notice | Copyright © 2018 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...