This blog outlines very basic feature of webcenter portal application, that is how to create a page at runtime using Administration console
- Launch your local Webcenter admin console , Create a sample Webcenter Portal Framework application, Right click on 'Portal' project and run
- Below is the localhost URL you will see
http://localhost:7101/HelloWorldPortalApp-Portal-context-root/index.html
- Enter default login credentials i.e weblogic/weblogic1
- After successful login, click on 'Administration Console' tab on the top right hand side of the page
- Click on 'Create Page' link as shown below
- Enter the page name
- Choose the available page template if needed.
- Choose the page style and click on 'Create' button, Below is how newly created page(HelloWorld) will be displayed
- To add the content to the newly created page, Select the down arrow in 'Actions' column and choose 'Edit Page' option
- Click on 'Add Content' link to add your own content
- This is how newly created page look like
- This newly created page will not be stored in Jdeveloper application, instead this will be stored in MDS(Meta Data Service), All webcenter run time customization will be stored in MDS
- To enable MDS for an application, Follow below step
- Right click on application, Choose Application Properties, Expand 'Run' and choose MDS. Select 'Preserve customizations across application runs'
- Try now by creating new page at runtime, stop the server and start it you will see the newly created page always.
No comments:
Post a Comment