MicroStrategy ONE
Alter Shortcut statement
Modifies an existing shortcut within a project.
Copy
ALTER 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) [NAME new_shortcut_name] [FOLDER new_location_path] [HIDDEN (TRUE | FALSE)] FOR PROJECT project_name;
where:
-
shortcut_name is the name of the shortcut to be modified, of type string, between double quotes (" ")
-
shortcut_guid is the ID of the shortcut to be modified, of type GUID.
-
location_path is the folder where the shortcut resides, of type string, between double quotes (" ").
-
new_shortcut_name is the new name of the shortcut, of type string, between double quotes (" ")
-
new_location_path is the new folder where the shortcut will reside, of type string, between double quotes (" ").
-
project_name is the name of the project, of type string, between double quotes (" ").
Examples
Copy
ALTER
SHORTCUT IN FOLDER "\Project Objects" FOR FOLDER "Drill
Maps" HIDDEN TRUE FOR PROJECT "MicroStrategy Tutorial";
Copy
ALTER
SHORTCUT IN FOLDER "\Public Objects" FOR FOLDER "Drill
Maps" FOLDER "\Project Objects" HIDDEN FALSE FOR PROJECT
"MicroStrategy Tutorial";