cancel
Showing results for 
Search instead for 
Did you mean: 

AMP Structre for Executable Script File

swapnilkamthe
Champ in-the-making
Champ in-the-making
What is equivalent location for script files in AMP project that we usually keep in DataDictionary/Scripts folder

my requirement is as following:
Basically I want to create thumbnail of a document when it's uploaded & want to use default alfresco functionality for uploading.
So I have wrote script for creating thumbnail which executes on document upload.
But I want to load this script file from classpath.

As told by mrogers & alfresco documentation(http://docs.alfresco.com/4.1/concepts/API-JS-Scripts.html) we can't load script from classpath for "Execute the action" under rule configuration.

So what alternatives I can use
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
I don't think there is.    However you could load some code that boot-straps your data into the data dictionary.

swapnilkamthe
Champ in-the-making
Champ in-the-making
@mrogers: I'm quite new to alfresco, can you please to tell me how to bootstrap data in data dictionary? Any article,tutorial on the same?