Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Page after move workflow source code

Avatar

Level 8

Hi 

we would like to to change URL of the page without republishing the references so unticked the “republish” box for the pages seen in the screenshot but they got republished regardless.

Vani1012_0-1705933325298.png

 

Actually its working fine on the OOTB workflow.

Can anyone share the ootb code for the workflow, it helps me how they are skipping republising when republish checkbox is unchecked.

 

Thanks,

Vani

 

5 Replies

Avatar

Level 9

@Vani1012: If the reference page(s) were previously activated, then ideally they should be re-published as well otherwise you will start to see broken links on them.

Maybe you can create some new test pages which refer your <page-to-be-moved>. Ensure you have not published those test pages. Then try to un-check the 'Republish' box while moving the same page and see if it still re-publishes the reference pages.

For page move, documentation says:

 

If the page was already published, moving the page will automatically unpublish it. By default, it will be republished when the move is complete, but this can changed by unchecking the Republish field in the Adjust/Republish step.

 

Please refer: https://docs.mktossl.com/docs/experience-manager-65/content/sites/authoring/authoring/managing-pages...

 

Please let me know if I have misunderstood your use-case.
thanks.

Avatar

Level 8

@Kamal_Kishor 

If the page was already published, moving the page will automatically unpublish it. By default, it will be republished when the move is complete, but this can changed by unchecking the Republish field in the Adjust/Republish step.

Yes to change I unchecked republish option eventhough it is publishing.
Actually there is no problem in the OOTB, Can you share the code of that functionality.

 

 

Avatar

Administrator

@Kamal_Kishor Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni