You are here

Content Presenter

Customizing taskflows in WebCenter Portal

A lot of questions on the OTN forums are about customizing the out of the box taskflows for WebCenter. Although the documentation from Oracle is quite straight forward and complete, it lacks proper examples and use cases. It just explains the very basic concept on how to customize taskflows.

Therefore I am going to focus a little more on customizing these taskflows. This will be the first of many posts about customizing taskflows.

In this post I will describe the basic concept for customizing taskflows in a WebCenter Portal application. Later on, I will explain how to do the same thing in WebCenter Spaces.

For this post we are going to change the Content Presenter taskflow. More specific, we are going to add an Update Metadata link on the single item display of the content presenter. We will only change a specific section of the content presenter so I will explain the process on how to know where to find the files and update them.

Finding the correct file and section in the file is the most difficult part about customizing the taskflow. Therefore I will explain the process in this post.

Updating metadata in a WebCenter Content Presenter template

I already made some post explaining that a content presenter template can do more than just present the content. You can add pagination or a read more link but you can also add real functionality that can be useful for the content owner or administrator.

For example in this post I will explain how we can add a link to the content presenter that will open a popup where we can update the metadata of the content.

Updating metadata of the content will be done by using RIDC which is the native API for connecting to WebCenter Content where the content is stored.

In this post I will not only show how to build this template but also how to use RIDC and reuse the connection defined in JDeveloper or Enterprise Manager.

Using pagination in the WebCenter Content Presenter

A lot has been written about the content presenter and many people say it is a very powerful tool to integrate content from WebCenter Content into your portal. I fully agree with this but sometimes the content presenter lacks functionality that you would think would be out of the box.

One of those functionalities is having pagination when you have a lot of items to display. Suppose that you want to display the contents of a folder or the result of a query and the number of results can be very large, how will you display this in a proper way to your users? Simple, use pagination! But the content presenter does not support this so we will have to build it ourselves.

In this post I will explain how we can create pagination for the content presenter by building a custom content presenter template.

WebCenter 11g PS5 has been released

It's update time again... This time Oracle has released the second patch set for the new WebCenter Portal suite. It is PS5 but we all know that PS3 was a very big update and introduced completely new concepts in WebCenter. So, PS5 is the second patch set after this major update.

In this post you can find a small overview of the changes since PS4. I haven't seen or tested everything yet so I will add more when I encounter more valuable items.

Using dynamic queries in the Content Presenter

In the past I already talked a lot about the Content Presenter. It is very powerful to display content in all sorts of way. It can interact with Site Studio elements and it is easy to use by using its wizard.

One of the hidden gems of the content presenter is not the wizard but the plain old input parameters you would expect from a taskflow. The wizard everybody uses to configure the content presenter is just a facade to hide the complexity of those input parameters. In most cases this is sufficient but when you want to do more complex things, you would soon bump into issues by using the wizard.

Suppose that you want to display a list of news items from different categories and display a filter so the user can select their preferred category. There is no way of doing this by using the normal way. You would need to introduce a parameter in the query of the content presenter.

In this example I will explain how it is done

Oracle Fusion Middleware Partner Community Forum Malaga Summary

The OFM Partner forum in Malaga has just finished and it left some very good memories! This forum was even better than the one in Utrecht last year. A lot of the credits go to Juergen Kress and Hans Blaas who organized this event. They really did a very good job!

The venue of this event was in the NH Hotel at Malaga. A nice hotel with lots of room for all the people. My wife and I checked in on Monday and visited the city together with my colleagues from InfoMENTUM. Malaga is really a nice city with vibrant colours and people.

On Tuesday the event started at noon with registration and a lunch. This was the first opportunity to network and network is what I did. It's nice to see familiar faces from previous events. Some of them I met at the partner forum in Utrecht last year so it was a nice opportunity to catch up on the past year.

Enable Site Studio features in WebCenter Portal

One of the cool features of WebCenter Portal and WebCenter Content is that it integrates quite well into each other. WebCenter Content has a very powerful feature that allows us to create structured information based upon a definition of the data. The data will be stored in XML and we can create several templates to display the content.

These features can be made available in WebCenter Spaces by configuring the OHS properly. With a few tweaks here and there, we can also enable the same features in a custom WebCenter Portal application.

I already made a large tutorial section on how to enable Site Studio in WebCenter and how to work with these region definitions and data files.

The intention of this post is to show how to configure your application so all of the features like inline editing will also work from within WebCenter Portal.

Creating an image gallery using the Navigation Model and the Content Presenter

Often you see that a portal has an image gallery of some sort. WebCenter unfortunately does not have an out of the box image gallery. Luckily there is some god news because it is not hard to create your own custom image gallery by just using the navigation model and the content presenter and a few lines of code. Navigation models tend to be used to create navigation models... Hence the name. With some creativity we also can use the navigation model for other cool stuff like an image gallery. The advantage of this is that we can easily modify the content of the image gallery by just editing the navigation model. All the content that we will be using is stored in UCM so we can just keep on using the features of UCM to have a good lifecycle of your images. You also can make use of the security of UCM so people can only see the images they should see.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer