cancel
Showing results for 
Search instead for 
Did you mean: 

Content transformations

boneill
Star Contributor
Star Contributor
Hi Everyone,

I am struggling to find information on where content transformations are configured and mapped from source mimetype to target mimetype.

I want to be able to transform word documents to pdf-a.  I assume I need a new transformer.  Can anyone point me in the direction of where I can info on how you configure new transformations.  I have already looked at http://wiki.alfresco.com/wiki/Content_Transformations but am unsure if this is the correct wiki page now that the new transformation server has been rolled out.

Regards
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

the transformation server is an optional module that hooks into the existing transformation services. The documentation in the wiki is still very valid and contains the necessary information on how to define new transformations - either by direct or multi-step transformation steps. The transformation server itself can also be extended in principle, but documentation and the necessary SDK code are not yet releases AFAIK.

You may find it difficult to add a new transformation to PDF-A though, as PDF and PDF-A documents are of the same mimetype and thus different configured transformations (to PDF and PDF-A) would most likely supersede each other based on registration order. Depending on what documents you want to transform to PDF-A and how you plan to trigger the transformations, the following issue might be of interest to you: ALF-12450

Regards
Axel

angello0571
Champ on-the-rise
Champ on-the-rise
Hello,

I´m not sure if this is the best place to place a question, but I have a problem trying to display a document, it is not about content transformation, but when it has to display the file the catalina.out shows this problem:

The Web Script /alfresco/s/api/node/workspace/SpacesStore/b41cc08d-30a7-42d6-957d-e02b56ce32fe/content/thumbnails/pdf has responded with a status of 500 - Internal Error.

500 Description:    An error inside the HTTP server which prevented it from fulfilling the request.

Message:   06100030 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

Exception:   org.springframework.extensions.webscripts.WebScriptException - 06100030 The content node was not specified so the content cannot be streamed to the client: classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js

org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:183)
org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:400)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:316)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:662)

Server:   Community v4.0.0 (3979) schema 5.025


It looks as if the service cannot find the node of the file, How can I restore or fix this Issue?

Any help or tip I'll be happy Smiley Happy

Thank you