removeField


Purpose

Removes a key, together with its corresponding value, from the selected account data scope (either public or private).

Signature

removeField( scope, key, callback )

Returns

This method does not return anything.

Parameters

Name Description Type Use
scope Specifies whether the data lays within the public or private scope of the account. string required 
key Identifies the exact data item that is removed by the removeField operation. string required 
callback Passed while sending a reply to the request referring to a field. object required

Note

Please refer the setField article for detailed information on the callback, its structure and methods.

Related topics

Public API reference
AccountManager
Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...