/
Contextual Action from Analytics Chart
Contextual Action from Analytics Chart
Available since version Paper Plane 11.0.
This example shows how to create a button on a chart in Analytics > Data Analyzer, which will result in creation of a new Action Item with a given Action Item Type, and with provided values.
In Advanced Configuration Options, add a new application property:
The name must start with prefix “pfxContextualAction_”, for example “pfxContextualAction_PAAction”.
The property has the following JSON value:
{
"name": "create_simple_action_from_PA",
"labelTranslations": {
"": "Create Action"
},
"page": "dataAnalyzerPage",
"order": 2,
"conditionToShow": "{typedId} != null",
"contextLinking": {
"targetPage": "newActionPage",
"targetPageTarget": "new",
"targetPageEntityType": "__DEFAULT__",
"targetPageInputs": {
"sourceContext" : {
"queryBuilderState": "{queryBuilderState}"
}
},
"targetPageFields":{
"originatorTypedId": "{chartTypedId}",
"summary": "{chartType}-{chartLabel}-action",
"description": "This action was created from PA Chart {chartType}-{chartLabel}"
}
}
}
Replacements will be changed when the system creates the button on an actual page in frontend. See also list of available placeholders for dataAnalyzerPage.
For details on the context linking parameters, see Context Linking.
, multiple selections available,
Related content
Contextual Action from Dashboard Chart
Contextual Action from Dashboard Chart
More like this
Contextual Action Button
Contextual Action Button
More like this
Context Linking
Context Linking
Read with this
Create Actions and Watchers with a Data Point from Chart
Create Actions and Watchers with a Data Point from Chart
More like this
BackEndAction Logic
BackEndAction Logic
Read with this
Create Actions/ Watchers from Charts
Create Actions/ Watchers from Charts
More like this
Found an issue in documentation? Write to us.