- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 02:08 AM
Dear ServiceNow Developers,
I’m seeking advice from more experienced colleagues.
Assuming this data structure:
incident -> configuration item -> install base item -> install base m2m installed product -> sold product
I have the following scenario:
In the incident form, display the “sold_product.availability” field value as read-only.
Would you prefer to get the value via a Client Script on incident form load, or would you prefer another, less performance-impacting method?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 06:18 AM - edited 11-06-2024 06:23 AM
Seems you are exceeding the dot-walking level limit. However, documentation is light on that aspect
Create a script include to retrieve and return the value. GlideAjax is used by client scripts to access data from the server. Many examples of this in your instance. Or you can try:
in the client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 06:18 AM - edited 11-06-2024 06:23 AM
Seems you are exceeding the dot-walking level limit. However, documentation is light on that aspect
Create a script include to retrieve and return the value. GlideAjax is used by client scripts to access data from the server. Many examples of this in your instance. Or you can try:
in the client script.