We have Alfresco 5.2 installed and some of the uploaded files are protected with Microsoft Rights Management Services (RMS).
When we want to preview these protected files Alfresco can not display them and it shows the message "Can not load PDF content" (tested in Firefox, Explorer and Chrome).
These same unprotected files can be previewed perfectly. These protected files are office (Word and Excel) and if we open them outside of alfresco we can open them and save as pdf without problems.
When you are using RMS client in your computer,all files are encrypted before saving into disk and also the encrypted version is uploaded into alfresco server.
When you preview theses files ,alfresco can't transform those encrypted files into pdf version.
if you open them outside of alfresco,then RMS client will decrypted first ,so you can open them and save as pdf without problems.
When I open this files outside of alfresco and I save them as pdf, before convert to pdf this files I get a message informing me that the protection will be lost and I have to click OK.
Maybe, Alfresco cannot convert to pdf because the conversion is waiting to accept this message. To check it, I have thought in two options:
· Change the alfresco pdf transformer if it's possible to another that can convert.
· Get the alfresco programming code where alfresco convert to pdf and edit the code to ignore the information message.
If someone can guide me in one of this options I will be really grateful.
I'm not sure if you know it, but Alfresco uses LibreOffice to perform from MS Office files into PDF.
You should check, first, if LibreOffice can handle such files with the RMS protection enabled.
I can open the files with LibreOffice but the content is unreadable (I think it's codified). However, I can open the file and convert to PDF (with the unreadable content too). I don't receive any error message/advice.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.