Custom Field Visibility Based on Priority Not Working in ServiceNow Workspace

Rakesh_76
Mega Contributor

Hello,

 

We have created custom field on incident table, and we need to show that custom field only when priority is high or critical. Which I am able to achieve Successfully using onchange client script which I am using as onload as well, But it's working only native UI not on SOW workspace , Can some one let me know why it's not working working on SOW workspace same way like native UI.

 

 

thank you in Advance.

1 ACCEPTED SOLUTION

Sunny3008
Tera Guru

Hello @Rakesh_76 ,

 

To make sure client script work on workspace also you need to select UI Type as "ALL" in client script, If UI type is selected as desktop then it will work only on native UI not on workspace pages, Because workspace pages are treated as portal UI.

 

Please mark this as the correct answer and helpful if it is resolved, or mark this helpful if this helps you to reach towards solution.

 

Thanks,

Sunny R

View solution in original post

1 REPLY 1

Sunny3008
Tera Guru

Hello @Rakesh_76 ,

 

To make sure client script work on workspace also you need to select UI Type as "ALL" in client script, If UI type is selected as desktop then it will work only on native UI not on workspace pages, Because workspace pages are treated as portal UI.

 

Please mark this as the correct answer and helpful if it is resolved, or mark this helpful if this helps you to reach towards solution.

 

Thanks,

Sunny R