cancel
Showing results for 
Search instead for 
Did you mean: 

Run Actions in Documents

eramirez
Champ in-the-making
Champ in-the-making
In the properties of documents is there a 'Run Action' option, here you can define to execute a script. I´m looking for documentation about this scripts ( alfresco_docs.js, test_return_value.js, record_lifecycle.js, etc), or where are located this scripts, but I didn´t found it.

I need to know how this scripts work, I want to implement this to notify for any change in documents (add, update, delete).

Is there any documentation, URL where I can access? or Exist any functionality to notify when a change happened in documents o users
into Alfresco repository?
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
The scripts in the list are JavaScript files that utilise the Alfresco JavaScript API:
http://wiki.alfresco.com/wiki/JavaScript_API

The files can be found in this folder:
/Company Home/Data Dictionary/Scripts

If you add new scripts to this folder or any sub-folder, they will appear in the list for Run Action.

Thanks,

Kevin

eramirez
Champ in-the-making
Champ in-the-making
Kevin: I´m developing a script that allow me to know on-line when somebody add, modify, delete, a document, folder into the Alfresco repository, actually my script notify me when this happens; now I need to know which document was modified. I see the documentation and I found that I can use Lucene search to know which document was modified. My question is there another way to know which document was modified o deleted?

Thanks.