getStoreValue(propReference, pageReference, context)
Obtains the value of a property from the Redux Store.
Returns
The value of the property.
Parameters
Name | Type | Description | Required |
propReference | string | The name of the property whose value is returned from the Redux Store. | ✅ |
pageReference | string | The name of the page where the propReference is
located. | ✅ |
context | string | The name of the context where the pageReference is
located. | ✅ |
Usage example
In this example, the API returns the value of the firstName
property
from the Redux Store.
const value = PCore.getStoreValue('.firstName', 'caseInfo.content', 'app/primary_1');
Previous topic getStore() Next topic getTagUtils()