<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Are there examples showing how to import an exported (.zip) workspace? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-examples-showing-how-to-import-an-exported-zip/m-p/317673#M4674</link>
    <description>&lt;P&gt;Is there an example showing how to use one of the Nuxeo Shell's automation commands to import an exported (.zip) workspace?&lt;/P&gt;
&lt;P&gt;I used the DM/DAM webapp to "export" a workspace and now I would like to use the Nuxeo Shell to import the .zip into another/different workspace.&lt;/P&gt;
&lt;P&gt;I named the export file "exported.zip" and put it into the directory on my local workstation from which I launch the Nuxeo Shell client.&lt;/P&gt;
&lt;P&gt;Here is what I've tried to no avail:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Started the Nuxeo Shell and connected to my Nuxeo remote DM instance.&lt;/LI&gt;
&lt;LI&gt;Verified that I'm connected by using a remote ls command.&lt;/LI&gt;
&lt;LI&gt;Using local commands, cd'ed to dir containing the exported workspace's .zip file named "exported.zip"&lt;/LI&gt;
&lt;LI&gt;Using remote commands, navigated to a new empty workspace directory&lt;/LI&gt;
&lt;LI&gt;Switched to "automation" namespace&lt;/LI&gt;
&lt;LI&gt;Ran the following FileManager.Import command:
FileManager.Import exported.zip&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The operation fails with the following message:&lt;/P&gt;
&lt;P&gt;java.lang.RuntimeException: Cannot execute {Authorization=Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y, Content-Type=multipart/related;
boundary="----=_Part_5_380224087.1377035560517", Accept=application/json+nxentity, &lt;EM&gt;/&lt;/EM&gt;}&lt;/P&gt;
&lt;P&gt;Can you point me to or provide me work example of how I can do a successful import from the Nuxeo Shell?&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2013 00:15:56 GMT</pubDate>
    <dc:creator>remillet_</dc:creator>
    <dc:date>2013-08-21T00:15:56Z</dc:date>
    <item>
      <title>Are there examples showing how to import an exported (.zip) workspace?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/are-there-examples-showing-how-to-import-an-exported-zip/m-p/317673#M4674</link>
      <description>&lt;P&gt;Is there an example showing how to use one of the Nuxeo Shell's automation commands to import an exported (.zip) workspace?&lt;/P&gt;
&lt;P&gt;I used the DM/DAM webapp to "export" a workspace and now I would like to use the Nuxeo Shell to import the .zip into another/different workspace.&lt;/P&gt;
&lt;P&gt;I named the export file "exported.zip" and put it into the directory on my local workstation from which I launch the Nuxeo Shell client.&lt;/P&gt;
&lt;P&gt;Here is what I've tried to no avail:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Started the Nuxeo Shell and connected to my Nuxeo remote DM instance.&lt;/LI&gt;
&lt;LI&gt;Verified that I'm connected by using a remote ls command.&lt;/LI&gt;
&lt;LI&gt;Using local commands, cd'ed to dir containing the exported workspace's .zip file named "exported.zip"&lt;/LI&gt;
&lt;LI&gt;Using remote commands, navigated to a new empty workspace directory&lt;/LI&gt;
&lt;LI&gt;Switched to "automation" namespace&lt;/LI&gt;
&lt;LI&gt;Ran the following FileManager.Import command:
FileManager.Import exported.zip&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The operation fails with the following message:&lt;/P&gt;
&lt;P&gt;java.lang.RuntimeException: Cannot execute {Authorization=Basic QWRtaW5pc3RyYXRvcjpBZG1pbmlzdHJhdG9y, Content-Type=multipart/related;
boundary="----=_Part_5_380224087.1377035560517", Accept=application/json+nxentity, &lt;EM&gt;/&lt;/EM&gt;}&lt;/P&gt;
&lt;P&gt;Can you point me to or provide me work example of how I can do a successful import from the Nuxeo Shell?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2013 00:15:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/are-there-examples-showing-how-to-import-an-exported-zip/m-p/317673#M4674</guid>
      <dc:creator>remillet_</dc:creator>
      <dc:date>2013-08-21T00:15:56Z</dc:date>
    </item>
  </channel>
</rss>

