Web Projects Event
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2012 04:11 AM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2012 11:06 AM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2012 02:10 PM
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
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
