Skip to Content
author's profile photo Former Member
Former Member

doRelativeNavigate problem

Hi,

I'm trying to use the doRelativeNavigate method in EP6 SP9 and I cannot seem to get it working. Can anyone see

any errors in my code:

<input type="button" class="button" onClick="return
EPCM.doRelativeNavigate('ROLES://portal_content/com.client.client_portal_content/com.client.Fd_Dashboard/com.client.fd_dashboard_roles/com.client.dashboard.ro_owner/Dashboard/com.client.dashboard.pg_dashboard/com.client.dashboard.ivpar_finance_front_page',2,{'com.client.dashboard.pg_finance'})"
value="View Finance Reports">

Essentially clicking on this button on the homepage of

the site should take you to this finance reports page. The page's ID is com.client.dashboard.pg_finance, however the above fails to work. When i click on the button nothing happens and even before that, simply loading the page gives the following javascript error:

Line: 256
Char: 270
Error: Expected ':'
Code: 0

This error appears only when the doRelativeNavigate method is used in the button, so the error must be related to the javascript used in the button.

Anyone have any ideas?

Thanks a lot,

Ale

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 01:31 PM

    Hi

    You may be missing the semicolon at the end for the return

    EPCM.doRelativeNavigate. Try it with semicolon at the end

    ......pg_finance'});"

    Regards

    Geogi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 01:35 PM

    Hi, i found out the problem was the way i was sending the list. Essentially i need to have ..,'{com.client...}') instead of ..,{com.client...}).

    Thanks for the reply, it came in about 2 seconds after i discovered the bug 😊

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.