How to get value from g:ui_reference and pass to script include parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 03:14 AM
Hello Team,
I have a requirement to show all level child categories of selected knowledge base from the UI page.
There is a script include to show all child categories. But now I need to pass the Knowledge base selected in the UI page to load the child list.
Could anyone tell how to pass g:ui_reference value to script include parameter which is called in another g:ui_reference?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2024 09:00 AM
Hi @Dhanakoddi2,
Glad to see that my solution or knowledge helped you in some context.
But in order to achieve this completely, I need to have a look and need more details on fields and tables and some screenshots will be useful, if possible to look into it further and provide the complete solution.
If you find this information/knowledge/solution helpful, Please don't forget to mark my solution and reply as helpful and accepted.
Thanks 🙂
Aakash Garg
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2024 12:40 AM
Hello Aakash,
Thanks for helping me on this.
Please see the details below.
Knowledge Category Form and it's levels.
Table:
Knowledge Category[kb_category]
Fields:
Label [label] - String field. Need to show in the list.
Parent ID[parent_id] - Document Field
Please let me know if you need any other details.