In one of my previous posts I wrote about Web Clipping, this time I’ll like to write something about WebCenter Pagelet Producer :
- How to create a Resource
- How to extract Content
- How to Inject Content (In the extracted content)
- How to consume a Pagelet
WebCenter Pagelet Producer
Allows you to publish content from back-end applications via pagelets. A pagelet is a reusable UI component that can run on any web page or web application.
In other words is a Mashup Enabler.
Example: You have a requirement where you need to integrate different pieces of content from an external page/system into your Web Application/ Portal ( HR Intranet wants to display content from Finance Intranet)
- Oracle WebCenter Server
- Have WC_Portlet Managed Server Running
- Admin user (ex. weblogic)
- The URL of the Application where you want to extract information
I’ll use infoMENTUM’s.
Login to WebCenter Pagelet Producer Admin:
For the Source URL make sure to keep it generic so in the future you can access all the levels of the Application (ex. http://www.infomentum.com/uk/). It’s recommended to always select DHTML Rewriting.
Now the important part, the Pagelet.
Insert the General information for your Pagelet.
In the URL Suffix include the rest of the URL to access the resource you want to access (ex. about-us/media-centre/videos-and-webcasts/generationc).
The final URL will look like this when browsed for Content: http://www.infomentum.com/uk/about-us/media-centre/videos-and-webcasts/generationc
To extract the content you’re looking for, go to the Clipper section and create a new one:
To extract content you have two different ways of doing it:
Graphical Clipper: It will open a window with the content URL so you select the piece of content you want to clip to your Pagelet.
Advanced Clipper: You need to add the tag and an attribute of that tag so it gets recognized by the Clipper.
That’s it for a basic Pagelet I’ll talk about Advance Features in a following post.