Sunday, 19 August 2018

Flexible layout in oaf : How to add custom region in Standard OAF Page

Flexible layout in oaf : How to add custom region in Standard OAF Page

In this post , We will Discuss about flexible layout in oaf . If you want to Customize the Standard OAF page Layout , then flexible layout is the best way to do that. With the Help of Flexible Layout , we can add or merger the custom regions in the Standard OAF page Layout. So by that way flexible layout gives us the flexibility to customize the standard Layouts in OAF page. Here below I will share the Complete steps to use Flexible layout in oaf with Working Example.
 

Flexible layout in oaf : How to add custom region in Standard OAF Page

 


 Step1:- First we will create a new Custom Region in the JDeveloper.

 
Step2:- Go to J-Developer and create a New Workspace and Project to create a New Region for the Standard OAF Page.
 
Create a New workspace.
 
Flexible layout in oaf
 
Step3:- Create a New Project
 
Project Name : PageExtend
Default Package: oracle.apps.xxap.pageextend
 
Flexible layout in oaf
 
Step4:- Create a New Region As below.
 
Flexible layout in oaf
 
Step5:- Creating New Region
Name : PageExtendRG
Style:- Stack Layout
We have to select the Stack Layout style for the Region when we will try to merge the Custom region in Standard OAF Page.
 
Flexible layout in oaf
 
 
 
Step6:- PageExtendRG Page structure has been created. Now we will create another regions.
Right Click on PageExtendRG Structure and select New and Then Select the Region Option as below


Flexible layout in oaf
 


Step7:- As below Region1 has been create and Region Style we select 'Header'
Flexible layout in oaf


Step8:- Now we create new region again same like previous Step but this time we will right click on region1 and then Select new and select Region Option and region will be created as below
This Region Style Will Be Message Component Layout.
Flexible layout in oaf


Step9:-
Flexible layout in oaf


Step10:- Now we will create new Text Item. Right Click on Region2 and Then Select New and Choose MessageTextInput.
Flexible layout in oaf


Step11:-New Text Item has been created as Below 'item1'
Flexible layout in oaf
 
Step12:- In this Step , We will Create the Application Module. To find the rest of the Steps 1 to 11 please refer the Part of this Post.
 
Flexible layout in oaf
 
 
 
Step13:- Creating Application Module
Package : oracle.apps.xxap.pageextend.server
Name : PageExtendAM
 
Flexible layout in oaf
 
 
Step14:- Now here in this Step , click on the PageExtendRG Structure and then in the Properties of this Region set the Application module created in the Previous Step.
 
Application module : oracle.apps.xxap.pageextend.server.PageExtendAM
Flexible layout in oaf
 
Now our custom Region is created successfully.
 
Step15:- In the Next Step , we need to move this Custom region and its files to the Java_Top directory and import with the JPX importer Script.
 
 
Step16:- Once our Files moved to Java_Top then we need to go to the Oracle Application OAF Page, In which we want to add this region.
 
Step17:- I have choose Workflow notifications Page for I-Expense.
 
Step18:- Now go to this Page , and Then Click on the Personalization Link.
 
Step19:- Go to the Stack Layout of this Region and Create a New Item as below
 
Flexible layout in oaf : How to add custom region in Standard OAF Page

 
 
 Step20:- We will create the Item Style as a 'Flexible Layout'
Level will be Site.
 
Given an unique Id of this Region
Most important part of this Item is 'Extends' Column , in this field , you will enter the Path of your Region which you have created in the J Developer (
oracle.apps.xap.pageextend.webui.PageExtendRG) This is the Path in the J Developer but in the Application the Path will be same but we will not use '.' . We will use '/'.
Extends : /oracle/apps/xxap/pageextend/webui/PageExtendRG

0 comments:

Post a Comment

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *