Expand my Community achievements bar.

SOLVED

Create version of DITA programmatically

Avatar

Level 3

In AEM Guides Editor Console, there is a button to save the dita/ditamap as a new Version. 

ravir73578276_1-1697212789174.png

 

I have a requirement to create version of dita document programmatically based on updated event.

How can I achieve this programmatically?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

@ravir73578276 : DITA assets are AEM Assets only. So such operations like version creation uses AEM general Asset management APIs.

You can refer Java API documentation for Assets Version Manager: https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/adobe/granite/ass...

 

I hope this answers your query.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

@ravir73578276 : DITA assets are AEM Assets only. So such operations like version creation uses AEM general Asset management APIs.

You can refer Java API documentation for Assets Version Manager: https://developer.adobe.com/experience-manager/reference-materials/6-5/javadoc/com/adobe/granite/ass...

 

I hope this answers your query.