Dear Friends
Please, Can You help me,
Can I use Alfresco's built-in OpenOffice API in Alfresco REST API for convert documents to pdf, or add data to template document, etc.
Thank You in advance
Solved! Go to Solution.
Alfresco really doesn't have that much of an "OpenOffice API". The primary / only thing it has is the ability to use OpenOffice / LibreOffice for conversion of documents. You cannot use the ReST API to "just" transform documents. These documents must first be stored in Alfresco, and then you can use it to retrieve renditions of those documents, one/some of which may be PDF documents based on rendition definitions configured in Alfresco (by default there will be a PDF rendition for preview in Alfresco, if the document type allows for transformation to PDF).
With regards to adding data to template documents, Alfresco contains the necessary libraries to perform this if you were to implement custom actions, but no ready-to-use feature you can call via the ReST API.
Alfresco really doesn't have that much of an "OpenOffice API". The primary / only thing it has is the ability to use OpenOffice / LibreOffice for conversion of documents. You cannot use the ReST API to "just" transform documents. These documents must first be stored in Alfresco, and then you can use it to retrieve renditions of those documents, one/some of which may be PDF documents based on rendition definitions configured in Alfresco (by default there will be a PDF rendition for preview in Alfresco, if the document type allows for transformation to PDF).
With regards to adding data to template documents, Alfresco contains the necessary libraries to perform this if you were to implement custom actions, but no ready-to-use feature you can call via the ReST API.
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.