We have commerce section and a blue print set up which fetches the
products list from a query and creates live copies based on the template
pages.For the first time when we do a roll out, all the live pages are
created and they are in sync with the template pages. But when there is
a new product in the commerce section and we try to do a roll out on the
parent, it is not creating live copy for the newly added product.
Following statements are obtained from msm log:15.08.2018 15:59:33.483
For all those who are facing this issue, we managed to resolve it by
providing a dummy product component in the live copy pages. Added it to
the templates as well so that the new pages will contain it by
default.It is just an empty component. Basically the MSM framework
checks for the resource 'product' with mandatory property:
'cq:commerceType', value: 'product'.
We have a requirement to dynamically populate a list in an inner
component based on the content of the parent component. So, I have a
component say abc, with a property value authored as (key:p1, value-v1).
In the dialog of the child component of abc component, I am including a
data source to fetch a dynamic list. Now this dynamic list has to be
created based on the p1 property set in the parent component i,e abc.Can
someone help me out here as to how to fetch the current component