MicroStrategy ONE

Delete Shortcut statement

Deletes a shortcut within a project.

Copy
DELETE SHORTCUT (shortcut_name | GUID shortcut_GUID) IN FOLDERlocation_pathFOR (FOLDER | CONSOLIDATION | DOCUMENT | FILTER | METRIC | PROMPT | REPORT | SEARCH | TEMPLATE | ATTRIBUTE | FACT | FUNCTION | HIERARCHY | TABLE | TRANSFORMATION | DRILLMAP | SECFILTER | AUTOSTYLE | BASEFORMULA | INTELLIGENTCUBE | DERIVEDELEMENT)FOR PROJECTproject_name;

where:

  • shortcut_name is the name of the shortcut to be deleted, of type string, between double quotes (" ")

  • shortcut_guid is the ID of the shortcut to be deleted, of type GUID.

  • location_path is the folder where the shortcut resides, of type string, between double quotes (" ).

  • project_name is the name of the project, of type string, between double quotes (" ").

Example

Copy
DELETE SHORTCUT "DrillMaps" IN FOLDER "\Project 
 Objects" FOR FOLDER "Drill Maps" FOR PROJECT "MicroStrategy 
 Tutorial";