Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to handle scenario where changes are made to product data under etc/commerce imported from PIM.

cquser1
Level 8
Level 8

Hi All,

We have products imported from PIM into AEM and placed under etc/commerce.

A workflow is present which generates the pages, if manually run once certain id's for products under etc/commerce are provided as input to workflow.

Suppose, we have few products which are updated at a later point of time. The product changes have to get reflected on the page.

How should we approach this.

Any thoughts/pointers on this will be helpful.

1 Accepted Solution
Nupur_Jain
Correct answer by
Community Advisor
Community Advisor

Hi,

No need to customize it, path field is writable also , just write the path regex like "/etc/commerce/.*" to apply the launcher to every child under /etc/commerce .

You can also take examples from various launchers created there in launchers tab.

Hope this helps!

Thank you!

Nupur

View solution in original post

4 Replies
smacdonald2008
Level 10
Level 10

Does your AEM app not reflect the current data? 

Nupur_Jain
Community Advisor
Community Advisor

Hello,

I am expecting that you would be using launchers for worflow model.

Launchers allows us to run the workflow on updation on node as well. you can create the workflow on node updation under etc/commerce and let workflow replace the page with new updated page.

Hope this helps!

Thank you!

Nupur

cquser1
Level 8
Level 8

Hi Nupur,

Thank you for your reply.

I see that the Path field in Workflow Launcher Configuration is able to select paths only under websites and not etc folder.

So, probably it is restricted to only paths under /content or customization is to be done to accommodate paths under etc folder?

Nupur_Jain
Correct answer by
Community Advisor
Community Advisor

Hi,

No need to customize it, path field is writable also , just write the path regex like "/etc/commerce/.*" to apply the launcher to every child under /etc/commerce .

You can also take examples from various launchers created there in launchers tab.

Hope this helps!

Thank you!

Nupur

View solution in original post