<?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 Import XML and Associate with Form in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/import-xml-and-associate-with-form/m-p/42636#M23040</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to import my XML content into WCM. Copying and pasting isn't a good idea due to the large number of files and the possibilities of resulting errors. So, I would rather automatically import them by copying them across. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To test it out I created a form (simple.xsd) and then created the file test.xml using the form. I then saved test.xml as text_import.xml and modified it to look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;!– test_import.xml –&amp;gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;pm:content xmlns:pm="&lt;A href="http://www.processmentor.com" rel="nofollow noopener noreferrer"&gt;http://www.processmentor.com&lt;/A&gt;" xmlns:alf="&lt;A href="http://www.alfresco.org" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org&lt;/A&gt;" xmlns:chiba="&lt;A href="http://chiba.sourceforge.net/xforms" rel="nofollow noopener noreferrer"&gt;http://chiba.sourceforge.net/xforms&lt;/A&gt;" xmlns:ev="&lt;A href="http://www.w3.org/2001/xml-events" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/xml-events&lt;/A&gt;" xmlns:xf="&lt;A href="http://www.w3.org/2002/xforms" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2002/xforms&lt;/A&gt;" xmlns:xhtml="&lt;A href="http://www.w3.org/1999/xhtml" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;" xmlns:xs="&lt;A href="http://www.w3.org/2001/XMLSchema" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;pm:name&amp;gt;imported test&amp;lt;/pm:name&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;pm:description&amp;gt;this test is an import!&amp;amp;lt;br /&amp;amp;gt;&amp;lt;/pm:description&amp;gt;&lt;BR /&gt;&amp;lt;/pm:content&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;After browsing to this test_import.xml I clicked edit and was given the standard "save this file…" etc. rather than being able to edit through the nice simple.xsd form that appears when I edit the original, test.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I doing something wrong? Or is this type of operation not supported?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Mar 2007 02:06:14 GMT</pubDate>
    <dc:creator>kooktroop</dc:creator>
    <dc:date>2007-03-08T02:06:14Z</dc:date>
    <item>
      <title>Import XML and Associate with Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-xml-and-associate-with-form/m-p/42636#M23040</link>
      <description>Hi,I'm trying to import my XML content into WCM. Copying and pasting isn't a good idea due to the large number of files and the possibilities of resulting errors. So, I would rather automatically import them by copying them across. To test it out I created a form (simple.xsd) and then created the fi</description>
      <pubDate>Thu, 08 Mar 2007 02:06:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-xml-and-associate-with-form/m-p/42636#M23040</guid>
      <dc:creator>kooktroop</dc:creator>
      <dc:date>2007-03-08T02:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Import XML and Associate with Form</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/import-xml-and-associate-with-form/m-p/42637#M23041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what you want to do is possible - though inconvenient.&amp;nbsp; there are two options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) create some xml content using the form, and then update the generated xml asset with the imported content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) set a node property on the content you've created using the AVMRemote api.&amp;nbsp; i believe someone from eyestreet has posted a utility for doing this.&amp;nbsp; the node property that needs to be set is&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{&lt;A href="http://www.alfresco.org/model/wcmappmodel/1.0}parentformname" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/wcmappmodel/1.0}parentformname&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &amp;lt;form_name&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 19:37:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/import-xml-and-associate-with-form/m-p/42637#M23041</guid>
      <dc:creator>arielb</dc:creator>
      <dc:date>2007-03-08T19:37:18Z</dc:date>
    </item>
  </channel>
</rss>

