MicroStrategy ONE

Alter Document statement

Modifies the properties for a document in a given project.

Copy
ALTER DOCUMENTdocument_nameIN FOLDERlocation_path[ENABLECACHE 
 (FALSE | DEFAULT | (PDF | HTML | EXCEL | XML))] [NAMEnew_document_name] [DESCRIPTIONnew_desc] [LONGDESCRIPTIONnew_long_description] [FOLDERnew_location_path] [HIDDEN (TRUE 
 | FALSE)] [(ALLSCHEDULES | NONSCHEDULABLE | SCHEDULES schedule1 
 [ .. scheduleN])] FOR PROJECTproject_name;

where:

  • document_name is the name of the document for which properties are to be modified, of type string, between double quotes (" ").

  • location_path is the folder where the document object is located, of type string, between double quotes (" ").

  • new_document_name is the new name of the document, of type string, between double quotes (").

  • new_desc is the new description of the document, of type string, between double quotes (").

  • new_long_description is the new long description of the document, of type string, between double quotes (").

  • new_location_path is the new folder where the document is located, of type string, between double quotes (").

  • schedule1..N are the schedules that the document can be subscribed to, of type string, between double quotes (" ").

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

Example

Copy
ALTER DOCUMENT 'Profit Forecast' IN FOLDER '\Public 
 Objects' ENABLECACHE FALSE FOR PROJECT 'MicroStrategy Tutorial';