How to add fixed query param to Service Portal widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019 03:15 AM
Hello,
I used OOTB widget called "Data Table from Instance Definition" with proper filter in this case Assigned to = DYNAMIC ME
I want to block this filter. Unnecessary when I use sysparn_fixed_query it doesn't work 😞 Someone faced with such problem and maybe already solved it?
Best and thanks for your time,
Artur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2019 05:37 AM
You can do that in widget instance by providing query parameter in JSON format in the additional information field.
You will have to find the exact query parameter by looking what options the widgets you are using have. Some widgets have widgets embedded into them.
For example:
{
"query": {
"displayValue": 'active=true',
"value": 'active=true'
},
"enable_filter": {
"displayValue": false,
"value": false
},
}
will add active=true query and will disable option to see the filter