The CreatorCon Call for Content is officially open! Get started here.

How to show embedded list when choice field selected

JordanDR
Tera Contributor

I want to put on the "Affected Assets" embedded list onto one of my forms. Usually i use a UI policy action to determine the behavior when a field is changed but since its an embedded list it doesn't show as a field on the form. How can I show the embedded list when specifically my "u_item" field is Zebra EC50 Handheld, and hide it whenever its not?

JordanDR_0-1712163254213.png

 



1 REPLY 1

Sandeep Rajput
Tera Patron
Tera Patron

@JordanDR You can't show/hide embedded list directly on the form via client script. However, you can add the embedded list to a section on the form and show/hide the section using the client script. Similar approach has been suggested here https://www.servicenow.com/community/developer-forum/how-to-hide-an-embedded-list-using-a-client-scr...

 

Hope this helps.