updateContainerItem(containerInfo)
Updates the information within an item in the container.
Returns
A Promise associated with the action.
Parameters
Name | Type | Description | Required |
containerInfo | object | The JSON object containing information about the context, target,
container item ID, and any semantic URL associated with the context of the
container. You can specify additional information such as the targeted
region in the container ( | ✅ |
Usage example
In this example, the API updates the information within an item in the container.
const containerManager = getPConnect().getContainerManager();
containerManager.updateContainerItem({
semanticURL: "RequestApprovals/REQ-1",
caseViewMode: "review",
target:"app/primary_0/workarea",
containerItemID:"app/primary_0/workarea_0",
context:"app/primary_0",
});
Previous topic resetContainers(containerInfo) Next topic updateTransientData(transientObject)