- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 03:22 AM
How i reflecting in About this Item (variable). Description of the Monitor 24 when user selected Monitor 24 in Lookup Select Box.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 06:01 AM
Hi @rlameira
Please have a look on my reply on the post https://www.servicenow.com/community/itsm-forum/catalog-item-single-line-text-validation/m-p/2790706...
You can take a reference from there and make the Client Callable Script Include and Catalog Client Script accordingly. Let me know if you face any issues. Will be happy to assist.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 04:06 AM
Hi @rlameira
You can make use of an On-Change Catalog Client Script on the field model to call a Client Callable Script Include which can query the "cmdb_model" table to get the description of the model selected and render it back to the client script. The response collected by the client script could then be set to the field "about this item".
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 05:56 AM
Can you show me a examplo, please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 06:01 AM
Hi @rlameira
Please have a look on my reply on the post https://www.servicenow.com/community/itsm-forum/catalog-item-single-line-text-validation/m-p/2790706...
You can take a reference from there and make the Client Callable Script Include and Catalog Client Script accordingly. Let me know if you face any issues. Will be happy to assist.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2024 04:14 AM
The correct thing to do would be to have separate catalog items for each model, and as an added bonus, you would not have this problem too.
Imagine going to Aliexpress (or Amazon, or eBay, or whatever) and instead of being able to view and order each item separately, you could order just a few items/types/categories and you would have to select the actual item you want to order in a drop-down (of millions of items).