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

ersureshbe
Giga Sage
Giga Sage

Hi, 

The above screenshot shows UI Policies restricting to change the variable value in the form.

You can use the same logic to hide the unselected variables. Use UI Policy and disable other choice which are non selected.

Please mark as correct answer if it helped.

Regards,

Suresh.

Regards,
Suresh.

can you give example how to write UI Policies 

Hi,

Please refer below steps. Create the UI Policy with below option

find_real_file.png

create the script using below option

 

find_real_file.png

I tested with 2 sample field. You use the same logic and implement in your instance

Please mark as correct answer if it helped.

Regards,

Suresh,

Regards,
Suresh.

Hi Karthik,

Is the above solution not helping to get the output? 

if it is used for the solution can you please mark it as the correct answer and help to close the thread. 

Regards,

Suresh.

Regards,
Suresh.