When you register an object for Event Notification, by using the Advanced Tab, a dmi_registry object is created in the docbase for each resisted event and for each user.
To unregister the objects for Event Notification try the following steps: In DQL select the following information: DQL> select r_object_id,user_name,registered_id,event from dmi_registry In example this is the info for dmi_registry: r_object_id user_name registered_id event 26001a9880000101 test1 09001a9880000ea1 dm_checkout In order to delete it you need to login as the "user_name" that the event was registered and perform the following API calls, otherwise you are going to get this error: ERROR: [DM_EVENT_E_NOT_REGISTERED]error: "User zarate has not registered event dm_checkout for sysobject named 'Document1 test'." To unregister login as user_name and try this: API> fetch,c,<registered_id> ... Ok API> unregister,c,<registered_id>,<event> ... Ok API> save,c,<registered_id> ... Ok Please note that if you are logged in as a sysadmin or superuser account and are trying to unregister and event recreate by another user, then you must also add the ,<user> parameter to the unregister API. API> unregister,c,<registered_id>,<event>,<user> |
Monday, May 20, 2013
Register or Unregister events in documentum server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment