InvisibleParam(ParamId: String): Boolean;
ParamId. Parameter identifier.
The InvisibleParam property determines whether the cube parameter identifier of which is passed by the ParamId parameter, can be edited in the express report.
Parameter is unavailable if this property is set to True.
Sub Main;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
InvizDim: IEaxInvisibleDimensions;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
If Expr.IsParameterized Then
Expr.InvisibleParam(Expr.ParamValues.Item(0).Id) := True;
End If;
MObj.Save;
End Sub Main;
After executing the example, if the regular report data source is parameterized, the first parameter cannot be edited in the express report.
See also: