MicroStrategy ONE

Alter Attribute Form Expression statement

Modifies an expression mapping mode in an attribute form for a given attribute within a project.

Copy
ALTER ATTRIBUTEFORMEXPexpression[OVERWRITE] [LOOKUPTABLElookup_table] [MAPPINGMODE (AUTOMATIC | MANUAL)] EXPSOURCETABLESsourcetable1, [,sourcetable2[, ...sourcetableN]]) FOR ATTRIBUTEFORMform_nameFOR ATTRIBUTEattribute_nameIN [FOLDER]location_pathFOR PROJECTproject_name;

where:

  • expression is the expression to be modified in the form, of type string, between double quotes (").

  • lookup_table is the name of the lookup table to be used in the form, of type string, between double quotes (").

  • sourcetableN is the name of the source table to be used in the form, of type string, between double quotes (").

  • form_name is the name of the form to be added, 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
ALTER ATTRIBUTEFORMEXP "ORDER_DATE" MAPPINGMODE 
 EXPSOURCETABLES "ORDER_DETAIL", "ORDER_FACT" FOR ATTRIBUTEFORM 
 "ID" FOR ATTRIBUTE "Day" IN FOLDER "\Schema Objects\Attributes" 
 FOR PROJECT "MicroStrategy Tutorial";