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.
 
 

0 comments:

Post a Comment

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

Name

Email *

Message *