내 커뮤니티 업적 표시줄을 확대합니다.

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

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Operations on a page by means of program

Avatar

Level 9

Hi All,

I have tried the code[present in the attachment] in my eclipse, wherein I am able to add/remove a mixin[for example: cq:LiveSync] to the jcr: content of a page[OOT 5.6.1 instance].

Likewise, I would like to do operation mentioned below, on the page

a] Restore[same functionality as available in MSM]

This options is available in MSM control center, bue due to some limitations we will not be able to make use of it.

Can anyone please provide inputs/sample code to achieve this objective.

Any feedback will be really helpful.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

when you delete just an place holder ghost is created. To restore update the placeholder.

원본 게시물의 솔루션 보기

4 답변 개

Avatar

정확한 답변 작성자:
Level 10

when you delete just an place holder ghost is created. To restore update the placeholder.

Avatar

Level 9

Hi Sham,

Thanks a lot for your reply.

I am sorry, but I could not get your point. Can you please explain this in detail.

I completely understand that nobody will provide ready made stuffs, but if you can provide sample code/steps, as to how this can be done. It would be really helpful.

Avatar

Level 9

Hi Sham,

Update :

In the above code[present in the attachment] adding a line

root.remove() removes the corresponding node/page. 

Avatar

Level 9

Hi Sham,

Any thoughts on my above queries/posts will be really helpful.