Join the OracleApps88 Telegram group @OracleApps88to get more information on Oracle EBS R12/Oracle Fusion applications.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.

Friday, March 16, 2012

Development and Deployment of OAF application


1. Develop the OAF application

2. Move the application to respective path ($JAVA_TOP) of Application
Server thru FTP in Default Mode

3. Move only .class files in binary mode again.

4. Run command prompt, change to the directory
DIRECTORYNAME:\JDeveloper\jdevbin\jdev\bin

5. Run following command for all UI OA objects like Page, Region, (.xml) ...
Example:
import PAGEPATHWITHFILENAMEWITHEXTN -username
DBUSERNAME -password DBPASSWORD - rootdir
CLASSPATHOFTHEPROJECT -dbconnection "(description =
(address_list = (address = (protocol = tcp)(host = DBHOSTNAME)(port =
DBPORT)))(connect_data = (sid = DBSID)))"

6. After getting successful message of importing,
Access the respective page or region using following URL:
http://HOSTNAME:PORT/OA_HTML/OA.jsp?page=MDSFILEPATH Or
else you can register the OAF page call as FND function as follows and
call it as mentioned below.

7. Registering FND function for calling OAF page:

8. Login into Application using Application Developer or Sys Administrator
Navigate to Application Front End.
System Administrator/Application Developer.
Application--> Function
Input Function, Function name, Description
Click on properties tab
Select type as SSWA jsp function
Click on Web HTML
Input following text in HTML Call
OA.jsp?page=MDSPAGEPATH
Save the page.

9. To test whether the OAF page is registered in MDS repository, execute
following script at sql prompt.
set serveroutput on;
exec jdr_utils.printDocument('MDSPAGEPATH');

10. Add this function name to the menu of any OAF responsibility from which
you want to call the OAF page.
Or you can directly access it as
/OA_HTML/OA.jsp?OAFunc=FNDFUNCTIONNAME

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect