-
1. Re: Add new pages to the existing portal via config not the ui
wguo Jun 17, 2013 3:33 AM (in response to wguo)Another question , if we can export the config(navigation.xml , pages.xml and portal.xml) from the existing portal .
-
2. Re: Add new pages to the existing portal via config not the ui
mwringe Jun 17, 2013 9:16 AM (in response to wguo)1 of 1 people found this helpfulPlease ask GateIn questions in the GateIn user forums: https://community.jboss.org/en/gatein?view=discussions
This is an old forum for JBoss Portal which later became GateIn when it was merged with eXo Portal.
To answer your questions
1) yes, you can merge in new pages via the configuration files. Please look at the portal extensions documentation: https://docs.jboss.org/author/display/GTNPORTAL35/Portal+Extension
These links may also help: https://docs.jboss.org/author/display/GTNPORTAL35/Portal+Navigation+Configuration and https://docs.jboss.org/author/display/GTNPORTAL35/Data+Import+Strategy
2) yes, there is an option to export and import portal configurations. Please see https://docs.jboss.org/author/display/GTNPORTAL35/GateIn+Management and there is also an import/export gadget which will do this as well.
-
3. Re: Add new pages to the existing portal via config not the ui
wguo Jun 17, 2013 11:01 PM (in response to mwringe)Hi Matt , thanks for your reminder and answer , now i also have some confused thing:
1. There is one sentense : " Those files will be used to create an initial navigation when the portal is launched in the first time. That information will then be stored in the JCR content repository, and can then be modified and managed from the portal UI. " in this guide
https://docs.jboss.org/author/display/GTNPORTAL35/Portal+Navigation+Configuration
I use the <org.exoplatform.portal.version>3.0.0-GA</org.exoplatform.portal.version> so there is no importMode field in the class org.exoplatform.portal.config.NewPortalConfig .
I have tested , when i remove all of the tables of jcr and idm , the new page which i added to the configure files will work well , but then when i contine to add new page to the configure file and import it without removing the jcr tables , it doesn't work .
So i want to confirm with you about the verion 3.0.0-GA , does it only work when the portal is lanuched in the first time .