Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

custom Field not hiding in agent workspace but hiding in backened view of workspace

MOHIT BHAMBRI
Tera Contributor

Hello ,

 

Their is one custom Mandatory field created as (u_subcategory) and i have applied a onLoad Client Script to be hidden for a specific condition , And i have checked in backend view of workspace it's hiding ,but if i am opening the same in agent workspace and checking it, it's showing the field.

 

@Ankur Bawiskar @Chuck Tomasi If you could help please..

Agent Workspace--(Still visible on agent workspace)

MOHITBHAMBRI_0-1684812936541.png

Workspace View from native--(Hiding it from here)

MOHITBHAMBRI_2-1684813414743.png

Client Script--

MOHITBHAMBRI_3-1684813443894.png

 

6 REPLIES 6

@MOHIT BHAMBRI 

can you check if this onLoad itself is running in workspace view or not?

directly add alert at the beginning

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

Hi @Ankur Bawiskar ,

 

I have checked it's running in the workspace view but the UI Policy Action or if i talk about in setVisible() that i used to make it visible false is not running.

 

And i have check all the UI Policy or Client script if, their could be any clash for the same .But haven't found such.

 

Best Regards

Mohit