
This document explains the OAFramework (ver 5.7 H for Apps 11.5.9 and 5.10 for Apps 11.5.10) Anonymous User page (like registration page) development and deployment in an instance and pack for the other instances. This document assumes that the reader has a basic knowledge of OA Frmework page creation and deployment.
Background
This document should be used for creating Guest User pages and all type of registration pages. When this document fails to cover a topic, recommendations from OA Framework Development Team should be followed. If you have a Guest user page to display that does not require a user to log in.
New page with anonymous user setup.
To create a page with anonymous setup we should have a standard OAFramework page with all the components required for the page.
We have to create the function for this page.
Let us consider a Registration page NewEmpRegistrationPG.xml and the registered function for this page is NEW_EMP_REGN. We have to change the following properties for the MainRN for the page.
Rendered: ${oa.FunctionSecurity. NEW_EMP_REGN}
Security Mode: selfSecured
Use the following command to upload the page to the instance, java oracle.jrad.tools.xml.importer.XMLImporter <PageName> -username <APPS Username> -password <APPS Password> -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<DB_HOSTNAME>)(PORT=<DB_PORT>))(CONNECT_DATA=(SID=<DB_SID>)))" -rootdir ./ -rootPackage <fullpacakage>
Example.
java oracle.jrad.tools.xml.importer.XMLImporter NewEmpRegistrationPG.xml -username apps -password apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=I3SN021E.idc.oracle.com)(PORT=1610))(CONNECT_DATA=(SID=scmtrng)))" -rootdir ./ -rootPackage /xxt/oracle/apps/pon/registration/webui
Create a function for the new page
Use functional administrator (Self Service) or using system administrator (Forms) responsibility and create a function for the uploaded page.


After the function creation we have to add this function to a menu and the menu has to be granted to GUEST user.
Add the function to a new menu
Use fuctional administrator responsibility to create a new Menu. Add the created function with this new menu.


Now we are ready with the menu that is having a function, which points to a page which we want to access without the user log in.
If you want to give access to more than one page you can add, as many functions to the menu, like below.

Create Grant for the created menu.
To create Grant for the menu we have created now, use Security Tab in the functional administrator responsibility. Follow the below mentioned steps.

Step I: Log on to Application with Functional Administrator Responsibility and click on functional administrator responsibility. Click on “Create Grant” button (To create a Global Grant)

Step II: Enter the Grant Name and select Grantee Type as “All Users” and click “Next”

Step III: Enter the User Menu Name of the newly created Menu and click “Next”

Step IV : Click “Finish” button

Step V: Again click on “Create Grant” (To create Guest Grant)

Step VI : Enter the Grant Name and select Grantee Type as “Specific User”. The page refreshes to display a new field called “Grantee” (If the page fails to refresh click “Next” button to go to the next screen and click “Back” button on the next screen to come back to this screen)
Enter “GUEST” in the “Grantee” field and click

Step VII: Enter the User Menu Name of the newly created Menu and click “Next”

Step VIII : Click “Finish” button

Step IX: Grant creations successfully completed.
Download and Upload the Grant
Following command used to download the created Grant.
FNDLOAD apps/apps 0 Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct XXTGUESTGRT_US.ldt GRANT GNT_MENU_NAME= NEW_EMP_REGN_MENU
To upload this grant into a new instance upload the page and the menu as usual and upload the Grant for the menu using the following command.
Following command used to upload the downloaded Grant.
FNDLOAD apps/apps 0 Y UPLOAD $FND_TOP/patch/115/import/afsload.lct XXTGUESTGRT_US.ldt
No we can access the newly created page without login into the applications using the following URL.
http://<Host Name>: <Port>/OA_HTML/OA.jsp?OAFunc=NEW_EMP_REGN
Set as favorite
Bookmark
Email This
Hits: 18439
Comments
(9)
...
written by ramkumar , July 11, 2008
written by ramkumar , July 11, 2008
How to move OAF Pages from one instance to other instance.ALL java files,xml files,Bc4j components,controller all these how to move from developer instance to Production instance.
Votes: +0
report abuse
vote down
vote up
...
written by Anil Passi , July 11, 2008
written by Anil Passi , July 11, 2008
For the moving Page definitions, use XMLImporter
For moving personalizations or substitutions, use Functional Administrator Import/Export functionality.
Personalizations can also be moved using XMLImporter.
Additionally, Substitutions can also be moved using jpxImporter.
For rest everything else, simply deploy the contents of $JAVA_TOP/xx folder to your production.
Votes: +0
For moving personalizations or substitutions, use Functional Administrator Import/Export functionality.
Personalizations can also be moved using XMLImporter.
Additionally, Substitutions can also be moved using jpxImporter.
For rest everything else, simply deploy the contents of $JAVA_TOP/xx folder to your production.
report abuse
vote down
vote up
...
written by Rakesh S , July 25, 2008
written by Rakesh S , July 25, 2008
I created the Page,Menu,Functions and Grants as specified in the above document but i get prompted for login. Please let me know .
Votes: +1
report abuse
vote down
vote up
Why we use import / export
written by This e-mail address is being protected from spambots. You need JavaScript enabled to view it , April 29, 2009
written by This e-mail address is being protected from spambots. You need JavaScript enabled to view it , April 29, 2009
Hi,
After developing a page we are moving the page to the server. Then why r we using import to move the pages and regions. Why we r not using import for controller.
Thanks in Advance,
Jegan
Votes: +0
After developing a page we are moving the page to the server. Then why r we using import to move the pages and regions. Why we r not using import for controller.
Thanks in Advance,
Jegan
report abuse
vote down
vote up
guy
written by kc , June 24, 2009
written by kc , June 24, 2009
Where can I find the javadocs for oracle.jrad.tools.xml.importer.XMLImporter ?
Votes: -1
report abuse
vote down
vote up
Blank page loaded in response
written by Avinandan_apps , September 09, 2009
written by Avinandan_apps , September 09, 2009
We have a page that has been built on very simialr lines as the example above. The page works absolutely fine from a client system.
The problem happens when a user logs in to Oracle Applications (the general way) in one browser session and in another hits the url for the custom page.
The custom page is supposed to redirect to another page built on the same lines but instead it just loads a blank page .
This problem however does not happen in IE6 but happens in IE7 and IE8...
Could this be a problem with the browser cache? Kindly help..
Rgds,
Avinandan.
Votes: +1
The problem happens when a user logs in to Oracle Applications (the general way) in one browser session and in another hits the url for the custom page.
The custom page is supposed to redirect to another page built on the same lines but instead it just loads a blank page .
This problem however does not happen in IE6 but happens in IE7 and IE8...
Could this be a problem with the browser cache? Kindly help..
Rgds,
Avinandan.
report abuse
vote down
vote up
I have developed a Page that does not require login ,but I want to carry a parameter.
written by tom.cao , April 27, 2010
written by tom.cao , April 27, 2010
I want to carry a parameter.Because the page need to show different conents according to the parameter.Thanks.
Votes: +0
report abuse
vote down
vote up
Master-Detail Page
written by Saharya , September 23, 2011
written by Saharya , September 23, 2011
Hi,
I have a custom inventory report where I have a header region with the From Date and To Date column. The user enters these two dates and the data is displayed in the Table region between these two dates. Then in the item column I have a URL link which takes us to the Detail page. I need to pass the item number and the From Date and To Date in that link so the where clause can be set for the detail query. The attribute value for the item passes fine but I do not know how to pass the value for the dates. My URL looks like as below. I have tried different ways as mentioned in metalink or google search but no luck. Tried to capture the value also and it shows as the value as ‘$FromDate’.
OA.jsp?page=/xxbn/oracle/apps/xxbn/consignment/webui/ConsSaleDetailPG&ItemNumber={@ItemNumber}&FromDate=$FromDate&ToDate=$ToDate&retainAM=Y&addBreadCrumb=Y
Any help would be very much appreciated
Votes: +0
I have a custom inventory report where I have a header region with the From Date and To Date column. The user enters these two dates and the data is displayed in the Table region between these two dates. Then in the item column I have a URL link which takes us to the Detail page. I need to pass the item number and the From Date and To Date in that link so the where clause can be set for the detail query. The attribute value for the item passes fine but I do not know how to pass the value for the dates. My URL looks like as below. I have tried different ways as mentioned in metalink or google search but no luck. Tried to capture the value also and it shows as the value as ‘$FromDate’.
OA.jsp?page=/xxbn/oracle/apps/xxbn/consignment/webui/ConsSaleDetailPG&ItemNumber={@ItemNumber}&FromDate=$FromDate&ToDate=$ToDate&retainAM=Y&addBreadCrumb=Y
Any help would be very much appreciated
report abuse
vote down
vote up
Migrating Guest OAF page from 11i to R12 enforces sign on
written by Elaine Fortin , March 02, 2012
written by Elaine Fortin , March 02, 2012
Hi,
My Guest access OAF page in 11i works fine and migrates between 11i instances, but when migrated to R12, it wants the user to login. How does this migration to R12 differ so that Guest access is allowed?
Thanks,
Elaine
Votes: +0
My Guest access OAF page in 11i works fine and migrates between 11i instances, but when migrated to R12, it wants the user to login. How does this migration to R12 differ so that Guest access is allowed?
Thanks,
Elaine
report abuse
vote down
vote up





