Home

listener for adding spaces and files.

You are here

5 posts / 0 new
Last post
listener for adding spaces and files.

hi,
is there a way to add listener that will execute on adding spaces and files?

<config evaluator="string-compare" condition="Node Event Listeners">
<node-event-listeners>
<listener>CreateEventListener</listener>
</node-event-listeners>
</config>

something like this.

Full time Alfresco developer from Serbia

Post rating: Useful? Yes

Re: listener for adding spaces and files.

You may want to use the policy framework. For example you can bind a behavior to onCreateChildAssociation.

Senior Software Engineer
Alfresco

Re: listener for adding spaces and files.

this works great.

Full time Alfresco developer from Serbia

Post rating: Useful? Yes

Re: listener for adding spaces and files.

one more quetsion, is there a way to add policy for assigning workflow.
we would also like to add mail notification on this metter . can you help, please.

Full time Alfresco developer from Serbia

Post rating: Useful? Yes

Re: listener for adding spaces and files.

I don't think there are policies for workflow.

My first thought is to add "notification" tasks or actions into the workflow processes that you are interested in.

Senior Software Engineer
Alfresco

forums index