<?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 Re: Creating a Node of a custom type in PHP in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-node-of-a-custom-type-in-php/m-p/249091#M202221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to see the Error would be useful….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the fastest test to see if it is a problem with the namespace mapping is if you upload with the complete Namespace of the Model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$upload = $home-&amp;gt;createChild('{&lt;A href="http://www.example.org/model/content/1.0}document" rel="nofollow noopener noreferrer"&gt;http://www.example.org/model/content/1.0}document&lt;/A&gt;', 'cm_contains', $file_name);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2011 15:47:17 GMT</pubDate>
    <dc:creator>ddanninger</dc:creator>
    <dc:date>2011-04-06T15:47:17Z</dc:date>
    <item>
      <title>Creating a Node of a custom type in PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-node-of-a-custom-type-in-php/m-p/249090#M202220</link>
      <description>I want to create a node that has a custom type but when I call the createChild function with the type specified I get an error with anything other than "cm_content". The following works fine:$upload = $home-&amp;gt;createChild('cm_content', 'cm_contains', $file_name);‍But for example, when I try the fol</description>
      <pubDate>Mon, 04 Apr 2011 21:41:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-node-of-a-custom-type-in-php/m-p/249090#M202220</guid>
      <dc:creator>dallinns</dc:creator>
      <dc:date>2011-04-04T21:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a Node of a custom type in PHP</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/creating-a-node-of-a-custom-type-in-php/m-p/249091#M202221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to see the Error would be useful….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but the fastest test to see if it is a problem with the namespace mapping is if you upload with the complete Namespace of the Model:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;$upload = $home-&amp;gt;createChild('{&lt;A href="http://www.example.org/model/content/1.0}document" rel="nofollow noopener noreferrer"&gt;http://www.example.org/model/content/1.0}document&lt;/A&gt;', 'cm_contains', $file_name);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2011 15:47:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/creating-a-node-of-a-custom-type-in-php/m-p/249091#M202221</guid>
      <dc:creator>ddanninger</dc:creator>
      <dc:date>2011-04-06T15:47:17Z</dc:date>
    </item>
  </channel>
</rss>

