AnsweredAssumed Answered

Is runCommand or an equivalent available from Javascript

Question asked by sgray on Apr 27, 2007
Latest reply on Apr 30, 2007 by kevinr
I'm brand new to Alfresco and was evaluating whether we could perform a fairly complex task that involves handling input TIFF files.  I wanted to run them through a Javascript rule that would call a program which extracts barcode information.  This would be attached to the document as another property and would be available for use by downstream tasks.

Checking the Mozilla's Rhino Javascript website I found their support for the runCommand function which allows a shelled application to be run.  This fails under the current version of Alfresco (2.0 Community).

I see that various problems like this have produced the recommendation to customize the repository 'actions'.  Is this my only alternative or has anyone a better solution?

Thanks for the response!  I'm pretty impressed with Alfresco so far and have as yet to fully explore all it's possibilities.

Steve

Outcomes