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 Denotes the type of data to be deleted. string required
handle Denotes 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. function required

Related topics

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