Expandir minha barra de realizações na Comunidade.

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

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

Need to copy blueprint programmatically and modify properties value...

Avatar

Level 2

Hello, I am looking forward to copy and modify node / property values via sling post. I am not sure which path to take. What I need to copy blueprint programmatically and modify property values. I have gone through the sling manipulating content. Please do share if any good example.

1 Solução aceita

Avatar

Resposta correta de
Level 10
4 Respostas

Avatar

Level 10

When you say copy blueprint and change the property value, can you let us know your use case ?

Are you trying to create live copy programmatically ?? Usually Blueprint will be created so that the business authors can use the same while creating new sites.

Avatar

Level 2
Not live copy. Second trying to attempt to create programmatically to create new site. I know page manager class with sling post is the answer however was looking if anyone has done to share learning example would help to reach faster. Thanks.

Avatar

Administrator

Hi 

Your can go through this article :- https://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html

In this article we are taking form values and sending them via AJAX post request and creating node corresponding to them.

I hope this would help you.

 

Else

 

you can create OSGi service and can modify node accordingly Link:- https://helpx.adobe.com/experience-manager/using/programmatically-accessing-cq-content-using.html

I hope this would help you.

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Resposta correta de
Level 10