Service Portal Widget "Additional Options"

fredflintstone
Kilo Expert

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.

1 ACCEPTED SOLUTION

Ivano B
ServiceNow Employee
ServiceNow Employee

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


A.png



The options are set through the object named "widgetParams" set on 'Data Table from Instance Definition'


B.png



I hope this will help/answer your question and if it does please mark it



Cheers


R0b0


View solution in original post

2 REPLIES 2

Ivano B
ServiceNow Employee
ServiceNow Employee

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


A.png



The options are set through the object named "widgetParams" set on 'Data Table from Instance Definition'


B.png



I hope this will help/answer your question and if it does please mark it



Cheers


R0b0


Thank you!