cancel
Showing results for 
Search instead for 
Did you mean: 

Javascript that start Metadata Extraction

daniele_pesce
Champ in-the-making
Champ in-the-making
Hello!
my question is:

Is it possible to start the Metadata Extraction of a content from Javascript?

Thanks Everybody!
1 REPLY 1

kevinr
Star Contributor
Star Contributor
Yes - it is possible to call Repository Actions from javascript - and ExtractMetadata is encapsulated as an Action.

The action ID you want is "extract-metadata" - it works on any cm:content type or derived type. It does not require any parameters, just execute it on the node you want to extract meta-data from.

See the Actions API in the JavaScript wiki docs for calling info:
http://wiki.alfresco.com/wiki/JavaScript_API#Actions_API

Thanks,

Kevin