MicroStrategy ONE

Alter Attribute Form statement

Alters an attribute form within a project.

Copy
ALTER ATTRIBUTEFORMform_name 
 [NAME new_form_name] [FORMDESCnew_form_desc] FORMTYPE (NUMBER | TEXT | DATETIME | DATE | TIME 
 | URL | EMAIL | HTML | PICTURE | BIGDECIMAL | PHONENUMBER) [REPORTSORT 
 (NONE | ASC | DESC)] [BROWSESORT 
 (NONE | ASC | DESC)] [MULTILINGUAL 
 (TRUE | FALSE)]FOR 
 ATTRIBUTEattribute_nameIN [FOLDER]location_pathFOR PROJECTproject_name;

where:

  • form_name is the name of the form to be altered, of type string, between double quotes (").

  • new_form_name is the new name of the form to be altered, of type string, between double quotes (").

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

  • attribute_name is the name of the attribute to which a form is to be added, of type string, between double quotes (").

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

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

This statement can only be executed in a Windows environment.

Example

Copy
ADD 
 ATTRIBUTEFORM "Last Name" FORMDESC "Last Name Form" 
 FORMCATEGORY "DESC" FORMTYPE TEXT SORT DESC EXPRESSION "[CUST_LAST_NAME]" 
 LOOKUPTABLE "LU_CUSTOMER" TO ATTRIBUTE "Customer" 
 IN FOLDER "\Schema Objects\Attributes" FOR PROJECT "MicroStrategy 
 Tutorial";