I have a business requirement where user should be able to upload multiple document files into CMS(doc and docx). This will help the user to create/update the asset based on their business logic.
Solved! Go to Solution.
Views
Replies
Total Likes
You need to be able to write an AEM servlet that uses Word Java API. Then you need to write custom implementation logic to read the content and create content in the AEM JCR. I am not aware of any community article for this use case however.
We have one for Excel files using Excel Java API.
https://helpx.adobe.com/experience-manager/using/creating-custom-excel-service-experience.html
This gives you an idea of what you need to do with a Word file.
Hope this helps.
Views
Replies
Total Likes
"I have a business requirement where user should be able to upload multiple document files into CMS"
You can import assets into the AEM JCR by writing a custom Sling Servlet that uses AssetManager API.
https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
YOu can write a tool that can upload batch files into the AEM JCR. See this article that talks about how to develop a Java Swing application that posts multiple files to the AEM DAM. The Sling Servlet uses the AssetManager API to place the uploaded files into the AEM DAM.
https://helpx.adobe.com/experience-manager/using/multiple-digital-assets.html
Views
Replies
Total Likes
Hi
As mentioned by Scott,
You can write your own custom Service/Component similar to the one mentioned in the link:
Link:- https://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html
//Uploading files to Adobe Experience Manager DAM using AssetManager API
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Thanks for the replay. But my requirement was not to save the doc/docx file into the DAM. I need to process the doc file and create a page in the CMS with the processed data. Its kind of a bulk uploader utility which will help the content author to create the page by simply uploading a doc/docx file. It will be great If you can provide some pointers to try some options to achieve this.
Views
Replies
Total Likes
You need to be able to write an AEM servlet that uses Word Java API. Then you need to write custom implementation logic to read the content and create content in the AEM JCR. I am not aware of any community article for this use case however.
We have one for Excel files using Excel Java API.
https://helpx.adobe.com/experience-manager/using/creating-custom-excel-service-experience.html
This gives you an idea of what you need to do with a Word file.
Hope this helps.
Views
Replies
Total Likes