getItemTypes


Purpose

Retrieves a list of item types for currently stored data items.

Item types are freely defined data item categories, presented as string values. They are used in correlation with data handles to identify individual data items.

Signature

getItemTypes( onSuccess, onFailure )

Returns

This method does not return anything.

Parameters

Name Description Type Use
onSuccess A callback function, which passes the types JSON object containing item types for data stored in the replicated storage. An empty list is returned if no items are found. function required
onFailure A callback function, called when item types cannot be listed. Passes an error code, as defined in the Constants table in the Client Store article. function required

Related topics

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