What type of variable can be use to populate number+short description which contains in URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 06:28 AM
Hi All,
I have a catalog item which have 3 variables.
If we type any texts in 1st variable, it will search in "kb_knowledge" table which body contains ast variable texts.
I would like to populate the above in a type of variable where it will show numer + short description alongwith URL, where we can click it to redirect the url.
Any suggestion which type variable can be use here, where I can use g_form.setValue(), with a client scriupt......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 07:12 AM
Hello @chandan15
Variable type URL can be used for redirect.
Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.
Regards,
Samaksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2023 03:03 AM
there will be multiple record will appear, so we need that kinda variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2023 07:29 AM
you need to use a Custom type of variable and handle this using widget on portal and using UI macro in native view.
Inside the widget observe the onChange event of the 1st variable and then perform lookup in kb_knowledge table and show the hyperlink
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader