OA Framework - All Articles
  • Register

Oracle Gold Partners, training schedule is listed here designed by Five Star Rated Oracle Press Authors & Oracle ACE's.

Fusion Apps Linkedin  |  Like us on Facebook  |  Get notified for our new articles  |  Twitter  | Linkedin Page | YouTube

 

User Rating: 5 / 5

Star activeStar activeStar activeStar activeStar active
 

There are various ways to embed a custom region/section or external HTML contents into an OA Framework page using either personalization or
extension or a combination of both. If your requirement is to embed a custom OA Framework region [stacklayout] into another standard OA Framework
page, then use the approach detailed in this link [has video demo]. You will use listed stacklayout approach only when you wish to embed dynamic
contents, i.e. commonly displaying/changing data from database. However, sometimes your requirement is very simple. Your business requirement
could be to embed a fairly static HTML page into your OA Framework page of existing application. You can achieve this requirement by means of
simple OA Framework personalization. However there are different techniques of doing such personalization.
Each such technique has its own pros and cons and is discussed in this article, with some video demos.


How do you do this personalization?

There are two approaches.
Option 1
Use personalization to create a new item of type Raw Text.
In this case, you can embed a HTML section by simply creating a new item of style "Raw Text" using personalization.
For video demonstration of adding Raw HTML Text using personalization see this link


Option 2

Use "URL Include" styled item to include a HTML page deployed in $OA_HTML directory on mid-tier.
Using this approach, your steps will be
1. Ensure that a page named lets say xxAppsPONews.htm exists in $OA_HTML
2. Personalize the OA Framework page into which you wish to embed xxAppsPONews.htm
3. When personalizing, click on create new item of style "URL Include"
4. In the Source URL Property, specify OA_HTML/xxAppsPONews.htm
The benefit of this approach is that you do not need to modify the underlying OA Framework page.

 

Option 3
Use "URL Include" to include/embed contents of an external HTML page that is deployed on some external website/server.
Using this approach, your steps will be
1. Ensure that a URL exists lets say that the URL is
http://www.apps2fusion.com/training_demo/anilpassi/html-using-personalization/oaf-1/xxExternalNews.htm

2. Personalize the page into which you wish to embed this xxExternalNews.htm
3. When personalizing, click on create new item of style "URL Include"
4. In the Source URL Property, specify http://www.apps2fusion.com/training_demo/anilpassi/html-using-personalization/oaf-1/xxExternalNews.htm

To see the video demo of this URL Include option, use this link
As per the above URL, the contents of external HTML page will be embedded within OA Framework page.



Option 4
Add a new item, i.e. Formatted text which points to a message dictionary message.
This message text can have HTML tags embedded within itself.
The item style "Formatted Text" will reference FND Message Short Name, to display its text.


Give me one business example of how this can be used?
Lets that you have implemented iProcurement and you wish to embed important purchasing policy on top of iProc home page.
If your purchasing department wants flexibility to change the contents of that announcement or PO News, then we can let
them maintain an html page on their purchasing portal. Next, personalization of type "URL Include" in OA Framework will reference
the page that is maintained by your purchasing department.
The contents of that Purchasing HTML page [xxExternalNews.htm] will get embedded into your OA Framework page.

 

Will this external Purchasing News page reside on Mid-Tier of eBusiness Suite or can this html page reside on any external server?
Both these options are available, as evident from Option 2 & Option 3
If your external page
OA_HTML/xxExternalNews.htm
However, if your external page resides in
http://www.apps2fusion.com/, then "URL Include" item should have its "Source URL Property" set to
the complete URL http://www.apps2fusion.com/training_demo/anilpassi/html-using-personalization/oaf-1/xxExternalNews.htm


What are the benefits of URL Include over other options i.e. Raw Text and Message Dictionary Text
Advantage 1

Once your URL include is implemented, no further changes are required to OA Framework personalization.
Advantage 2
As in this example, purchasing department can independently maintain the contents of sub-section of OA Framework page without any dependency on your IT Department.

In case you have implemented Custom Look and Feel, then your external pages must also be be changed as per look and feel of OA Framework pages.

 

Any drawbacks of URL Include approach?
There have been known issues with display of URL Include html contents when SSL has been implemented.
This can cause SSLException: SSL handshake failed: X509CertChainIncompleteErr
Instead of trying to resolve this issue, you should rather use other options listed in this article.



My client wants different HTML contents depending upon the language of the user's session?

In this case, I suggest you use Option 4, as messages are multi-lang enabled.
If your message text is very big, then consider splitting your html contents into multiple FND Messages.

 


Do I need to have < head>, < html> & < body> tags in the external html page?
It makes no difference whether you have those tags or not in the external page.
For this demo, xxExternalNews.htm had no head or body or html tags



Can I use Form fields/input fields in my external HTML content?
You must not use forms or input fields into the external HTML Contents.
Reason being that if your external html performs "form post", then it is OA Framework page that gets submitted.
The fields values within external html page will not be captured within page Context of OA Framework page.


 

Comments   

0 #1 Murthy Kodavati 2008-07-15 04:59
Hi Anil,

This issue is not related to this article but posting here...as this one is on the top of article stack...

I am trying to create a tree in OAF and I am facing a strange issue.
1.I am trynig to create a page to represent the PO hierarchy.
PO header
->> Po LInes
->> PO Distributions

Q1:Can we use tree to represent different type of objects( a header,a line etc?)


If Yes...

I created a parent node and a child member for the parent I have the Header Vo
and for the child I gave the View LInk accesor of HeaderVo and LinesVO

Q2:I am not able to see the data in the child node label,I can see three grapical lines for the 3 lines that are there for the PO

Any help on how to solve this issue will be appreciated and of great help!!

Cheers,
-Murthy
Quote
0 #2 Prabhakar Somanathan 2008-07-16 03:11
Hi,
As per my understanding on HGrid, Hgrid is used to show hierarchy of data.
So hgrid will have a column to navigate down/up the hierarchy and other columns to display the common properties.

In your case u want to show line and distribution within header record. The columns in Header is not going to match with the columns in lines or distribution. Hence u cannot use Hgrid.


You should use a Show/Hide advance table. The advance table will show the Header records. When you expand the header records u can see two tables showing the line and distribution. To do this will have to create viewlinks between header and lines and header and distribution.

Hope this helps you.

Please post your future doubts in OA Framework Extensions and Customizations forum in http://apps2fusion.com/forums/
Quote
0 #3 harikiran 2009-02-09 07:27
Hi,
I have a peculiar requirement.
I'm creating a new Message Text Input field (say msgInA) using personalization in a table as a new column.
This field is populated by the processRequest in Controller.
Then i shall add a link as another column to the table using personalization . Can i use the value in the msgInA field in the destinationURL of this link?

I'm doing this as a workaround to extend a standard page.
Quote
0 #4 muhtre 2009-05-21 09:53
People hate what they Fear are you fucking reatardet .I dont need to be scary for a console who sells nearly less as the half then the XBOX360 rapid4me.com/?q=XBOX360 and the the fucking Halo Plagiat Whakzone2 but you know what fuck of we all know it the press knows it the gamer knows it and i know it but i know when i dont like something i lie to hide it.
Quote
0 #5 Sreedevi 2009-10-19 04:26
Hi,
I have the following client requirement :
Client has Siebel page and on click of the url, the oracle apps login page needs to pop up. After authentication the Transaction Page (an oaf page from Customers Online) with the data needs to be displayed. The parameter partyId would be passed in the url.

I have built the following url:
http://nacdell13.idc.oracle.com:8000/OA_HTML/RF.jsp?function_id=1025214&resp_id=60067&resp_appl_id=879&security_group_id=0&lang_code=US&party_id=4429

This works as expected but the IDs(function_id ,resp_id,resp_a ppl_id) would change from instance to instance. Hence this cannot be exposed to the client.

Please let me know the solution for the same.

Thanks,
Sreedevi
Quote
0 #6 Tim 2010-05-28 05:52
Hello,
I am trying to skin the iRecruitment visitor homepage that includes some custom HTML.
The HTML is held externally and when I implemented it the page loads about a third of the page and then hangs. The personalization link (which I need to reset the page will not load at all (returns no HTML). Any idea why this is the case? Would it be necessary to reset this on the database itself?
Any help appreciated.
Th anks,
Tim
Quote
0 #7 Niraj.shah 2010-09-23 01:59
I am facing similar problem

i have 3 frame page

1. topframe page ( passing parameter from here to start framepage)
in the 1 region i have 2 independent items linked to lov which popluate the search criteria for user.
in another region i have 1 submit button and in the destination url property i m pasing startpage frame + parameters as url
2.start frame page (which has tree)
3.center frame page (which displays the tree link data)

its same like employee 3 frame turotial

the problem is it calls the startframe page but it doesnt shows a null parameters. I have tried to investigate the issue but not able to find it.
Any help in this case is appretiated

Th annks & Regards
Niraj Shah
Quote
0 #8 dexter season 2011-05-12 02:32
The season 6 additions for Showtime’s killer drama Dexter continues. Today rapper/actor Dante “Mos Def” Smith joins the cast for the show’s sixth season.

The multi-episode role will be a typical one for Dexter: Mos Def will play an ex-con who’s had a spiritual conversion, yet continues to find himself in the middle of Miami’s violent criminal underworld. Dexter Morgan will, naturally, expose him. No points for guessing how that one ends.

Mos Def is the second new actor confirmed for Dexter, after dexter dvd Colin Hanks’ casting was announced earlier this week. Few details are available on Hanks’ role – spurring speculation that he may be one of the villains in Season 6.

While many singers and rappers try their hands at acting, Mos Def has fared better than most. He’s taken parts in movies like 16 Blocks, Monster’s Ball and the remake of The Italian Job, as well as a memorable role as Ford Prefect in The Hitchhiker’s Guide to the Galaxy.

He’s also made the rounds on the small screen. After comedic parts on Chapelle’s Show and The Boondocks, he took a role opposite Alan Rickman in the HBO movie Something The Lord Made. His portrayal of Vivian Thomas, a janitor turned medical researcher, earned him a nomination for both an Emmy and a Golden Globe.

michael c hall dexter season 6

Dexter still has plenty of roles left to fill, according to casting information put out by Showtime. Season 6 will shy away from the show’s reliance on a ‘Big Bad’, a formula that’s worked for several seasons – but has fans hoping for a little variety. According to Showtime president David Nevins, the new year will see Dexter “getting back to his roots.”

To that end, the network released a teaser video to whet fan appetites. There’s nothing dexter season new in the video, but considering that it features the shocking Season 4 finale and promises more, one can’t help but be excited for what comes next. Dexter begins filming later this month.
Quote
0 #9 Logo Design 2011-07-13 09:14
This is a great post. I have an extremely simple webView application, and I would like to pass the URL in via a get operation. logo design
Quote
0 #10 zentai suit 2011-07-19 22:39 Quote
0 #11 zentai suit 2011-07-19 22:39 Quote
0 #12 glass dining table 2011-07-21 05:50
This site have a great work and also this site is very informative fro the dining tables and tables i like this sit info.
Quote
0 #13 Maryabc 2011-08-03 04:55
I have an extremely simple webView application, and I would like to pass the URL in via a get operation.
club penguin cheats
Quote
0 #14 Ranjeet Kumar Bhatia 2012-08-06 01:26
I am beginners in OA Frameworks i done a search page with OAF it is working fine but now i want to Perform DML Operation (Insert/Update/ Delete) with OA Framework Jdeveloper 9.0.3.
Please guide me step by step with example.
Quote

Add comment


Security code
Refresh

Search Trainings


Enquire For Training

Related Items

LOGIN

About Apps2Fusion

Apps2Fusion are passionate about training. Trainnig is our core business and we have been doing this for many many years. We thrive to meet expectations of our trainees. We work hard to ensure trainees get the right courses sold to them, with advise for their career paths. We have helped many consultants in past with training & mentoring and  we have helped them achieve great heights. We could help you as well. Get in touch with us.