closeContainerItem(containerItemID, options)
Closes a container item.
Returns
A promise containing the order in which the remaining container items were accessed.
Parameters
Name | Type | Description | Required |
containerItemID | string | The container item that must be closed. | ✅ |
options | object | The object containing additional information required to close the
container item. For example, the
| ❌ |
Usage example
In this example, the API closes the container item with the ID
app/primary_4
. The confirm dialog box is not displayed.
PCore.getContainerUtils().closeContainerItem("app/primary_4",{skipDirtyCheck:true});
Previous topic clearTransientData(transientItemID) Next topic isContainerDirty(containerItemID)