- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2017 08:54 AM
When adding a widget to a Service Portal page (in other words, creating a widget instance), there is a field called "Additional options, JSON format". Could someone point me in the direction of documentation for what options/attributes are available to be configured in this field?
I'm specifically looking to enable a dynamic filter for the 'Data Table from Instance Definition' widget, but a complete list of options would be even better.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2017 09:10 AM
Hi Fred
First of all you need to check the widget named 'Data Table' (ID: widget-data-table)
As visible at line 50 of the server script
data.dataTableWidget = $sp.getWidget('widget-data-table', widgetParams);
If you check on the other widget, the list of options is available on client controller script
The options are set through the object named "widgetParams" set on 'Data Table from Instance Definition'
I hope this will help/answer your question and if it does please mark it
Cheers
R0b0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2017 09:10 AM
Hi Fred
First of all you need to check the widget named 'Data Table' (ID: widget-data-table)
As visible at line 50 of the server script
data.dataTableWidget = $sp.getWidget('widget-data-table', widgetParams);
If you check on the other widget, the list of options is available on client controller script
The options are set through the object named "widgetParams" set on 'Data Table from Instance Definition'
I hope this will help/answer your question and if it does please mark it
Cheers
R0b0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2017 10:00 AM
Thank you!