Skip Navigation
Expand
Remove configuration elements from Review Package page in Element Manager
Answer ID 12584   |   Last Review Date 03/09/2023

How do I remove unwanted or elements with error without navigating to previous page in Element Manager?

Environment: Browser User Interface (BUI), Element Manager

Resolution:

Currently Element Manager does not allow any modification to the elements in the ‘Review Package’ page. If there is an element with error or an unwanted element is added to the package, the admins have to navigate to the ‘Search and Confirm Elements’ to remove those elements. After removal and when the admins click ‘Continue’ the dependencies of all the elements chosen are recalculated and causes delay in creating the package.

Element Manager now allows admins to remove elements from the ‘Review Package’ page. A new column ‘Selection’ is added and provides the ability to unselect (remove) the elements with error or unwanted elements. Once the admins ‘Apply Changes’ the unselected elements and its dependent elements are removed from the list of the elements. A redundant dependency check of all the elements is not performed, thus saving time.

The same capability is available via Element Manager REST APIs. The POST operation to create a package should have the attribute isExcludeItemsRequest to true and should pass the list of element ids and type of the element to be removed from the package to the attribute excludedItems.

Click the plus sign  to expand example.

Request Headers:
{
"USERSESSION": "{{USERSESSION-Token}}",
"API_VERSION": "1",
                    "Content-Type": "application/json"
}
 
Request Body:
{
  "id": "{{export id}}",
  "isExcludeItemsRequest": true,
  "excludedItems": [
    {
      "id": 12001,
      "type": "Workspace"
    }
  ]
}
 
Response Body:
{
  "description": "Package preparation in progress",
  "id": 100008,
  "name": "Export demo",
  "href": "https://mysite.example.com/AgentWeb/api/elementmanager/export/EMPackages/100008"
}

 

Additional Information:

Answer ID 11002: Element Manager current capabilities