MSM - Delete a livecopy page | Community
Skip to main content
Level 4
May 10, 2024
Solved

MSM - Delete a livecopy page

  • May 10, 2024
  • 1 reply
  • 1320 views

Hi Community!

 

I've got a blueprint homepage, /content/blueprint/en/en, with many subpages (let's say 50).

Then, I've got a lot of livecopies, like /content/livecopy-x/en/en (where x is different for each livecopy).

 

The initial status is that all livecopies are in sync with the blueprint.

Then, I delete a page in the blueprint (/content/blueprint/en/en/pageToDelete).

 

As far as I know, the only way to delete this page in the livecopies branches, is to rollout /content/blueprint/en/en with the option 'Rollout page and all subpages'.

With 100 livecopies, that means 50x100=5000 pages being rolled-out.

 

Is there any way to delete the 'pageToDelete' page in all the livecopies without being to rollout all the pages?

 

Thank you very much!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Harwinder-singh

@julio_baixauli You can create a simple groovy script that accepts a list of Blueprint pages and based on that deletes pages from both Blueprint and corresponding livecopies. if the pages are to be deleted from both Blueprint and livecopy then the script execution should be fine.

1 reply

TarunKumar
Community Advisor
Community Advisor
May 10, 2024

Hi @julio_baixauli ,

Deleting pages in a blueprint will result in corresponding pages being deleted from live copies after rollout with standard rollout configuration.
I assume if your blueprint page has child page related to language child page then may be you can trigger roll out for specific root language page.

Something like below, select only specific language copy where you want roll out to be done.

 

 

Thanks
Tarun

 

Level 4
May 10, 2024

Hi Tarun.

 

Yes, in my example, I was using the English homepage /content/blueprint/en/en, and rollingout just this language branch.

 

But we have 50 subpages under this branch, and 100 livecopies (this is just an example, could be more). As far as I know, to delete the /content/blueprint/en/en/pageToDelete, I must rollout /content/blueprint/en/en, and select the option 'Rollout page and all subpages' (not unselected, as in your screenshot). That means rolling out 5000 pages. Is there any way to delete the page in the livecopies, without rolling out all the pages under English branch?

 

Thank you very much!

Harwinder-singh
Community Advisor
Harwinder-singhCommunity AdvisorAccepted solution
Community Advisor
May 10, 2024

@julio_baixauli You can create a simple groovy script that accepts a list of Blueprint pages and based on that deletes pages from both Blueprint and corresponding livecopies. if the pages are to be deleted from both Blueprint and livecopy then the script execution should be fine.