cancel
Showing results for 
Search instead for 
Did you mean: 

Disable adding gadgets

Alice_
Star Contributor
Star Contributor

Is it possible to disable the adding gadgets button in the dashboard? I tried to search some extension point, but I found nothing about it...

1 ACCEPTED ANSWER

Thomas_Roger
Star Contributor
Star Contributor

Hi,

Those actions are currently defined in the xhtml template. To override it and remove the Add gagdet action, you need to override the user_opensocial_dashboard.xhtml template in nuxeo.war/incl/dashboard/ in your own bundle and remove the following line:

<a id="addGadgetButton" href="#{baseURL}site/gadgets?language=#{localeSelector.language}">#{messages['label.opensocial.container.add.gadget']}</a>

View answer in original post

22 REPLIES 22

any update ? Is Thomas or me that was right.

Here I am, sorry, I was ill!

milonette_
Star Collaborator
Star Collaborator

Hello, About this question, is it possible to disabled gagdet but keep it for Administrator group ? thanks

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.