cancel
Showing results for 
Search instead for 
Did you mean: 

Developing script for rule

junminya
Champ on-the-rise
Champ on-the-rise
We wanna add to check file naming rule using regular expression(like [0-9][a-z]file.xml).
It is checked when file is uploaded.
And when error occurred, rejecting upload process.

So we will develop script for rule action.

But we have no knowledge about that script.

Please tell me technical information for developing that script.
(ex. script grammar, example script etc)

thank you
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
This contains all you need to know about scripts.

http://wiki.alfresco.com/wiki/JavaScript_API_Cookbook

Thank you very much! That is just what I wanted.