getComponentState(key)
Obtains the state of a specified UI component.
Returns
The state of the UI component as a JSON object.
Parameters
Name | Type | Description | Required |
key | string | The ID of the UI component whose state must be obtained. | ✅ |
Usage example
In this example, the API obtains the state of the UI component whose key is
on8ttl-c11ngall-work-d-2001-caseview
.
PCore.getComponentsRegistry().getComponentState("on8ttl-c11ngall-work-d-2001-caseview");
Previous topic APIs in the NavigationUtils class Next topic setComponentState(key, object)