Hi.
Portal version: EP 6.0 NW 04
Question:
We have a page containing two or more iViews. One of the iViews is a URL iView showing some links. Is it possible (standard wise) to set up one of the other iViews on the same page as content target for the links in the first iView?
Simple example:
I have an iView on my page showing a link to www.google.com. When I click on that link the Google webpage is shown in another iView on the same page.
Thanks in advance.
BR Søren
Hi Søren,
One of the iViews is a URL iView showing some links
Do you really mean "URL iView", ie an iView just passing through the content from some webserver defined per URL?
If yes -> No, you can't.
If no -> Yes, you can, by using EPCF for example. If a link gets clicked, raise a LinkeClickedEvent to which the second iView must have registered. On such an event, pass the chosen URL, and now the second iView can show up the content within an inner iFrame.
Hope it helps
Detlev
Hi Søren,
If you can set the target for all urls then there is no problem.
For standard web development you can use the following:
Iview 1 (links):
Let's say your link to google looks like:
Iview 2 (display frame): (name should be "frame2")
nothing to do here 😉
However: SAP Portal works with iFrames. Here is an example how you can point to it:
http://www.faqts.com/knowledge_base/view.phtml/aid/2075/fid/124
Good luck!
Noel
Add a comment