...
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 | ||||
---|---|---|---|---|
| ||||
regionCheck = { name: "regionCheck", type: "check", solution: "dashboards", path: "sample_dashboard_components", action: "regions.xaction", parameters:\[\], parameter:"region", htmlObject: "object_check", executeAtStart: true, preExecution:function(){}, postExecution:function(){} } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
dateInput = { name: "dateInput", type: "dateInput", parameter:"dateStart", htmlObject: "object_dateInput", executeAtStart: true, preExecution:function(){}, postExecution:function(){} } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
regionRadio = { name: "regionRadio", type: "radio", solution: "dashboards", path: "sample_dashboard_components", action: "regions.xaction", parameters:\[\], parameter:"region", htmlObject: "object_radio", executeAtStart: true, preExecution:function(){}, postExecution:function(){} } |
...