Dynamic clickable Knowledge Articles in Record Producer based on dependent variable selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
I have an HR Record Producer with two dependent choice variables:
- Q1 - Help Area (7 choices)
- Q2 - Details (28 dependent choices based on Q1)
When the user selects a value in Q2, I want to display a box below the field containing 4-5 related Knowledge Articles.
The box should display something like:
Related Knowledge Articles
• KA0012345 - How to Update Bank Details
• KA0015678 - Payroll FAQ
• KA0019876 - Tax Declaration Process
• KA0014321 - Salary Slip Guide
Each KA Number and Title should be clickable, and clicking it should open the Knowledge Article in a new page/tab.
I already created a custom mapping table containing with Q1 ,Q2 ,Country,KA number,KA Title
What I Tried
Option 1 - Custom Variable (Widget)
I created a Custom Variable and added a widget to dynamically display the Knowledge Articles.
Unfortunately, the widget does not render inside the Record Producer in Employee Center/Service Portal. I found that widgets/UI Macros have limitations depending on the portal implementation.
Option 2 - Rich Text Label
Now I'm considering using a Rich Text Label variable and dynamically updating its HTML through a Catalog Client Script or GlideAjax.
I am not sure whether this is the recommended approach or if there is a better OOTB solution.
My Questions
- What is the recommended approach for dynamically displaying multiple clickable Knowledge Articles inside a Record Producer in Employee Center Pro?
- Can a Rich Text Label be updated dynamically using HTML after the user changes the Q2 value?
- Is there any supported OOTB component or widget that can display dynamic Knowledge Article links inside a Record Producer?
Each article should be clickable and open the corresponding Knowledge Article.
The solution must work in Employee Center Pro / Service Portal for a Record Producer.
If anyone has implemented something similar or can suggest the best practice, sample implementation, or architecture, I would really appreciate your guidance.
Thank you!