clearItems


Purpose

Clears all items in local storage if data synchronization is not working.

Signature

clearItems( onSuccess, onFailure )

Returns

This method does not return anything.

Parameters

Name Description Type Use
onSuccess A callback function, called after items are successfully removed. function required
onFailure A callback function, called when the client's database 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...