addContainerItem(containerInfo)
Adds an item to a container.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
containerInfo | object | The JSON object containing information about the semantic URL
associated with the context of the container. You can specify additional
information such as the targeted region in the container
( Example:
| ✅ |
Usage example
In this example, the API adds an item to a Container.
const containerManager = getPConnect().getContainerManager();
containerManager.addContainerItem({
context: 'app/primary_1',
semanticURL: "RequestApprovals/REQ-1",
showList: true
});
Previous topic activateContainerItem(containerInfo) Next topic addTransientItem(containerInfo)