How to hide the checkbox variables in Ritm when they are unchecked and show only checked variables

Karthik Reddy11
Tera Contributor

How to hide the checkbox variables in Ritm when they are unchecked and show only checked variables

 

find_real_file.png

It is showing all variables 

can i know which catalog client script i should use

1 ACCEPTED SOLUTION

@Karthik Reddy 

Okay then in that case first revert the changes which I suggested above and make your Line number 10 look like below:

 <div ng-if="variable.type !='7' || (variable.type =='7' && variable.display_value!='false')">

Now for your new requirement, update line number 25 as below:

 <span ng-if="variable.type !='7'" ng-switch-default class="pre-wrap">{{::variable.display_value}}</span>

This is working as you need.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

21 REPLIES 21

@Karthik Reddy 

Okay then in that case first revert the changes which I suggested above and make your Line number 10 look like below:

 <div ng-if="variable.type !='7' || (variable.type =='7' && variable.display_value!='false')">

Now for your new requirement, update line number 25 as below:

 <span ng-if="variable.type !='7'" ng-switch-default class="pre-wrap">{{::variable.display_value}}</span>

This is working as you need.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hi,

Use this article. It will help you for removing blank check form portal.

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

Thanks,

Sumit