cancel
Showing results for 
Search instead for 
Did you mean: 

import does not import metadata or folder

dominiquevdb
Champ in-the-making
Champ in-the-making
Does anyone can help wih this xml import file

I exported a folder with one document that has a content type

Modifying the xml and trying to import a zip file results in unzipping the documents without assinging the metadata nor creating the folder.

Importing the file as an acp file than nothing seems to happen, document and folder is not created

Thanks



<?xml version="1.0" encoding="UTF-8"?>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0">
  <view:metadata>
    <view:exportBy></view:exportBy>
    <view:exportDate></view:exportDate>
    <view:exporterVersion>3.0.1 (303)</view:exporterVersion>
    <view:exportOf></view:exportOf>
  </view:metadata>
  <cm:folder xmlns="" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" xmlns:sys="http://www.alfresco.org/model/system/1.0" xmlns:ver="http://www.alfresco.org/model/versionstore/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:emailserver="http://www.alfresco.org/model/emailserver/1.0" xmlns:fm="http://www.alfresco.org/model/forum/1.0" xmlns:ia="http://www.alfresco.org/model/calendar" xmlns:rule="http://www.alfresco.org/model/rule/1.0" xmlns:wcm="http://www.alfresco.org/model/wcmmodel/1.0" xmlns:sv="http://www.jcp.org/jcr/sv/1.0" xmlns:usr="http://www.alfresco.org/model/user/1.0" xmlns:st="http://www.alfresco.org/model/site/1.0" xmlns:app="http://www.alfresco.org/model/application/1.0" xmlns:module="http://www.alfresco.org/system/modules/1.0" xmlns:d="http://www.alfresco.org/model/dictionary/1.0" xmlns:blg="http://www.alfresco.org/model/blogintegration/1.0" xmlns:alf="http://www.alfresco.org" xmlns:cmis="http://www.alfresco.org/model/cmis/0.5" xmlns:im="http://VGSIZModel/alfresco/model/VGSIZModel/1.0" xmlns:mix="http://www.jcp.org/jcr/mix/1.0" xmlns:bpm="http://www.alfresco.org/model/bpm/1.0" xmlns:wca="http://www.alfresco.org/model/wcmappmodel/1.0" xmlns:cm="http://www.alfresco.org/model/content/1.0" xmlns:reg="http://www.alfresco.org/system/registry/1.0" xmlns:ver2="http://www.alfresco.org/model/versionstore/2.0" xmlns:wcmwf="http://www.alfresco.org/model/wcmworkflow/1.0" xmlns:view="http://www.alfresco.org/view/repository/1.0" xmlns:act="http://www.alfresco.org/model/action/1.0" xmlns:wf="http://www.alfresco.org/model/workflow/1.0" view:childName="cm:20090409_0220">
    <view:aspects>
      <app:uifacets></app:uifacets>
      <cm:auditable></cm:auditable>
      <sys:referenceable></sys:referenceable>
    </view:aspects>
    <view:acl></view:acl>
    <viewSmiley Tongueroperties>
      <app:icon>space-icon-default</app:icon>
      <cm:name>20090409_0220</cm:name>
      <sys:node-dbid />
      <sys:store-identifier>SpacesStore</sys:store-identifier>
      <cm:title>20090409_0220_Title</cm:title>
      <sys:node-uuid />
      <cm:modified />
      <cm:created />
      <sys:store-protocol>workspace</sys:store-protocol>
      <cm:description>20090409_0220 descr</cm:description>
      <cm:creator />
      <cm:modifier />
    </viewSmiley Tongueroperties>
    <view:associations>
      <cm:contains>
        <imSmiley Surprisedutputs view:childName="cm:content0220.pdf">
          <view:aspects>
            <cm:auditable></cm:auditable>
            <sys:referenceable></sys:referenceable>
            <cm:titled></cm:titled>
            <cm:author></cm:author>
          </view:aspects>
          <view:acl></view:acl>
          <viewSmiley Tongueroperties>
            <cm:name>content0220.pdf</cm:name>
            <im:FactuurNr>090012345</im:FactuurNr>
            <sys:node-dbid />
            <sys:store-identifier>SpacesStore</sys:store-identifier>
            <imSmiley Very Happyag>12</imSmiley Very Happyag>
            <im:InschrijvingsNr>24681357</im:InschrijvingsNr>
            <im:ToepassingsCode>01</im:ToepassingsCode>
            <sys:node-uuid />
            <cm:creator />
            <cm:description>test description</cm:description>
            <imSmiley SurprisedutputType>FAKPAT</imSmiley SurprisedutputType>
            <cm:modifier />
            <imSmiley TongueatientNr>6111121015</imSmiley TongueatientNr>
            <im:Maand>1</im:Maand>
            <im:LegacySystemProperties>PanagonData</im:LegacySystemProperties>
            <im:Jaar>2009</im:Jaar>
            <cm:content>contentUrl=export_20090409_0220\content0.pdf|mimetype=application/pdf|size=4384|encoding=UTF-8|locale=en_US_</cm:content>
            <im:Titel>Titel voor een testbestand</im:Titel>
            <im:FactuurSoort>5</im:FactuurSoort>
            <cm:title>11010948.TXT</cm:title>
            <cm:modified></cm:modified>
            <cm:author></cm:author>
            <cm:created></cm:created>
            <sys:store-protocol>workspace</sys:store-protocol>
          </viewSmiley Tongueroperties>
        </imSmiley Surprisedutputs>
      </cm:contains>
    </view:associations>
  </cm:folder>
</view:view>
1 REPLY 1

dominiquevdb
Champ in-the-making
Champ in-the-making
seems to be due to the existing folder