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