- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 05:55 AM
Hello everyone.
I need to hide the "Edit" button available in the KB article. I have tried with de-activating the UI macro "kb_view_common_header_toolbar" and also tried with removing the following code. But I couldn't hide the button.
<j:if test="${showUpdateAction}">
<button role="link" id="editArticle" style="margin-left:0.4em;" title="${gs.getMessage('Edit content')}" aria-label="${gs.getMessage('Edit content')}" class="btn btn-default navbar-btn snc-article-header-toolbar-button pull-right">${gs.getMessage("Edit")}</button>
</j:if>
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 12:41 AM
I tried to deactivate the "kb_view_common_header_toolbar" and found that its hiding the header in Native UI only. Exploring on this "Edit" option in Agent Workspace and found few observations and its bit challenging compared to other UI actions on the form.
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 07:35 AM
Hi @Sid_Takali
Yes I have already gone through the community thread. And the ui macro mentioned in the thread doesn't affects the Edit button.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 07:55 AM
Have you set the visibility of the "Edit" button only to admin?
Please mark this as helpful and accept it as a solution if this resolves your query.
Thanks,
Sujatha V.M.
Sujatha V.M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2024 11:50 PM
Hi Sujatha,
Thanks for the reply. I want to simply hide the button that means that it should allow users to edit the article when the users are in the normal platform (knowledge.do page).
Thanks!
Ramkumar