Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
In com.day.cq.wcm.msm.api.RolloutManager, updateRolloutInfo method as per documentation it says Update rollout info on the node
.
Can I know what are the properties in the node it is updating?
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Hi Arun
I found in the implementation class what the method it is doing.
Vistas
Respuestas
Total de me gusta
Page rolloutthispage = pageManager.getPage("/content/geometrixx/en/toolbar"); //source page RolloutManager.RolloutParams rolloutparams = new RolloutManager.RolloutParams(); rolloutparams.master = rolloutthispage; rolloutparams.isDeep = true; //rolloutmanager is an OSGI service so using here sling.getService to have a reference com.day.cq.wcm.msm.api.RolloutManager rolloutManager = sling.getService(com.day.cq.wcm.msm.api.RolloutManager.class); rolloutManager.rollout(rolloutparams);
void updateRolloutInfo(Node node, boolean deepUpdate, boolean autoSave) throws WCMException
node
. To use after a rollout operation.node
- Node to updatedeepUpdate
- Children of the node can be updated by setting deepUpdate
to true.autoSave
- Save modifications
Page rolloutthispage = pageManager.getPage("/content/livecopy/en/toolbar"); //livecopy page com.day.cq.wcm.msm.api.RolloutManager rolloutManager = sling.getService(com.day.cq.wcm.msm.api.RolloutManager.class); rolloutManager.updateRolloutInfo(rolloutthispage.adaptTo(Node.class),true,true);
Vistas
Respuestas
Total de me gusta
Hi Arun
I did the same But one thing I need to know is which all properties are created or updated on the node after updateRollOutinfo.I am not able to find the exact implementation class to check those. If you can let me know, it would be helpful.
Thanks
Dillibabu
Vistas
Respuestas
Total de me gusta
Vistas
Respuestas
Total de me gusta
Hi Arun
I found in the implementation class what the method it is doing.
Vistas
Respuestas
Total de me gusta
Vistas
me gusta
Respuestas
Vistas
me gusta
Respuestas