How to hide "Options" on the catalog form.

pdisrilatha
Tera Contributor

How to hide "Options" on the catalog form when we select 2 fields with type "check boxes" with order one by one.

pdisrilatha_0-1727781526570.png

 

1 ACCEPTED SOLUTION

Sandeep Rajput
Tera Patron
Tera Patron

@pdisrilatha Try to put these checkboxes in different containers and the options text will not appear. If the checkboxes belong in the same container then render engine tries to group them together and adds a label to this group. Best way to avoid this is to put the checkboxes in separate containers, this way grouping won't take place and the text won't show.

View solution in original post

9 REPLIES 9

Hi @Barath P , I am not creating a variable like options.
here I am creating 2 fields with type checkbox then Onces we are checking on the form it is showing like above image.so we need to hide or delete "Options" on the form. these are fields in backend

pdisrilatha_0-1727782765386.png

 

 

Sandeep Rajput
Tera Patron
Tera Patron

@pdisrilatha Try to put these checkboxes in different containers and the options text will not appear. If the checkboxes belong in the same container then render engine tries to group them together and adds a label to this group. Best way to avoid this is to put the checkboxes in separate containers, this way grouping won't take place and the text won't show.

Hi @Sandeep Rajput , you helped me to solve the issue so quickly. Need one more help in Additional comment field should be read only when state is resolved in portal by using ACL we can achieve this. there are few ACL's existing on this, so we need to modify existing one first and can you help me on that. 

@pdisrilatha You need to create a write ACL on Additional comment field which will grant the write access of the state is not resolved. Add the required role to it.

 

For existing ACLs, use Access Analyzer https://docs.servicenow.com/bundle/xanadu-platform-security/page/integrate/identity/concept/explore-... to check which existing ACLs are granting write access on Additional comment field when the state is resolved, once identified you can modify these ACLs to prevent them from allowing write access when the state is resolved.

 

Hope this helps.

Barath P
Tera Guru

Hi @pdisrilatha 
You can create variable of type "Break " and order of this variable should be in between checkbox and other field. I usually name it is as a "formatter". Then create UI policy and hide it.

Screenshot 2024-10-01 172421.png

Screenshot 2024-10-01 172504.png

Screenshot 2024-10-01 172518.png

"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"

 

Thanks & Regards,

Barath.P