cancel
Showing results for 
Search instead for 
Did you mean: 

Foreground transformation when upload file

jasoncck
Champ in-the-making
Champ in-the-making
Hi all
      We are using Alfresco 4.2 CE, and we need to make transformation working in foreground when upload file to alfresco. Is the system existing a option in configure file/xml to set  transformation working in foreground? Thanks.

P.S. We upload file to alfresco with opencmis.
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

transformations are always synchronous to the code that triggered them, so there is no general setting to switch them between being asynchronous and synchronous. In relation to CMIS there typically is no tranformation of any kind involved, so I don't know what you want to be synchronous when uploading a file via OpenCMIS. You might have set up some (custom) rules / behaviours in Alfresco for transformation which you need to make sure trigger transformation actions synchronously. Depending on the approach you take, this is either configuration at runtime (no file/XML) or coding at development time (XML + Java/JavaScript).

Can you provide some more information on what kind of transformations you are talking about that need to be run synchronously? Then it'd be simpler to give a pointer to the correct / simplest approach…

Regards
Axel

mrogers
Star Contributor
Star Contributor
In general synchronous transformation is bad.   And something we would dearly like to prevent entirely.     

What is your requirement that you think you need synchronous transformation?