- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2011 06:18 AM
How to dynamically display the field values in kb_view ? How to achieve it through UI Macros or is there any other way ?
Solved! Go to Solution.
- Labels:
-
Knowledge Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2011 07:21 AM
It's Jelly, so you can use j2:if tags to dynamically render things based on criteria. e.g.,
<j2:if test="$[kb.topic == 'email']">
$[kb.u_email_topic_related_field.getDisplayValue()]
</j2:if>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2011 07:12 AM
can you explain bit more,like on kb_view ui page we have many macros working like kb_header search,kb_affected_products,kb_feedback etc.You are saying u want to display kb_knowledge fields dynamicaly but in whcih area in kb_view ui page in article text?
this is screen shot of how we are doing it our knowledge base....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2011 07:13 AM
usually the long description gets displayed in kb_view. I want the additional fields to get displayed dynamically as soon as the long description gets populated. I tried to display it by creating UI Macro. The code is something like this :
My new field: $[kb.u_my_field.getDisplayValue()] // displays the content of the u_my_field from the current article
Now i want to do this dynamically depending on the field that gets loaded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-21-2011 03:18 AM
we are using 'kb_view_custom' UI Macro. But using this we are able to display fields statically.
we need to display fields dynamically based on topic and sub topic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-14-2011 06:59 AM
Can anyone help with any workaround on this?