IBM Support

Delete icon missing from context menu on Cognos Analytics home perspective

Troubleshooting


Problem

When on the Cognos Analytics home perspective (perspective=home), the "Delete" option is missing from the context menu on objects (eg folders, reports, etc). On other perspectives such as classicviewer, dashboard, etc, the Delete option is still present.

Cause

This is caused by uploading the SampleExtensionsAll.zip as an extension in Manage -> Customization -> Extensions. This extension also hides the DELETE option as per the extension's spec.json file:
"perspective": "home",
        "comment": "This code will apply only to the HOME perspective.",
        "features": [{
            "id": "sample.homePerspective.excludeItems",
            "excludeItems":["com.ibm.bi.share.notifications", "com.ibm.bi.contentApps.deleteAction.DeleteAction"],
            "comment": "Above, EXCLUDEITEMS will remove the Notifications button from the Nav Bar of the HOME perspective.",
            "comment": "EXCLUDEITEMS will also remove the menu item for Delete from all of the objects in the HOME perspective.",
            "comment": "EXCLUDEITEMS must be applied at the individual perspective level. It can not be used globally via the COMMON perspective."

Resolving The Problem

To resolve this issue, either remove the SampleExtensionsAll from the environment by deleting the extension, or modify the spec.json to remove the "com.ibm.bi.contentApps.deleteAction.DeleteAction" portion and reupload it.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 September 2019

UID

ibm11072978