Showing posts with label How to attach AM to OAF Page as a Root application Module. Show all posts
Showing posts with label How to attach AM to OAF Page as a Root application Module. Show all posts

Wednesday, 6 June 2018

What is Root AM in OAF

What is Root AM in OAF

Application module is the most critical component of the OAF page architecture. Any OAF page cannot be run with using the Application Module (AM). So for to run any OAF page we must need to create the OAF page. We can create and run the OAF page without , View Object (VO) and Entity Object (EO) but we cannot create the OAG page without creating Application Module. We first create the Application Module and then Attach this Application Module to that Page. If we are using the View object in the OAF Page , then again we cannot access these View Objects (VO) in that OAF page until unless we will not assign this VO to the Application Modules. Root AM in OAF is the top Most application module attached to the OAF page top region. Root AM is the Parent Application module for all other Application modules attached to the different -different regions under the Top 'Page Layout Region' of the Page.  When We create the OAF page , then system automatically created the First region of Style ' Page Layout' we cannot change this Default region style because this inherits basic oracle application OAF page header and footer. So we create the sub-regions under this Default Page Layout region. But to run the OAF page , we must need to attach the application module so we attach the Application Module to the Top Most default Region Style "Page Layout' and then we can also attach different AM too for the Sub -regions also. But the Top Most Region application module will be treated like the Root Application Module of the Page. This is the Most critical Application Module treated as the Root Application Module in OAF.
 
Application Module handle all the Runtime connections between the Page and the Database.
 
How to attach AM  to OAF Page as a Root application Module.
 
This is the most required step to run any OAF page.
 
Now we create OAF Page.

Right Click on the project "RohitSearchPage".Click New.
What is Root AM in OAF

Enter the Page Name="RohitSearchPagePG"

Default Package="rohit.oracle.apps.fnd.RohitSearchPage.webui"

we create the page under the webui under the project directory

Click Ok Page has been created.
What is Root AM in OAF
Below in the Structure Page Click on "region1"
Repalce the ID of the "region1" with "PageLayoutRN" in the property inspector.

 Now in this step we will assign the Application Module to this OAF page top Region created in the last step.
 
Click on the "PageLayoutRN".On the right hand side In the property inspector we  will set the AM for the this page
AM Definition=rohit.oracle.apps.fnd.RohitSearchPage.server.RohitSearchPageAM.
This will work as Root AM in the OAF page.
What is Root AM in OAF


AM has been attach to the OAF Page top Region.
 
 

Tuesday, 5 June 2018

Application Module in OAF.How to attach VO to AM in OAF

Application Module in OAF. How to attach VO to AM in OAF

Application Module in OAF is the most required step to create any OAF page. Application Module is handle all the Runtime connections between the Page and the Database. Any OAF page cannot be run in the application until unless Application module(AM)  is not assigned to that OAF Page. If we are using the View object in the OAF Page , then again we cannot access these View Objects (VO) in that OAF page until unless we will not assign this VO to the Application Modules. So AM is the mandatory step in the OAF page to run in the Application.
 
One OAF page can have one Application module also or more then one application Module Too. This is not restricted that there will be only one AM in the OAF page. This could be more then one. In the Same time , We can assign more then one View Objects in the Application Module Too. Application module helps to get the access of the View object in the OAF page during run time.
 
The Application module, which is attached to the Top most of the OAF page , works as the Root application Module.
 

How to attach VO to AM in OAF

 
 we are creating  "Application Module".

Right Click on the project "RohitSearchPage".Click New.
what is root am in oaf
 
Application Module wizard has open as below click next

Enter the Application Module name="RohitSearchPageAM"

Defualt Package="rohit.oracle.apps.fnd.RohitSearchPage.server"

we create "Application module" under the "Server" directory of the project as OAF Standard.
Click Next.

What is root am in OAF.

Application Module in OAF.How to attach VO to AM in OAF

 
Here in this Step , we will manually assign all the Existing View Objects to the Application Module created under the same Project Directory (Rohit.oracle.apps.fnd.rohitsearchPage.server)
 
Select the "SupplierVO" in the left hand side and then shuttle this to the right and then click next and then finish.
Application Module in OAF.How to attach VO to AM in OAF


How to attach AM  to OAF Page as a Root application Module.

 
This is the most required step to run any OAF page.
 
Now we create OAF Page.

Right Click on the project "RohitSearchPage".Click New.

Enter the Page Name="RohitSearchPagePG"

Default Package="rohit.oracle.apps.fnd.RohitSearchPage.webui"

we create the page under the webui under the project directory

Click Ok Page has been created.

Below in the Structure Page Click on "region1"
Repalce the ID of the "region1" with "PageLayoutRN" in the property inspector.

 Now in this step we will assign the Application Module to this OAF page top Region created in the last step.
 
Click on the "PageLayoutRN".On the right hand side In the property inspector we  will set the AM for the this page
AM Definition=rohit.oracle.apps.fnd.RohitSearchPage.server.RohitSearchPageAM.


AM has been attach to the OAF Page top Region.
 
 
 

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

Name

Email *

Message *