Expand my Community achievements bar.

SOLVED

[AEM 6.2] Product console iteractions

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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