We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

UI Policy, does Visible work with Dotwalked fields?

tahnalos
Kilo Sage

I have a UI policy running with these following actions:

 

tahnalos_1-1782325134609.png

You'll notice that the field names are dot walked fields and we are trying to render them invisible in a specific scenario.  Except that we cannot.  We can render them read-only, but not invisible.

 

Is it possible that setting visible = false is not possible for dotwalked fields?

 

5 REPLIES 5

Aanchal Agarwa1
Tera Contributor

Hey @tahnalos ,

Please check your UI Policy scope is same as target table scope.

Thanks

Did that.  Cannot render invisible dotwalked fields.

try client script and use g_form.setDisplay('complete field name')

Ankur Bawiskar
Tera Patron

@tahnalos 

try with onChange client script and see if that works

Example: g_form.setValue('complete field name')

šŸ’” If my response helped, please mark it as correct āœ… and close the thread šŸ”’ā€” this helps future readers find the solution faster! šŸ™

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 10x ServiceNow MVP  ||  ✨ ServiceNow Community Leader