WebCenter 11g PS3/PS4 is able to store and retrieve Wiki content directly to and from Oracle UCM Content Server. Thats really good improvement comparing with early WebCenter releases, because there is no need to run separate server just to maintain static Wiki content. However, there are few tips and tricks to know, when integrating and making it work together with WebCenter Portal Framework application. This post will explain how to publish static Wiki content inside WebCenter Portal Framework application with the help of WebCenter Content Presenter ADF Task Flow.
Sample application defines connection to UCM server, you should change these details according to your infrastructure:
Download sample application for this post - EnterprisePortalApp_v8.zip.
Menu is implemented using WebCenter Portal Framework menu model. Wiki content will be retrieved and displayed in the menu using Content Query - Static Content:
In WebCenter PS3/PS4, we can construct menu from list of documents dynamically, based on UCM query. Content Query retrieves Wiki documents of type text/html, by specified Tag - populated list will be converted into menu automatically (make sure Insert Folder Contents option is set):
You may wonder, what is this Tag, which we are using to construct menu list. Tag is defined directly inside UCM, for example if we have documents stored in UCM:
Each of the documents/folders can be assigned with specific Tag, we can use this tag from WebCenter menu model Content Query:
Here is example of menu list populated from Content Query, Wiki document is loaded based on menu selection. All such menu links, generated based on Content Query, are rendering Wiki content directly inside Content Presenter:
We can edit Wiki document, because content is loaded inside Content Presenter automatically. Let's specify a link to another Wiki document available in UCM:
Wiki document is updated inside Content Presenter, using Rich Text editor:
Let's see what will happen, when we click on newly added link to another Wiki document:
When link to another Wiki document is clicked, WebCenter is loading Document Viewer task flow and opens referenced Wiki document:
Its not what we want, there is no need to open Document Viewer, we want to open Wiki document as static HTML page. Even more, when Document Viewer is opened from Wiki link, it destroys WebCenter menu model - portal application becomes broken (even Logout doesn't work):
But don't worry ! There is option to force Wiki links to behave as simple links and load static content - 31.3.5 Displaying Wiki Page Links Within Content Presenter. We need to update adf-config.xml file with Wiki resource handler:
Let's try to click on Wiki link again:
It works now ! Referenced Wiki document was loaded, even menu selection was updated automatically - thats what we need:
Sample application defines connection to UCM server, you should change these details according to your infrastructure:
Download sample application for this post - EnterprisePortalApp_v8.zip.
Menu is implemented using WebCenter Portal Framework menu model. Wiki content will be retrieved and displayed in the menu using Content Query - Static Content:
In WebCenter PS3/PS4, we can construct menu from list of documents dynamically, based on UCM query. Content Query retrieves Wiki documents of type text/html, by specified Tag - populated list will be converted into menu automatically (make sure Insert Folder Contents option is set):
You may wonder, what is this Tag, which we are using to construct menu list. Tag is defined directly inside UCM, for example if we have documents stored in UCM:
Each of the documents/folders can be assigned with specific Tag, we can use this tag from WebCenter menu model Content Query:
Here is example of menu list populated from Content Query, Wiki document is loaded based on menu selection. All such menu links, generated based on Content Query, are rendering Wiki content directly inside Content Presenter:
We can edit Wiki document, because content is loaded inside Content Presenter automatically. Let's specify a link to another Wiki document available in UCM:
Wiki document is updated inside Content Presenter, using Rich Text editor:
Let's see what will happen, when we click on newly added link to another Wiki document:
When link to another Wiki document is clicked, WebCenter is loading Document Viewer task flow and opens referenced Wiki document:
Its not what we want, there is no need to open Document Viewer, we want to open Wiki document as static HTML page. Even more, when Document Viewer is opened from Wiki link, it destroys WebCenter menu model - portal application becomes broken (even Logout doesn't work):
But don't worry ! There is option to force Wiki links to behave as simple links and load static content - 31.3.5 Displaying Wiki Page Links Within Content Presenter. We need to update adf-config.xml file with Wiki resource handler:
Let's try to click on Wiki link again:
It works now ! Referenced Wiki document was loaded, even menu selection was updated automatically - thats what we need:


















































