WebCenter Pagelet Producer

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)

Hands On

Requirements

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.

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).

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 tagand an attribute of that tag so it gets recognized by the Clipper.

Now let’s use a bit of Injection:Select where do you want to inject your content, this can be as simple as a string.

Write the content you want to inject:

Final Result:

If you want to know how to access your Pagelet go to the Documentation section:You can select your preferred method for integration, REST or Javascript.

That’s it for a basic Pagelet I’ll talk about Advance Features in a following post.

Advertisements

Share this:

Like this:

LikeLoading...

Related

Published by Mauro Flores

I’m a Middleware Specialist and Solution Architect , currently EMEA Regional Training Lead, with 16+ years of experience in I.T. working with different technologies like APIs, SOAP, REST, PHP, Java, C#, Portals, among others and currently certified in big part of the Oracle Fusion Middleware stack and have achieved 60% of MuleSoft Certifications.
View all posts by Mauro Flores