We have a requirement to add a region on a seeded OAF page. Within this region we would like to display certain projects data for the logged in user.
The requirement:
Log into Oracle
We would like to add a region under the Favourites section. This region will be generated from another OAF page XML.
We shall personalize the web page to include this OA page. The steps are given below
Step 1: Develop the OA page XML and deploy it
The OA page we have developed for this requirement is named, XxchProjectsDBRN.xml. This file has to be deployed under $JAVA_TOP directory, in its own directory structure. We have created a directory structure, $JAVA_TOP/oracle/apps/fnd/framework/navigate/webui/.
Check the file on the server
$ cd $JAVA_TOP
$ ls –ltr ./xxch/oracle/apps/xxcust/projects/webui/XxchProjectsDBRN.xml
Now we are sure that the XML file exists at this location.
Step 2: Go to the Oracle home page
Log in to Oracle and go to the home page
Click on Personalize Page link on the top right hand corner.
Step 3: Personalize the page
After clicking on the link Personalize Page opens
Click on Complete View radio button and the page changes
Scroll down
Step 4: Add an Item on the OA page
Identify the row named as, Cell Format: (favoritesRightCell).
Click on the Create Item ()button for this row. The Create Item page opens.
Now select the following,
Level: Site
Item Style: Stack Layout
Now enter the following fields,
ID: DBRN
Extends: /xxch/oracle/apps/xxcust/projects/webui/XxchProjectsDBRN
Note:
We are giving the location and the name of the XML file of the OA page as we have seen in Step 1.
Click on Apply and you will come back to the Personalize Page. Scroll down the page. Look at the Personalization Structure section.
Expand the row for favouritesRightCell
Now a new section has been added into this cell, named DBRN. Now scroll down to the bottom of the page.
Click on Return to Application link and you will be taken back to the Oracle home page.
Step 5: Review the personalization
Once you are back to the home page, i.e. the page which you have personalized, the personalization will kick into effect. Therefore we can view the personalization we have done.
Once we come back to the home page we see the following
We do not see the new section underneath the Favourites links. This is because the new OA page is user specific and it will only be visible if it has any records to display for this user.
Since the OA page that we included on the Oracle home page is user dependent, let us login to Oracle as a different user.
After logging in as a different user we get to see the OA page we have included.
Using this method we can add an XML file pertaining to an OA page.
Cheers!
Related articles
- How to generate logs for tracing OAF page errors (oraclemaniac.com)
- How to get a newly added responsibility on the Oracle home page (oraclemaniac.com)
- HRMS Batch Element Entry process (oraclemaniac.com)
