[AEM 6.2] Product console iteractions | Community
Skip to main content
Level 2
Jul 10, 2017 10:07 AM UTC
Solved

[AEM 6.2] Product console iteractions

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.
smacdonald2008
smacdonald2008Accepted solution
Level 10
Jul 10, 2017 2:06 PM UTC

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
Level 10
Jul 10, 2017 2:06 PM UTC

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

Translate