Skip to Content
Former Member
Dec 01, 2005 at 04:14 PM

Open iview in Central Area: EPCM.doNavigate


Hi All,

The homepage of our portal contains a lot of iviews. One of these iviews is a km document iview, displaying an html document created in km. This km document should contain links towards portal iViews. When the user click onto a link, the approriate iview should open in the central area (NOT in a seperate window).

After same reading I concluded that the ideal way was via the EPCM.doNavigate() command. So I started a testcase.

The iview I wanted to open is located at pcd:portal_content/be.jorvbcm.developments/be.jorvbcm.iViews.iViews/Prikbord/be.jorvbcm.PrikbordBrowserAll

The html page looks like:




<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">

<!-- EPCF: BOB Core -->

<META http-equiv="Content-Script-Type" content="text/javascript">

<SCRIPT src="/irj/portalapps/"></SCRIPT>



<SPAN class=urFontStd>

<SPAN class=urTxtStd>


<SPAN class=urFontStd>

<SPAN class=urTxtStd>When clicking this URL a new iView should be loaded in the central area... .




<A HREF="#"

onclick="return EPCM.doNavigate('ROLES://portal_content/be.jorvbcm.developments/be.jorvbcm.iViews.iViews/Prikbord/be.jorvbcm.PrikbordBrowserAll')">

This is an HTML Link







However, when I click the link a javascript pops up telling me that I can not access the requested source.

Also, when I fill in anything different from "#" into HREF (for example "myLink"), I get the following exception:


#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: myLink.default

Anyone an idea what I am doing wrong en how I can solve it?

We are currently working on Portal6.0 SP14.

Kind regards