getPageReference()
Obtains the data reference path of the store that contains the data value of the current component.
Returns
The data reference path as a string.
Parameters
This API does not have parameters.
Usage example
- When a portal is loaded at the app level, the value of
pageReference
ispyPortal
. - When a single component (such as FirstName, LastName, etc) is loaded, the value
of
pageReference
iscaseInfo.content
. - When embedded components under embedded view (such as ZipCode, StreetName, etc.,
that are under the Address view) are loaded, the value of
pageReference
iscaseInfo.content.Address
.
Previous topic getLocalizedValue(rawString, localePath, localeRuleKey) Next topic getRawMetadata()