Recent searches
No recent searches
Is there an ability to use internal only help center comments
Answered
Posted Jan 22, 2016
i wanted to be able to enable comments for internal users on articles (to provide feedback to authors) when viewing content on site. Is there a way to set an internal only comment on an article in Help center?
0
1
1 comment
Duke Oliver
There's kind of a way with javascript. You're able to target the role of whoever is logged in (manager, agent, end_user, anonymous), and from there you can inject html or css. For example, typing HelpCenter.user.role into my browser's console will retrieve this:
From here, you could do a number of things. For my page, I'm using code similar to what's talked about here:
https://support.zendesk.com/hc/en-us/articles/203661316-Hide-or-show-HTML-based-on-user-s-role-or-group
Essentially, you'd have the comments only render on the page via javascript if the person logged in is an agent or manager. The caveat is that it gets complicated if you still want end-users to comment on articles too. I still think it's doable though.
If you'd like help setting it up, I'd be glad to help out!
1