Override com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory
Hello Team,
We need to allow jcr:title property for live copy creation. In order to do so, we are thinking to add this configuration at code level.
I tried to do in below ways:
1) Create a file under /apps/myproject/osgiconfig/config/com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory.amended-custom.xml
Content:
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
cq.wcm.msm.action.excludednodetypes="[cq:LiveSyncConfig,cq:BlueprintSyncConfig,cq:LiveSyncAction]"
cq.wcm.msm.action.excludedparagraphitems="[cq:propertyInheritenceCancelled]"
cq.wcm.msm.action.excludedprops="[jcr:(?!(title)$).*,sling:.*,(?!cq:tags)+cq:.*,hashValue]"
cq.wcm.msm.action.ignoredMixin="[.*]"/>
2) Create a file under /apps/myproject/config/com.day.cq.wcm.msm.impl.actions.ContentUpdateActionFactory.amended-custom.xml
and file content is same as of Step 1.
NOW,
When I check in config manager,
It shows me 2 different configuration with same name and still not able to sync jcr:title in live copy pages.

What Am I missing here?
Thanks in advance.
Regards,
AP