I started with the "Customer Self Service Portal" template, which I've been customising. I started with that template because I need to display knowledge articles.
Instead of the "Full Page" template, I'm using my own liquid based template for showing knowledge articles. This is because I need to show category hierarchy and some other things that the "Full Page" (aspx) template won't do for me.
I have hit a snag with ratings. I would like to show a rating against each knowledge article and allow the user to provide feedback. The standard rating control (that I can find next to no documentation for) looks promising:
{% rating id: page.id, entity: page.logical_name, readonly: false, panel: true, snippet: "Rating Heading", step: "1", min: "0", max: "5", round: true %}
except that this then provides rating for my page not the knowledge article I'm showing on it. So
.../articles/?id=KB001
.../articles/?id=KB042
show different articles, but share the same rating. Logical I suppose since the page.id will be the same.
On the off-chance I did try:
{% rating id: article.knowledgearticleid, entity: article.logical_name, readonly: false, panel: true, snippet: "Rating Heading", step: "1", min: "0", max: "5", round: true %}
but that generated the error:
Liquid error: Currently this entity type is not supported.
Is there a way round this? Or is there a better control? Is there a parameter that I'm missing? Or a completely different approach?
Any suggestions would be welcome. Thank you.


Report
All responses (
Answers (