コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

API for Overriding the page

Avatar

Level 4

Hi All,

I have a doubt in overriding the page during copying page from source to destination.

Suppose TShirt page exists in source and destination area. 

My TShirt  page structure in crxde as follows

TShirt

TShirt —> jcr:content 

TShirt —> jcr:content  —> header

TShirt —> jcr:content  —>  par

TShirt —> jcr:content  —>  par —> image

TShirt —> jcr:content  —>  par —> link

I have modified some content(added some component. Hence contents under par node are changed) in the page at source area…

While copying the page from source to destination, the revision should be created and page content should be updated in destination.

Is there any API available for overriding the page(content should be modified) or we need to change each node manually ?

Please note that version history should be maintained after overriding the page. Thanks in advance !!!!!!!

1 受け入れられたソリューション

Avatar

正解者
Level 8

I am not sure I fully understand you use case, but it sounds to my like what you are describing is something that falls under the Multi-Site Manager functionality. 

In you use case you have the same page in two locations, and one is the master and the other is a copy of the master and  you want to be able to keep the copy in sync with the master? If so you wouldn't do a traditional copy you would be looking using the Live Copy functionality in Multi-Site Manager and then do a rollout. See https://docs.adobe.com/docs/en/aem/6-1/administer/sites/msm.html for details. This is really an API so much as a feature of the product. Multi-Site manager rollouts provide the ability to modify the content during a rollout (changing the template for example). Not sure if this is what you are looking for or not.

元の投稿で解決策を見る

3 返信

Avatar

Level 10

Avatar

正解者
Level 8

I am not sure I fully understand you use case, but it sounds to my like what you are describing is something that falls under the Multi-Site Manager functionality. 

In you use case you have the same page in two locations, and one is the master and the other is a copy of the master and  you want to be able to keep the copy in sync with the master? If so you wouldn't do a traditional copy you would be looking using the Live Copy functionality in Multi-Site Manager and then do a rollout. See https://docs.adobe.com/docs/en/aem/6-1/administer/sites/msm.html for details. This is really an API so much as a feature of the product. Multi-Site manager rollouts provide the ability to modify the content during a rollout (changing the template for example). Not sure if this is what you are looking for or not.

Avatar

Level 10

As @orotas mentioned, it would be a case of livecopy. However can you explain your usecase of overriding a page !