getDataObject(contextName)
Obtains the data associated with the current context from the Store.
Returns
The data as an object.
Parameters
Name | Type | Description | Required |
contextName | string | The name of the current context whose associated data is obtained. | ✅ |
Usage example
In this example, the API obtains the data associated with the current context from the Store and stores it in the data variable.
const data = pConn.getDataObject();
const { caseInfo, pulse } = data;
Previous topic getCurrentView() Next topic getGoogleMapsAPIKey()