Hitachi Vantara Pentaho Community Wiki
Child pages
  • Components

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Description

Default value (must be present)

Type

Required for

name

Name of the component

 

String

all

type

Type of the component

 

String

all

solution

Solution of the xaction

 

String

 

path

Path to the yaction within the solution 

 

String

 

action

Name of the xaction to be executed

 

String

 

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="8c8ebb1db9c332d2-9d49e064-4cec4748-8eda8ce4-d3dcf85a5953aadb4c1a5ac6"><ac:plain-text-body><![CDATA[

listeners

A change in on of this variables triggers a refresh of the component

[]

Array of Strings

 

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="6d2128535ed68178-917bc3ec-464c40d6-a443be91-44259baf6dd63bf756b52836"><ac:plain-text-body><![CDATA[

parameters

Parameters to execute the xaction

[]

Array of String arrays

 

]]></ac:plain-text-body></ac:structured-macro>

parameter

The dashboard variable that gets set by this component

 

String

 

htmlObject

The id of the html tag that display this component (usually a <div>)

 

String

all

expression

Function to return a parametrized String

function(){};

 

text

executeAtStart

Should the component be executed when the dashboard is loaded? (true or false)

function(){};

boolean

all

preExecution

This Javascript function will be executed before the components executes

 

function

all

postExecution

This Javascript function will be executed after the components executes

 

function

all

...

Code Block
JavaScript
JavaScript
regionCheck =

{

&nbsp; name: "regionCheck",

&nbsp; type: "check",

&nbsp; solution: "dashboards",

&nbsp; path: "sample_dashboard_components",

&nbsp; action: "regions.xaction",

&nbsp; parameters:\[\],

&nbsp; parameter:"region",

&nbsp; htmlObject: "object_check",

&nbsp; executeAtStart: true,

&nbsp; preExecution:function(){},

&nbsp; postExecution:function(){}

}

...

Code Block
JavaScript
JavaScript
dateInput =

{

&nbsp; name: "dateInput",

&nbsp; type: "dateInput",

&nbsp; parameter:"dateStart",

&nbsp; htmlObject: "object_dateInput",

&nbsp; executeAtStart: true,

&nbsp; preExecution:function(){},

&nbsp; postExecution:function(){}

}

...

Code Block
JavaScript
JavaScript
regionRadio =

{

&nbsp; name: "regionRadio",

&nbsp; type: "radio",

&nbsp; solution: "dashboards",

&nbsp; path: "sample_dashboard_components",

&nbsp; action: "regions.xaction",

&nbsp; parameters:\[\],

&nbsp; parameter:"region",

&nbsp; htmlObject: "object_radio",

&nbsp; executeAtStart: true,

&nbsp; preExecution:function(){},

&nbsp; postExecution:function(){}

}

...