Thursday, 25 July 2013

API Commands

To get attribute values for a document or any other object.
dump,c,r_object_id

 To get r_object_id of any object
retrieve,c,dm_method where object_name='Delete'

Dump object which is just retrieved or created in current session. (i.e.r_object_id retrieved in previous command)
dump,c,l

To make method object available as workflow method
retrieve,c,dm_method where object_name=’Method Name’
set,c,l,a_special_app
SET>Workflow
save,c,l

Create new ACL
create,c,dm_acl
set,c,l,object_name
your_acl_name
set,c,l,owner_name
dm_dbo
grant,c,l,dm_world,1
revoke,c,l,dm_world,execute_proc,change_permit
grant,c,l,your_admin,7,execute_proc,change_permit
save,c,l


Flush cache
flush,c,persistentcache
flush,c,persistentobjcache
flushcache,c

Publish data dictionary for an object type
publish_dd,c,,<object type>,T

Publish entire datadictionary
publish_dd,c

Requeue Rendition
queue,c,<doc_id>,dm_autorender_win31,rendition,0,F,,rendition_req_ps_pdf​​

To  get User login ticket
getlogin,c,<user_name>

Install workflow template
retrieve,c,dm_process where object_name=’workflow_name';
save,c,l
validate,c,l
install,c,l

To get document storage path
getpath,c,'r_object_id of document'

7 comments:

  1. Need some clarifications in D2... will it be fine ?

    ReplyDelete
  2. Hi Rahul,

    Actually I have never worked on D2. But definitely I will be happy to help you if I can :)

    ReplyDelete
  3. Thanks for the reply Vaishali...
    Can you please suggest some source/person to refer for D2, in ur knowledge ?

    ReplyDelete
  4. You can post your query in EMC Support Forums. I really don't know many D2 experts.

    All the best!!!

    ReplyDelete
  5. Do you have worked in RCS environment ?
    Yes - Then tell me if one of my CS dm_agent_exec is stopped how to bring it back manually.

    ReplyDelete
    Replies
    1. JMS must have stopped abruptly.

      You can restart the same using below commands.

      stop_jms)
      cd $JBOSS_HOME/server/DctmServer_MethodServer/tmp
      ../../stopMethodServer.sh
      ;;
      start_jms)
      cd $JBOSS_HOME/server/DctmServer_MethodServer/tmp
      ../../startMethodServer.sh &
      ;;
      restart_jms)
      cd $JBOSS_HOME/server/DctmServer_MethodServer/tmp
      ../../stopMethodServer.sh &
      cd $JBOSS_HOME/server/DctmServer_MethodServer/tmp
      ../../startMethodServer.sh &
      ;;

      Delete
  6. If i delete a workflow using the command destroy, can i restore that workflow?

    ReplyDelete