clearTransientData(transientItemID)
Deletes the data stored in a transient item.
Returns
Not applicable.
Parameters
Name | Type | Description | Required |
transientItemID | string | The ID of the transient item containing the data to be deleted. | ✅ |
Usage example
In this example, consider the value of the data in the transient item to be
{Name: 'James Bond', department: {id: '007', type: 'agent'}}
.
After the clearTransientData API is called, the data stored in the transient item is
{Name: '', department: {id: '', type: ''}}
.
PCore.getContainerUtils().clearTransientData('app/primary_1/workarea_1/transientItem_1');
Previous topic isContainerItemExists(target, key, callback) Next topic closeContainerItem(containerItemID, options)