[ARCHIVED] Is there a way to add an indicator from the portal view that allows you to identify that an article is published ? | Community
Skip to main content

[ARCHIVED] Is there a way to add an indicator from the portal view that allows you to identify that an article is published ?

  • April 20, 2021
  • 6 replies
  • 0 views

Mary12

Is there a way to identify from the portal view that an article is published?  A user has admin permission and he can see draft articles in our Announcements section (they are classified to go there when published) but they are not yet published.  If he goes to the portal, it appears these draft articles are published yet they are not.  There is no way to identify that unless you open each article and look at the status of the article.

 

Also, whenever you create a new article from the Knowledge Capture app using a template, we need that title to have something like "Copy of <template>" to appear in the title.  Agents say it is confusing b/c they think they are overwriting the template.

6 replies

Ryan48
  • April 26, 2021

Hey @Mary Paez,

Articles that have a Published Status of draft shouldn't be visible in Help Center for Admins or Agents (only if you're using the preview functionality from the Editor). Maybe you can send a quick screenshot of the right hand side bar. Here's an example

Is it possible the articles are published with Visible To set to something like Admins only? If that's the case, you should be able to show that status via the Section or Article page template. I can send some simple code along to enable that. 


Mary12
  • Author
  • April 26, 2021

I noticed today that the Draft articles that I filed into our Announcements section are no longer appearing on the portal. Very strange.


Mary12
  • Author
  • April 26, 2021

They are appearing again. Why?  The sample articles are draft and not published. 

 


Ryan48
  • April 27, 2021

Looking at your Help Center it appears there's a JavaScript customization that is fetching articles via the API that is not filtering out draft articles when it is rendering them on the page. It seems like you could adjust the customization to not show draft articles to match how this works in our standard theme or you could adjust it visually distinguish these articles.

For example, in the Copenhagen theme we use a lock icon after the article title to indicate articles that are currently restricted with a User Segment. It looks like this

Here's some example code of how we render that lock icon

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" focusable="false" viewBox="0 0 16 16" class="icon-lock">
<rect width="12" height="9" x="2" y="7" fill="currentColor" rx="1" ry="1"/>
<path fill="none" stroke="currentColor" d="M4.5 7.5V4a3.5 3.5 0 017 0v3.5"/>
</svg>

Thanks!


Mary12
  • Author
  • April 27, 2021

Zendesk Prof Services did the customization to our portal. Shouldn't they have caught this issue?


Ryan48
  • May 12, 2021

Hey Mary,

I can't speak to how they built the theme and the requirements at the time, but I will say the API and Help Center templates are purposely designed to work differently. All that being said, I've connected with the Zendesk team working with Veeva on this issue and they're working to resolve it. 

Thanks!