<?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 Type Setting while document upload! in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/type-setting-while-document-upload/m-p/40109#M21420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Wanting to upload a document of a custom model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have defined a custom model &lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;my:sop&lt;/SPAN&gt;&lt;SPAN&gt; under the namespace &lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;my.new.model&lt;/SPAN&gt;&lt;SPAN&gt;. Using the Alfresco GUI there is no problem uplaoding a document using the new model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How do we go about uploading it using the custom model?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess we need to set the type of the document to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:red;"&gt;Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;{my.new.model}sop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Instead of the default:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:darkred;"&gt;Type:&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;A href="http://www.alfresco.org/model/content/1.0}content" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}content&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also here my:sop has been inherited from the content model.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;So where in the code can we set the TYPE of the model?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help in this regard shall be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Manmeet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2006 15:47:18 GMT</pubDate>
    <dc:creator>manmeet</dc:creator>
    <dc:date>2006-08-14T15:47:18Z</dc:date>
    <item>
      <title>Type Setting while document upload!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/type-setting-while-document-upload/m-p/40109#M21420</link>
      <description>Wanting to upload a document of a custom model.Have defined a custom model my:sop under the namespace my.new.model. Using the Alfresco GUI there is no problem uplaoding a document using the new model.How do we go about uploading it using the custom model?I guess we need to set the type of the docume</description>
      <pubDate>Mon, 14 Aug 2006 15:47:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/type-setting-while-document-upload/m-p/40109#M21420</guid>
      <dc:creator>manmeet</dc:creator>
      <dc:date>2006-08-14T15:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Type Setting while document upload!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/type-setting-while-document-upload/m-p/40110#M21421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK I figured this out. The Content Type can be set while instantiating the CMLCreate Object. The 3rd parameter is the TYPE parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Manmeet&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 16:23:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/type-setting-while-document-upload/m-p/40110#M21421</guid>
      <dc:creator>manmeet</dc:creator>
      <dc:date>2006-08-14T16:23:17Z</dc:date>
    </item>
  </channel>
</rss>

