- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 08:10 AM
How to hide the checkbox variables in Ritm when they are unchecked and show only checked variables
It is showing all variables
can i know which catalog client script i should use
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2022 05:36 AM
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
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 08:14 AM
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.
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 08:24 AM
can you give example how to write UI Policies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2022 08:55 AM
Hi,
Please refer below steps. Create the UI Policy with below option
create the script using below option
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,
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2022 01:21 AM
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.
Suresh.