Class BPMPreference
- java.lang.Object
-
- com.microstrategy.web.blocks.macros.BPMPreference
-
- All Implemented Interfaces:
BlockPropertyMacro
public class BPMPreference extends java.lang.Object implements BlockPropertyMacro
This class implements a Block Property Macro that retrieves the value of a Preference. The first parameter is the name of the preference. The second parameter (if present) is the default text to use if the preference could not be found.- Since:
- MicroStrategy Web 9.0.0
-
-
Constructor Summary
Constructors Constructor Description BPMPreference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
expand(java.lang.String macroArgs, BlockContext bContext)
-
-
-
Method Detail
-
expand
public java.lang.String expand(java.lang.String macroArgs, BlockContext bContext)
- Specified by:
expand
in interfaceBlockPropertyMacro
-
-