Supported External Dashboard Widget Attributes
The following external dashboard widget attributes are supported:
• string—Can be used for JSON.
• tracker—A single tracker can be selected. The selected project is passed to the 3rd party widget app with the following name: "{trackerFieldName}-projectId".
• trackerList—Multiple trackers can be selected. This generates a project selector for itself. The selected project is passed to the 3rd party widget app with the following name: "{trackerFieldName}-projectId".
• project—A single project can be selected.
• projectList—Multiple projects can be selected.
The values of the attributes are passed to the 3rd party widget app in JSON format.
• The following example shows the JSON configuration that is passed to the 3rd party widget app:
{
"someText": "lorem ipsum dolor",
"trackerId": [
4870
],
"trackerId-projectId": [
4
],
"trackerId2": [
4612
],
"trackerId2-projectId": [
3
]
}
The keys come from the extension configuration JSON, except for the projectIds which are linked to the tracker attributes.