Make the filter disable or read only or fixed

mukesharora
Mega Contributor

I want to make the filter which I have applied using script include read only or fixed so that user can't change it. How should I do using scripts?I used the parameter sysparm_fixed_query to active = true but it doesn't get applied. Could some one answer this or has done it before using scripts?

10 REPLIES 10

BALAJI40
Mega Sage

You can omit the filter using list layout of the table.



configure on list > list layout


check the check box of omit filter



If you do like that, the filter will not shown to you.


I want that filter to show when some one searches the records but user should not be able to modify the filter which I have applied. For eg if I applied Operational Status is Operational in CIs, this should filter should be disabled. I don't want to hide it.


vinothkumar
Tera Guru

Hi Mukesh,



Open the list layout of the table and right click configure and select List control and select Omit Filter.




find_real_file.png



find_real_file.png


That will hide the filter and I want that filter to show when some one searches the records but user should not be able to modify the filter which I have applied. For eg if I applied Operational Status is Operational in CIs, this should filter should be disabled using scripts. I don't want to hide it.