cancel
Showing results for 
Search instead for 
Did you mean: 

Web Projects Event

jainkumar11
Champ in-the-making
Champ in-the-making
Hi All,

I am new to Alfresco WCM stuff.
I have installed Alfresco 4.0 and WCM and also able to create web projects and deploy them successfully on deployment receiver.

What I am trying to find out is whether we can capture Publish event (When we deploy contents from sandbox) in web projects so that we get the node reference of exact file which is getting deployed.
I have done this in Alfresco space store by implementing various policies like onCreate, onDelete, onUpdate.
I don't want to implement the post commit callbacks on deployment receiver.

Any pointers in this direction would be very helpful.

Thanks
KJ
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
You can inject an event handler for the deployment service.  If you want client side notification.

On the destination side that's where the pre and post deployment callbacks are used.

There are very few policies implemented with the avm store, in general you can't use policies with avm.

jainkumar11
Champ in-the-making
Champ in-the-making
Thanks MRogers for your reply.
But if you could help me with some examples it would really make my life easy.
To be more precise, When ever I do a deployment for certain files from sandbox, I need to capture meta data like title, type, description and contents of this file in my Java Class (Event Handler) so that I can process them further.

Again many thanks.

KJ