- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2018 06:42 AM
I'm trying to add a related list to a knowledge article in kb_view. I've successfully created and added it to the kb_knowledge form, but is there a way to make it show up in the kb_view form?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2018 03:02 PM
@Patrick, kb_view is a UI page used by Knowledge to display the knowledge articles. Your instructions unfortunately don't apply to UI pages.
@txag08, unfortunately this is somewhat complex coding given that the KB articles are displayed using the kb_view UI page and a bunch of embedded UI Macros. kb_view uses the kb_view_common_footer UI Macro which then uses the kb_attached_tasks_v3 macro that displays a list of related tasks to the KB article. You can view this code as an out of the box example on how this can be done. It doesn't display like a related list in the standard platform UI.
Please mark this post as helpful if applicable so others viewing can benefit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2018 05:05 PM
My apologies. kb_view is not an OOB view but a UI page. Here is a thread with more information and a useful jelly snippet which can display incidents when placed in the desired location on the ui page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2018 03:02 PM
@Patrick, kb_view is a UI page used by Knowledge to display the knowledge articles. Your instructions unfortunately don't apply to UI pages.
@txag08, unfortunately this is somewhat complex coding given that the KB articles are displayed using the kb_view UI page and a bunch of embedded UI Macros. kb_view uses the kb_view_common_footer UI Macro which then uses the kb_attached_tasks_v3 macro that displays a list of related tasks to the KB article. You can view this code as an out of the box example on how this can be done. It doesn't display like a related list in the standard platform UI.
Please mark this post as helpful if applicable so others viewing can benefit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-21-2018 09:47 AM
Thank you so much. This was the breakthrough I needed! I was able to copy kb_attached_tasks_v3 to create a list of tags and put it right on the kb_view page. It looks great.