All Forums Viewpoint
dirshah 16 posts Joined 03/11
17 Jun 2011
Disabling the preferences button in Admin-Role Manger-Portlets

Hi All,
How can I disable the preferences button in Admin-->Role Manager--> Portlets. I am using td pdk 13.11.

Regards, S. Fawad Ali Shah.
stever 149 posts Joined 08/09
17 Jun 2011

In your portlet's viewpoint-portlet.xml file, remove the config-url node.

dirshah 16 posts Joined 03/11
19 Jun 2011

Thanks but I guess that is used for older versions. I had already tried that but then the original preferences area stops working. I have seen that in the Widgetopia portlet, the preferences button is diasbled in the same manner as you are suggesting but using tdpdk 13.11 and tdpdk 13.10 I am unable to disable it that way. Any ideas on that?

Regards,
S. Fawad Ali Shah.

stever 149 posts Joined 08/09
19 Jun 2011

You can't disable the preferences in Roles Manager if your portlet has preferences. It is a feature of Viewpoint that the Viewpoint admin can set any preferences on a per-role basis. If you need to change the behavior of the preferences screen when it's accessed from Roles Manager, you can check the "isConfig" variable in your JSP. This variable is set to true when setting the default role preferences in Roles Manager.

dirshah 16 posts Joined 03/11
21 Jun 2011

Thanks.

Regards,
S. Fawad Ali Shah.

You must sign in to leave a comment.