We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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

It wont possible, the only simple option is with "omit filer" concept only. In this also you can see the filter to certain roles people.


same way in the list control> select the filter roles > select the roles it will omit the filter for those roles and remaining people can access the filter.


Thanks balaji.


So the requirement is to filter out decomissioned CIs when users add CIs from Affedcted CIs using Add button in change request. I have modified the AssociateCItoTask to filter out the decommissioned CIs. But when users would click on ADD to add Affected CIs, users may change the filter which gets applied automatically. So is there any other way I can make that filter read only or achieve my task?


Hi Mukesh,



I thing it would be possible using DOM manipulation . Making the Filter conditions Read only However I have not worked with DOM manipulation. May be it would be helpful


Gurpreet07
Mega Sage

Hi Mukesh,



Can you please share the link how you have applied sysparm_fixed_query


Which link?