{"id":521,"date":"2023-05-05T08:43:03","date_gmt":"2023-05-05T06:43:03","guid":{"rendered":"http:\/\/blog.xoupix.fr\/?p=521"},"modified":"2023-05-05T08:43:38","modified_gmt":"2023-05-05T06:43:38","slug":"how-to-export-opentext-archive-center-document-content-as-readable-content","status":"publish","type":"post","link":"https:\/\/blog.xoupix.fr\/index.php\/2023\/05\/05\/how-to-export-opentext-archive-center-document-content-as-readable-content\/","title":{"rendered":"How to export OpenText Archive Center document content as readable content"},"content":{"rendered":"\n<p>Archive Center usually store content with encryption. How to proceed when you don&#8217;t have access to SAP ?<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>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&#8217;t do it that way.<\/p>\n\n\n\n<p>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:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>> cd &lt;Drive>:\\Path\\To\\Archive\\Center\\bin\\\n> dsh -h localhost \/\/ This command will connect you to your local Archive Center instance\n\n> setConfig -k DSH_ALWAYS_SIGN_URL -v yes \/\/ Specify that you need signed url\n\ncommand = setConfig\n... call dshSetConfig\n... command succeded\n\n> setPrivateKey -f \"&lt;Drive>:\\Path\\To\\Archive\\Center\\config\\setup\\as.pem\" \/\/ Configuring your local instance to use Archive Center certificate\n\ncommand = setPrivateKey\n... call dshSetPrivateKeyFile\n... command succeded\n\n> setCertificate -f \"&lt;Drive>:\\Path\\To\\Archive\\Center\\config\\setup\\as.pem\" \/\/ Configuring your local instance to use Archive Center certificate\n\ncommand = setCertificate\n... call dshSetCertificateFile\n... command succedded\n\n> info -a &lt;Archive Name> -d &lt;Document ID> \/\/ Listing document attributes\n\ncommand = info\n... command succeded\n\/\/ list of document attributes. The interesting part is the X-compId and the Content-type, which is usefull after\n\n> get -a &lt;Archive Name> -c &lt;X-compId value> -f \"&lt;Drive>:\\Path\\To\\temp\\&lt;document name>.&lt;extension matching Content-Type>\n\ncommand = get\n... call dshDsGetFile3\n... command succeded<\/code><\/pre>\n\n\n\n<p>On the &#8220;&lt;Drive>:\\Path\\To\\temp&#8221; directory, a new document named &#8220;&lt;document name>.&lt;extension mathing Content-Type>&#8221; is available. If you open it, you should be able to see it&#8217;s content.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Archive Center usually store content with encryption. How to proceed when you don&#8217;t have access to SAP ?<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,31],"tags":[29,30],"class_list":["post-521","post","type-post","status-publish","format-standard","hentry","category-archive-center","category-opentext","tag-archive-center","tag-opentext"],"_links":{"self":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/comments?post=521"}],"version-history":[{"count":3,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/521\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/posts\/521\/revisions\/524"}],"wp:attachment":[{"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/media?parent=521"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/categories?post=521"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.xoupix.fr\/index.php\/wp-json\/wp\/v2\/tags?post=521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}