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.
Right Click on the project "RohitSearchPage".Click New.
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.
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.
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.
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.
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.
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 Definition=rohit.oracle.apps.fnd.RohitSearchPage.server.RohitSearchPageAM.
AM has been attach to the OAF Page top Region.
0 comments:
Post a Comment