I would like to change the default settings of portlets.

For example, in the Navigation portlet, the default settings are:

Status indicator: diamond
Element Link Behavior: Expand and Drive.

I would like the defaults to be:

Status indicator: oval
Element Link Behavior: Drive Only

By exporting from an already configured community (.lar file), I can
find the xml as follows. I have placed this code in
C:\NOCDashboard\server\webapps\ManagedObjectsPortl ets\WEB-INF\data\globals.custom.xml,
but it does not work after restarting the dashboard service. The syntax
is a bit different in the export in that it uses "preference" as
singular instead of plural. globals.custom uses the plural form.

<globals>
<data>
<components>
<component>
<name>navigation</name>
<preferences>
<name>compNavigation</name>
<value>&lt;mo_portlet_preferences&gt;[$NEW_LINE$]
&lt;com.mosol.portlet.preferences.impl.component.N avigationPreferences&gt;[$NEW_LINE$]
&lt;indicatorImage&gt;oval&lt;/indicatorImage&gt;[$NEW_LINE$]
&lt;height&gt;auto&lt;/height&gt;[$NEW_LINE$]
&lt;labelClickMode&gt;DRIVE&lt;/labelClickMode&gt;[$NEW_LINE$]
&lt;pushEnabled&gt;true&lt;/pushEnabled&gt;[$NEW_LINE$]
&lt;initialized&gt;false&lt;/initialized&gt;[$NEW_LINE$]
&lt;/com.mosol.portlet.preferences.impl.component.Navig ationPreferences&gt;[$NEW_LINE$]&lt;/mo_portlet_preferences&gt;
</value>
</preferences>
</component>
</components>
</data>
</globals>

Or maybe I'm in the wrong place to begin with.

Steve


--
csssl
------------------------------------------------------------------------
csssl's Profile: https://forums.netiq.com/member.php?userid=6773
View this thread: https://forums.netiq.com/showthread.php?t=51755