Skip to Content
author's profile photo
Former Member

EPCFPROXY doNavigate

Hi all,

I insert an external HTML page into the EP 6.0. In this page there are some link to the PCD; I use the doNavigate method of the EPCFPROXY class but don't work.

I try other method for example getUAType() but the return value is null.

Following I attach my sample code:

<HTML>

<HEAD>

<script src="epcfproxy.js"></script>

<script language ="JavaScript">

var pos = document.domain.indexOf(".");

if(pos >= 0 )

{

document.domain = document.domain.substr(pos + 1);

}

function linkcFolder()

{

var url_progetto = 'ROLES://portal_content/EnelTerna/RuoliTerna/UtenteTerna/SDSA/GestioneCartelle';

EPCMPROXY.doNavigate(url_progetto);

}

function preventivo()

{

var url_preventivo ='ROLES://portal_content/EnelTerna/RuoliTerna/UtenteTerna/PreventivazioneStazioni';

EPCMPROXY.doNavigate(url_preventivo);

}

</script>

</HEAD>

<BODY>

<IMG SRC="SPI3.jpg" USEMAP="#SPI" WIDTH=639 HEIGHT=560 BORDER="0">

<MAP NAME="SPI">

<AREA ID="Preventivo" SHAPE="RECT" HREF="#" OnClick="javascript:preventivo()" COORDS="183,418, 260,440">

<AREA ID="ProgettiInCorso" SHAPE="RECT" HREF="#" OnClick="javascript:linkcFolder()" COORDS="18,313, 150,348">

</MAP>

</BODY>

</HTML>

<BODY>

Someone can help me?

Thanks in advance,

Stefano

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Posted on Mar 08, 2005 at 09:27 PM

    Hi Stefano,

    I also tried using doNavigate from html and got null so i used a direct call to the page i wanted to go to in this format: /irj/com.sap...?NavigationTarget = "ROLES://portal_content/EnelTerna/RuoliTerna/UtenteTerna/PreventivazioneStazioni"

    Try that ,

    hope it helps,

    Yoav

    Message was edited by: Yoav Toussia Cohen

    Add comment
    10|10000 characters needed characters exceeded