Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Content Presenter taskflow - with dynamic content ID

User592717-OCOct 15 2012 — edited Oct 29 2012
Hi there,

I am using content presenter taskflow to display HTML content on my WebCenter portal page. I have create one generic page with a content presenter taskflow to display multiple generic pages with dynamically assigning the content ID. Please find below the code snippet for more information.

<taskFlow id="doclibcontentpresenter1"
taskFlowId="/oracle/webcenter/doclib/view/jsf/taskflows/presenter/contentPresenter.xml#doclib-content-presenter"
activation="deferred"
xmlns="http://xmlns.oracle.com/adf/controller/binding">
<parameters>
<parameter id="taskFlowInstId"
value="${'a18cff64-091c-4181-a21c-513c52cf112a'}"/>
<parameter id="datasourceType" value="${'dsTypeSingleNode'}"/>
<parameter id="datasource"
value="${'UCMCon#dDocName:'}${portalCommonComponents.contentIdForDetailPage}"/>
<parameter id="templateCategory" value="${''}"/>
<parameter id="templateView" value="${''}"/>
<parameter id="maxResults" value="${''}"/>
</parameters>
</taskFlow>

In the above code snippet I have added ${portalCommonComponents.contentIdForDetailPage} which will return the Content ID dynamically. The reason why I have used this approcach is that as per the requirment there are lot of detail pages.

Everything is working fine but sometimes it's throwing exception for load cache.

Please suggest is there something wrong with this approach, if so suggest me some alternative solution using single Content Presenter Taskflow to display in multiple pages by assigning content ID dynamically.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2012
Added on Oct 15 2012
16 comments
1,077 views