How to HIDE/readonly slushbucket filter?

Harshad Wagh
Tera Guru

Hi All,

I am opening a slush bucket using below script in UI actions and passing a query to filter the values.

uri.set('sysparm_query', query);


action.setRedirectURL(uri.toString('sys_m2m_template.do'));

I there any wayu to nmake the filter readonly/hide as users can edit the filter and change the values?

 

find_real_file.png

 

Thanks

Harshad

1 ACCEPTED SOLUTION

HI,

I found a way to do this.

 

uri.set('jvar_no_filter', 'true');

 

Thanks

Harshad

View solution in original post

4 REPLIES 4

palmen
Tera Guru

There is a previous thread with same question, maybe you can find some information there

https://community.servicenow.com/community?id=community_question&sys_id=628253a1db101fc01dcaf3231f96...

Hi,

Thank you for your reply.

 

I did look at it but that didn't actually help me to achieve the requirement.

 

any other options?

Thanks

Harshad

 

HI,

I found a way to do this.

 

uri.set('jvar_no_filter', 'true');

 

Thanks

Harshad

hi Harshad, 

i would appreciate if you could give some more steps on how to do this.

where do i add the mentioned code (in the list control? where?)?

regards,

Max