How do I add text to a Request Short description Field via Lists?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 07:12 PM
We are trying to have the short description field populated in list details with the respective service catalog request so users can have more visibility.
Thanks!
- Labels:
-
Service Catalog
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2017 01:58 AM
Hi eddiemorales,
Did you able check the solution which I have provided in my last response? If the provided solution helped you to achieve your requirement, please mark the answer Correct and close the thread.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2017 07:43 AM
Hi Eddie,
Place the below mentioned code in the default value of the catalog item variable and map the field to the short description field on the Request form.
Code: javascript:if (GlideTransaction.get().getRequest()) {var uri = gs.action.getGlideURI();var sys_id=uri.get('sysparm_id');if(!sys_id) sys_id = uri.get('sys_id');var gr = new GlideRecord('sc_cat_item');gr.get(sys_id);gr.name;}
Please refer the screenshot.
Regards,
Sampath.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 11:49 AM
I am sorry for late response. Your post was extremely helpful! Thanks!