Expand my Community achievements bar.

SOLVED

Flattening AEM ditamap before custom preset generation

Avatar

Level 2

Hi,

 

Prior to creating the custom preset, I need the ditamap to be flattened(All files in one single folder without any subdirectories). Can this requirement be met in any way?

 

I need to use CUSTOM output preset option not AEM sites

 

 

Mano4_2-1705499041112.png

 

 

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

@Mano4 : you can use Download MAP API (documented [1]) where flattening is an option. With downloaded map you can run the custom DITA-OT plugin.

 

 

[1]: check "Initiate export for DITA map with dependents" use parameter flatFS=true

https://experienceleague.adobe.com/docs/experience-manager-guides/using/api-reference/dita-map-manag...

View solution in original post

6 Replies

Avatar

Level 2

Hi Narendragandhi,

 

Thanks for providing me reference, I am not going to generate AEM site 

 

I will be generating using CUSTOM preset before choosing this option I need to flatten the ditamap

Avatar

Community Advisor

Sorry i missed the CUSTOM preset part. @DivrajSingh @AswiniLakshminarayanan any suggestions on how this could be achieved ?

Avatar

Level 2

Hi Raja,

 

Thanks for your response. I am looking to flatten the ditamap before generating custom output preset. I am not going to use aem sites.

Avatar

Correct answer by
Employee

@Mano4 : you can use Download MAP API (documented [1]) where flattening is an option. With downloaded map you can run the custom DITA-OT plugin.

 

 

[1]: check "Initiate export for DITA map with dependents" use parameter flatFS=true

https://experienceleague.adobe.com/docs/experience-manager-guides/using/api-reference/dita-map-manag...