how to use client script and ui policy on service portal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2017 04:23 AM
I have catalog item named asset relocation
this catalog item is used to relocate the asset from one location to other. in this cat item when u select any item it will automatically populates its current location in current location field. for this I hv used reference variable "curr_location" and ui policy to find the location from location table
I want this to work in service portal. but in service portal it is not auto populating the current location of item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2017 11:22 AM
You may want to view my getReferenceAdvanced solution documented on the Community and code in Share:
getReferenceAdvanced, g_form.getReference and GlideAjax Alternatives
This will work for both desktop and the Service Portal. As the blog article describes you will need 2 separate client scripts for the getReferenceAdvancedDesktop and getReferenceAdvancedPortal functions.