Advance Reference Qualifier to return Description of a Knowledge Base
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 02:27 AM
Hi All,
What should be the correct script to return the description of a knowledge base using ARQ?
Example : If I am selecting a KB as shown then the current description should automatically pull up the description
I have tried achieving it like this for current description field but it isn't working:::
javascript: 'description=' + current.variables.knowledge_base_kbdmr.description
( knowledge_base_kbdmr is the variable name for "Knowledge Base" variable )
Can someone please help?
Regards
Saurabh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 02:46 AM
Hi,
What is the type of your variable 'Description'? I believe it should be Single Line text (or Multiline text).
If you want to auto populate it based on the selection of Knowledge base then you can use auto populate functionality.
If you are not using Utah or Vancouver version then you need to use GlideAjax/g_form.getReference method in onChange client script.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 03:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2023 03:23 AM
Description variable should be of type Single line text, why it is created as reference?
Reference field will always show the display value of reference record selected in same field, not from other field.
Thanks
Anil Lande
