Massimo Della Calce
Massimo Della Calce

Reputation: 416

Is there a way to listen to the upload events in the EMC's Documentum via .NET API?

i need to implement a windows service that connects to EMC's Documentum and receives an event every time a document is loaded. The event should contain the reference to the document itself. Is there a way to do it via API or do i have to do polling using a web service?

Upvotes: 2

Views: 586

Answers (2)

vino20
vino20

Reputation: 429

I think you can use Rest Service. Documentum whole functionality exposed in rest service. https://community.emc.com/community/labs/archivedprojects/dctm_rest

Upvotes: 1

Milan
Milan

Reputation: 2023

Quickest would be to implement this via polling.

Your Windows service can either

  • access DFS exposed service (that you need implement on DCTM side)
  • access docbase directly using DFC/.NET

But the question here is what is that you want to check? Document loaded - If you are referring to dm_document object created (e.g. by a user/system or some sort of upload functionality) - you will need to register dm_audittrail for that event. Once that is in place your service or API call can check for dm_audittrail entries.

Alternatively you could use Documentum BOF (Business Object Framework) to write custom code that would be triggered every time for instance new document is being crated (or updated) - i.e. on specific predefined event. This custom code could do whatever you like, like for instance broadcast JMS message to a queue that your Windows Service is listening. You see to implement the thing that you want (event based notification) you need some communication channel between your application and a content server.

Or simply just poll Docbase it every x seconds.

Guess you already know this but a lot of info can be found on: https://community.emc.com/community/edn

Also BOF Guide (older version): https://developer-content.emc.com/developer/downloads/BusinessObjectsDevelopersGuide.pdf

Upvotes: 1

Related Questions