[AEM 6.2] Product console iteractions | Community
Skip to main content
New Participant
July 10, 2017
Solved

[AEM 6.2] Product console iteractions

  • July 10, 2017
  • 1 reply
  • 712 views

Hi Team!

Pretend that we are in product A console and it has a hyperlink field to another product B console, which simply calls

<host>:<port>/libs/commerce/gui/content/products/properties.html?item=<path-to-another-product>

If we jump from A to B using the link, then header.Referer will store value of link to A, which is correct. Clicking on 'Close' button we'd like to get back to Products list page, however we return to product A console. This happens because product properties node has the following field.

backHref (String) = ${empty header.Referer ? granite:concat("/aem/products.html",

granite:encodeURIPath(granite:relativeParent(param.item, 1))) : header.Referer}

Is this a bug? What would you suggest to make the console return to Products list page? Should we override 'Close' button configuration?

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

If you believe this is a bug - i encourage you to open a ticket. This type of information is not documented.

1 reply

smacdonald2008
smacdonald2008Accepted solution
New Participant
July 10, 2017

If you believe this is a bug - i encourage you to open a ticket. This type of information is not documented.