The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How to add fixed query param to Service Portal widget

Artur ___kiewsk
Kilo Contributor

Hello,

I used OOTB widget called "Data Table from Instance Definition" with proper filter in this case Assigned to = DYNAMIC ME

find_real_file.pngI 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? 

find_real_file.png

Best and thanks for your time,

Artur

1 REPLY 1

Aleksas Kucins1
Giga Expert

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

 

find_real_file.png