cancel
Showing results for 
Search instead for 
Did you mean: 

HTML page link in an iView that call a Page...

Former Member
0 Kudos

<b>Obligatory Intro</b>

I am very new to KM and SAP so please bear with me as a clumsily explain my problem...

<b>My Scenario</b>

1. I created PAGE that contains a single iView - the iView is displaying a simple HTML page with text links.

2. I want those text links to load another PAGE I created that contains multiple iViews, into the same window.

3. I want to create the links in the HTML document not through some KM interface.

So my desired results are 1:Click text link - 2:New Page with iViews replaces existing page.

<b>What I have done so far...</b>

I have successfully linked to single iView via my text links like so...

<a href="http://<myServer.com>/irj/servlet/prt?prtroot=%2fglobal%2fservices%2fservice-iviews%2flocal%2fclientsidetoplevelnav&prttheme=newgbh&iviewid=<myViewID>&isolationlevel=4&usecache=false">My Text Link</a>

AND I have been able to load the page view by invoking a new browser window and loading a completly new iteration of my portal like so...

<a href="http://<myServer.com>/SAPPortal/?NavigationTarget=/global/pages/<my.page.id>" target="_top">My Text Link</a>

I can't seem to find a way to simply replace my current page view with my new page view by clicking the text link in the originating HTML document.

<b>My cordial plea for assistance</b>

Does any of that make sense? And if it does, can anyone offer some advice?

Thanks a bunch!

Tony Zerbolio

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thank you for your response. As I stated, I am very new to this world, however, I AM using KM but do not fully know how to refer to the various components, pages, iViews, etc... (hence my plea for patience with my inability to effectively describe my dilema).

I am going to review the document you sent and see if it holds the answers I seek - but for clarity's sake, I would like to take one more whack at describing my challenge.

I am creating 'pages' using KM functionality (km.browse, km.search, etc...) that are contained first in 'iViews', then placed within 'pages'. All of these pages are being displayed within our SAP portal under the top and second level navigation menus.

What I am trying to do is load a 'page' that contains multiple iViews into my portal space. The link that executes this page load is contained in an HTML document that I placed inside an iView. So ultimiately I am trying to determine the href and query I need to construct that calls a 'page' (not just another HTML page, but a PAGE created using 'content admin').

Anyhow, as I try again to state my problem I realize I may simply need to spend a lot more time with the guts of the Content Admin and KM Admin tools so that I can at least become conversant in the vernacular necessary to explain problems.

Thanks again!

--tz

detlev_beutner
Active Contributor
0 Kudos

Hi Tony,

still I think that EPCM.doNavigate (instead of using href directly; anyhow, you could also do that) is the standard way you are looking for.

Best regards

Detlev

Former Member
0 Kudos

Thanks again! I obviously have a LOT to learn and I appreciate you taking the time to help.

--tz

detlev_beutner
Active Contributor
0 Kudos

Hi Tony,

> Thanks again!

You're welcome!

> I appreciate you taking the time to help

I would believe this even more if you would follow my advise to consider rewarding points for helpful answers by clicking the appropriate buttons...

Best regards

Detlev

Former Member
0 Kudos

Detlev,

Allow me to proclaim my newness as a weak explanation for my oversight regarding rewards. I believe I have rectified that situation now.

Allow me to offer what I discovered as well.

1. My question, as you pointed out, was more appropriate to the Enterprise Portal section, not KM. I was confused because I am developing pages with KM functionality in our portal, but the problem I was facing has nothing to do with KM functionality at all.

2. What I found was that if I formatted a standard HTML href like so:

<href="http://< myServer.com >/< moreServerPath >/< stillMoreServerPath >/Action/PageBuilder[myPage]?pageName=< my PAGE ID >&navPageID=< my NAV ID > target="Desktop">

All was well in my world. So following that method, I was able to load a PAGE (created using Content Manger) that contained iViews (again, Content Manager), into the main portal Desktop area (the frameset is named "Desktop") and have my portal site behave the way I wanted it to behave.

No nested framesets - no new browser spawns - content loading where content should load - all iView, KM modules, etc. intact.

Thanks again!

--tz

detlev_beutner
Active Contributor
0 Kudos

Hi Tony,

not everything of your description is very clear (for example, why you are posting in KM forum if you don't want to use KM...), but:

For your need to create a link which in the end navigates to another page, EPCF navigation is the standard way, so just read this and around, and should contain everything you need: http://help.sap.com/saphelp_nw04/helpdata/de/26/71c74030308431e10000000a1550b0/frameset.htm

Hope it helps

Detlev

PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!