updating the description of a channel

I would like to change the description of a component that has already

been entered into the portal server. The description shows up when

selecting channels for display at the following URL:

http://localhost:8080/DesktopServlet?action=edit&provider=iwtContentProvide r

I can see the entry in ldap and I know that I could change it there

but... Is there any way to change the description attribute value via

the administrative console? I know I could also delete the component

from the portal make the change to the xml file and then re-import but

that seems a little like overkill. Does anyone have thoughts?

-matt

[686 byte] By [MattMacDonald] at [2007-11-25 4:33:01]
# 1

You can change only the channel title and other channel attributes using the admin console ..

a quick way to change the description would be to use ipsadmin change component component_name.xml

You can have the xml only for that attribute like this ..

<iwt:Att name="iwtMyProvider-description"

type="string"

idx="a100"

userConfigurable="false"

>

<Val>My New Provider Description </Val>

<Rperm>ADMIN</Rperm>

<Rperm>OWNER</Rperm>

</iwt:Att>

Here iwtMyProvider is the provider name, iwtMyProvider-description is the attribute for the provider you want to modify and <VAL> ... </VAL> contains the value for that attribute ..

HTH ..

Karthik_Krishnamoorthy at 2007-6-29 2:42:34 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

One way is to override the getDescription() method in the channel's

provider, and return the new description there. If you don't do this,

then the parent class's behavior is to get it from LDAP.

I'm not sure how to modify the component description with ipsadmin since

the "desc" attribute is part of the iwt:Component tag itself in the XML,

not a separate attribute, and you omit that tag from XML used to change

existing components.

Greg

Karthik_Krishnamoorthy at 2007-6-29 2:42:34 > top of Java-index,Web & Directory Servers,Portal Servers...