Article ID: 118436, created on Nov 5, 2013, last review on Apr 23, 2016

  • Applies to:
  • APS 2.x

Symptoms

I have an application that works fine until I create two instances of the same resource, after that navigation via aps.apsc.gotoView stops working, an error

"Navigation element not found (View: http://example.org//application/account.edit-notify#41;"

is displayed.

Cause

Resource instance identifying information is not sent to view, as a result POA cannot render it.

Resolution

Pass resource id to aps.apsc.gotoView via a variable:

aps.apsc.gotoView("account.edit-notify", aps.context.vars.account.aps.id);

Note: variable 'account' has to be defined in navigation in APP-META.xml.

More on navigation in documentation.

717db81efe94e616312b74fb03a5d474 70bf700e0cdb9d7211df2595ef7276ab

Email subscription for changes to this article
Save as PDF