- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi Steve,
I tried adding the mime type for docx, pptx etc. in permission file, as per below list:
Extension MIME Type
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
.potx application/vnd.openxmlformats-officedocument.presentationml.template
.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.sldx application/vnd.openxmlformats-officedocument.presentationml.slide
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
.xlam application/vnd.ms-excel.addin.macroEnabled.12
.xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
By adding new mime mapping in web.xml in
<adobe_home>\jboss\server\lc_turnkey\deployers\jbossweb.deployer
When serving static resources, Tomcat will automatically generate a "Content-Type" header based on the resource's filename extension, based on these mappings. Additional mappings can be added here (to apply to all web applications), or in your own application's web.xml deployment descriptor.
<mime-mapping>
<extension>docs</extension>
<mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
</mime-mapping>
BUT even though issue not resolved and its not opening docx. It was actually a BUG in product itself, as the livecycle application jar's web application not handle these extensions or mime. I tried getting support as well from Adobe but again get in to indefinite loop of mails and as it was important to business, decided a different approach.
Saving the file on servr in a directory by using save file service of LC foundatiion, and opening these file on simple Http in a browser call.
Please try giving these details to Adobe support to get the bug resolved and ask for a patch if you can do so, pressurizing the guys to send it to Adobe Engineering.
Regards,
Rohan Raj.
Views
Replies
Total Likes