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