restore a deleted container
I have Portal server setup and playing around the three out-of-box samples (Enterprise, Developers, and Community).
I have deleted the PagePreferencesContainer from Community sample. I cannot add it back by adding new channel/container in admin console. Is any way to have it back?
I know the pbfiles source is here. How can I deploy this container back from source? or is any other simpler way to restore it?
Thanks in advanced.
Jeff
[465 byte] By [
JeffreyKoa] at [2007-11-27 6:01:17]

# 1
The xmls which are used to deploy the community sample are placed here:
/opt/sun/portal/par-src/community_sample
You could add the xmls to the desktop profile using the psadmin command.
Or
1) go to "Portals" -> "Your portal" and "Download Display Profile"
2) COPY THE DOWNLOADED FILE(!)
3) Edit the copy and add the following xml fragment before the following line:
<Channel name="Login" provider="JSPProvider">
-
<Container name="PagePreferencesContainer" provider="JSPSingleContainerProvider">
<Properties>
<ConditionalProperties condition="locale" value="de">
<String name="title" value="Seiteninhalt & -layout"/>
<String name="description" value="Klicken Sie hier, um den Inhalt und das Layout dieser Seite zu bearbeiten."/>
<String name="helpURL" value="/community/content/de/Help/index.html"/>
</ConditionalProperties>
<ConditionalProperties condition="locale" value="fr">
<String name="title" value="Contenu de la page et pr閟entation"/>
<String name="description" value="Cliquez ici pour 閐iter le contenu et la pr閟entation de cette page"/>
<String name="helpURL" value="/community/content/fr/Help/index.html"/>
</ConditionalProperties>
<ConditionalProperties condition="locale" value="es">
<String name="title" value="Contenido y dise駉 de p醙ina"/>
<String name="description" value="Haga clic para editar el contenido y el dise駉 de esta p醙ina"/>
<String name="helpURL" value="/community/content/es/Help/index.html"/>
</ConditionalProperties>
<String name="title" value="Page Content & Layout"/>
<String name="description" value="Click to edit content and layout for this page"/>
<String name="helpURL" value="/community/content/Help/index.html"/>
<String name="contentPage" value="content.jsp"/>
<String name="processPage" value="process.jsp"/>
<ConditionalProperties condition="locale" value="en">
<String name="title" value="Page Content & Layout"/>
<String name="description" value="Click to edit content and layout for this page"/>
<String name="helpURL" value="/community/content/Help/index.html"/>
</ConditionalProperties>
</Properties>
<Available>
</Available>
<Selected>
</Selected>
<Channels>
</Channels>
</Container>
-
It is not complete, I have removed japanes/korean/... properties because I could not copy them easily.
4) "Upload Display Profile"
hth Chris