How to export OpenText Archive Center document content as readable content

Archive Center usually store content with encryption. How to proceed when you don’t have access to SAP ?

When I need to check Archive Center document content, I usually go to SAP and then access my document. But during migration, when we import content from old Archive Center to new one, and SAP data is not up-to-date, we can’t do it that way.

Fortunately, there is a tool in Archive Center to do it manually. This is how to proceed. Open a cmd and use the following commands:

> cd <Drive>:\Path\To\Archive\Center\bin\
> dsh -h localhost // This command will connect you to your local Archive Center instance

> setConfig -k DSH_ALWAYS_SIGN_URL -v yes // Specify that you need signed url

command = setConfig
... call dshSetConfig
... command succeded

> setPrivateKey -f "<Drive>:\Path\To\Archive\Center\config\setup\as.pem" // Configuring your local instance to use Archive Center certificate

command = setPrivateKey
... call dshSetPrivateKeyFile
... command succeded

> setCertificate -f "<Drive>:\Path\To\Archive\Center\config\setup\as.pem" // Configuring your local instance to use Archive Center certificate

command = setCertificate
... call dshSetCertificateFile
... command succedded

> info -a <Archive Name> -d <Document ID> // Listing document attributes

command = info
... command succeded
// list of document attributes. The interesting part is the X-compId and the Content-type, which is usefull after

> get -a <Archive Name> -c <X-compId value> -f "<Drive>:\Path\To\temp\<document name>.<extension matching Content-Type>

command = get
... call dshDsGetFile3
... command succeded

On the “<Drive>:\Path\To\temp” directory, a new document named “<document name>.<extension mathing Content-Type>” is available. If you open it, you should be able to see it’s content.

Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.