getActiveContainerItemContext(target)
Obtains the context of the active container item within a specific container.
Returns
The context of the container item as a string.
Parameters
Name | Type | Description | Required |
target | string | Target container containing the active container item. | ✅ |
Usage example
In this example, the API obtains the context of the active container item under the
app/primary
container.
PCore.getContainerUtils().getActiveContainerItemContext('app/primary_1/workarea');
Previous topic areContainerItemsPresent(target) Next topic getActiveContainerItemName(target)