- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:30 PM
HI All,
I have integration between servicenow and 3rd party application. Evertything is working fine, all the data flows correctly in ServiceNow but i have a small issue. there is a field on form i.e. field A, it should be hidden when field B has a value 'abc'.
I tried with catalog script but it is not working. I tired with UI Policy as well but no luck.
It is working fine when we raise the request manually in ServiceNow.
Any lead please!!
Regards,
Shivani
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 11:38 PM
Hi All,
Thanks for your replies. I re created my client script and it is working now.
Thanks,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:38 PM
Have you tried onLoad script.
You want to hide it from list view, form view or both?
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2022 11:55 PM
Hi Anshu,
Ye I tried onload script as well. I want to hide it from the form.
Rgds,
Shivani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 12:33 AM
I just created a demo API request to fill up some fields, set a UI policy , when "source" field is abc, title field visible=false.
It works when i open the record and form loads
When abc
When not abc
On form load, it works as i am not able to see the title field.
UI policy and onload script will work , when form is loaded manually.
I cannot understand which view you are mentioning.
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 01:22 AM
Hi,
is it a field or variable?
What script you tried? please share that
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader