You need to sign in to do that
Don't have an account?
sushieater
articleRendererToolBar not appearing - 404 error
I'm trying to use the articleRendererToolBar as per the documentation
<knowledge:articleRendererToolBar articleId="{! $CurrentPage.parameters.id}" />
Nothing gets displayed, but I do find some html elements are created. I can go through the stylesheet and remove entries that are hiding these elements and I can see the stars. There is no functionality though. Rolling mouse over results in javascript errors
- Uncaught ReferenceError: mouseoverStar is not defined
The root cause appears to be the missing javascript file. The page is requesting jslibrary/VOTE which results in a 404. I've tried this on a developer edition as well as the corporate sandbox.
Anyone know what's gone wrong here?
Can you precise for which channel this VF is designed? Because articlerenderertoolbar is not design to work for unauthenticated iste user.
Thanks,
All Answers
Hi,
Normally, you are using this articleRendererToolbar with a knowledge controller. In this case, you can try this alternative:
Does it work better? Thanks.
Hi,
Thanks for the quick response, but behaviour is the same.
The page still receives a 404 when attempting to request "jslibrary/VOTE".
Can you precise for which channel this VF is designed? Because articlerenderertoolbar is not design to work for unauthenticated iste user.
Thanks,
This is for a Public Knowledge Base.
Is there anyway to use this component or similar functionality with the Public Knowledge Base?
Thank you.
If you speak about voting, the answer is no.
But if it's for the rest, you can have a try adding canVote=false as attribute to articleRendererToolbar.
Setting "canVote=false" does not change the behaviour. This doesn't look like it will be usefull for me anymore anyways. Thank you for the help.