getDataContextName(containerItemName)
Obtains the name of the data context for a specific container item.
Returns
The name of the data context as a string.
Parameters
Name | Type | Description | Required |
containerItemName | string | The name of the container item containing the data context. | ✅ |
Usage example
In this example, the API obtains the name of the data context for the container item
with the name app/primary
.
PCore.getContainerUtils().getDataContextName('app/primary_3');
Previous topic getContainerType(context, name) Next topic isContainerInitialized(context, name)