Showing results for 
Search instead for 
Did you mean: 

Notification on file creation in a folder

Former Member
0 Kudos

Hi all,

I would like to implement a service that can "observe" the document creation event in a specific CM folder and then I can process the document afterwards. Seems like the existing INotification event is only target to notify the user with email.

Is there any other APIs that can allow me to observe this event?

Thanks in advance.

Best Regards,


Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Jacky!

There is a difference between the notifications and events:

Notifications are indeed only meant for notifying users per email, to allow the observation of documents on a user level (e.g. subscription). This notification mechanism is build on events:

Those events are the mechanism to observe a document on a coding level (e.g. subscription uses events to check for and trigger notifications).

There are some further informations about events in sections 2.2.6 and 5.2.6 of the "Repository Framework Concepts", see " framework concepts".

The IResourceEventBroker and IResourceEventReceiver in the Java Doc " javadoc ep6 sp2" might be a good point to start with.

Please notice, that an awful lot of events is generated within the Repository Framework, therefore it is very important, to register an IResourceEventReceiver only to the relevant events and NEVER to all events (don't use the ResourceEvent.ALL type)!

Furthermore you should avoid to register to any of the "read"-events (GET, GET_CHILDREN, PROPERTY_GET types in ResourceEvent).

Best regards,