Agent Workspace - Hide Edit Button for the knowledge article.

Ramkumar Thanga
Mega Sage

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.

 

RamkumarThanga_0-1713963251697.png

 

 

 

 

 

	<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>

 

 

 

 

 

1 ACCEPTED SOLUTION

@Ramkumar Thanga

 

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.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

View solution in original post

7 REPLIES 7

@Ramkumar Thanga

 

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.

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

@Sujatha V M 

 

Did you find any solutions regarding this.

Rohit99
Mega Sage

Hi @Ramkumar Thanga,
Have you got any leads on this?

Thanks,
Rohit Suryawanshi