13.07.2015 Views

Using the DeepSee Dashboard Designer - InterSystems ...

Using the DeepSee Dashboard Designer - InterSystems ...

Using the DeepSee Dashboard Designer - InterSystems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Caché ObjectScript ExpressionsThis expression returns <strong>the</strong> average freight cost per order, for orders sent to <strong>the</strong> USA.A.2.2 $$VAR FunctionTo refer to <strong>the</strong> value of a variable set within <strong>the</strong> same dashboard, use <strong>the</strong> $$VAR function:$$VAR(varname)This function takes <strong>the</strong> following argument:varnameName of a variable used within <strong>the</strong> same dashboard. To set this variable,use <strong>the</strong> Store In Variable option of ano<strong>the</strong>r element in <strong>the</strong> dashboard.A.3 Caché ObjectScript ExpressionsYou can use Caché ObjectScript expressions in multiple places in dashboards:• Within <strong>the</strong> name of a member in a filter expression, as described earlier in this appendix.• As <strong>the</strong> default value for combo boxes, list boxes, and o<strong>the</strong>r data controls.A.4 Caché ObjectScript ScriptsA custom script is one or more Caché ObjectScript statements. You can write custom scripts in <strong>the</strong>following places:• Post-loading scripts for combo boxes, list boxes, and o<strong>the</strong>r data controls.• Post actions associated with dashboard elements.<strong>Using</strong> <strong>the</strong> <strong>DeepSee</strong> <strong>Dashboard</strong> <strong>Designer</strong> 113

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!