Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
Level 1
Level 2
Melden Sie sich an, um alle Badges zu sehen
Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.
As part of one of the requirements in our site, we need the published date of an asset to be present in the Publish environment. Is there a way to permanently disable ReplicationPropertiesFilterFactory?
Gelöst! Gehe zu Lösung.
Zugriffe
Antworten
Likes gesamt
Hi
cq:lastReplicationAction, cq:lastreplicated and cq:lastReplicatedBy properties are not carried over to publish by design. In order to carry over these properties disable the below component in author instance com.day.cq.replication.impl.ReplicationPropertiesFilterFactory
http://localhost:4502/system/console/components
Zugriffe
Antworten
Likes gesamt
Hi
cq:lastReplicationAction, cq:lastreplicated and cq:lastReplicatedBy properties are not carried over to publish by design. In order to carry over these properties disable the below component in author instance com.day.cq.replication.impl.ReplicationPropertiesFilterFactory
http://localhost:4502/system/console/components
Zugriffe
Antworten
Likes gesamt
Excellent response!
Zugriffe
Antworten
Likes gesamt
For the publish date, you could use the more recent of jcr:created or jcr:lastModified on recipient server.
Zugriffe
Antworten
Likes gesamt
Hi Arun,
We have done this.However, this component gets enabled whenever the server restarts. Is there a way to make it not getting enabled on Server restart?
Zugriffe
Antworten
Likes gesamt
Hi,
Could you please try below to stop component permanently.
add component is below config From OSGi config manager
OR
Define a sling:OsgiConfig
/apps/mysite/config/com.adobe.acs.commons.util.impl.ComponentDisabler.xml
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="sling:OsgiConfig" components="[pid1,pid2]" />
components
is an array of the OSGi component PIDs to disable.
Thanks
Arun
That works.Thanks a lot, Arun.
Zugriffe
Antworten
Likes gesamt
Zugriffe
Like
Antworten
Zugriffe
Likes
Antworten