Sunday, September 4, 2011

Webcenter : Integrate ADF Taskflow with Portal Application

 

In previous blog we simply created portal application which don’t even need to be blogged , however , it is easy some time for other reader to understand the basement.

Create Simple “Fusion ADF” Application with standard HR Schema with EO/VO for Employee , Department , Job , Regions.

Create Four Taskflow with one view fragment with name emp , dept , job , regions.

image

Create a deployment profile as ADF lib jar for this ADF application.

image

Once this ADF Jar is created add it to resource pallet –> IDE Connection –> File Systems –> adflibforportal 

image

image

As we can notice jar is added to File System , Right click and click “Add to Project”

image

Right click portal project and see project properties and click ADF Library –> Edit.

image

As you can see jar contains all taskflow.

image

Now double click navigation in portal and add following four task flow as link with Type on Navigation side as Task Flow.

image

click Default navigation model and click Link and associate it with taskflow as below from resource pallet.

image

Sam way add all four link and finally compile and run home.jspx.

When I ran the application , I see only two link Emp and Dept where are other two link Job , Region.

image

Go to Jazn-Data.xml and give authentication-role to job and region taskflow as below and re run the application.

image

Now we can see all four hyperlink.

image

This demo gives an example of power of reusability and modularity in ADF application with webcenter portal.

If we use same idea for bigger project then we can create new independent ADF projects like HR , Sales , Marketing and merge to portal application in independent taskflow with proper permission.

3 comments:

  1. I am getting null pointer exception when i try to run the TF from the portal page. Any help!!

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. hi,
    sorry, but this post is very much incomplete as i am new to this i am not getting anything. can you plz post the detail description of this post

    ReplyDelete