Prerequisites: Oracle WebCenter Content, UCM, WebCenter Portal, RIDC
When we do large portal site development, we usually store enterprise content and images in content repository. Content repository offers library services, content check-in / out and versioning, etc., which allows content more manageable and traceable.
A common use case is to present images that store in content repository in portal page directly. Let’s see how we do this under Oracle WebCenter Content and Portal environment.
The idea is to build up a HashMap which holds key-value pairs docName-docURL. When portal page renders, it references to the specific docName key defined in the image tag and loads the image based on the value of docURL from content repository...
Read More