<?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: How to select content type by space name? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161478#M115407</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 don't know if there is an official way of doin' it but i've done it my way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to customize the upload dialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i've created new Class XXX extends AddContentDialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then copied the original add-content.jsp to, lets say: /jsp/dialogs/custom-upload/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and finally created an action (with params, but not needed, i have the same action for different content-types) which calls this dialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can override the function getObjectType(), there you can influence what the combobox with the content types delivers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can even remove all irrelevant types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Feb 2008 18:54:19 GMT</pubDate>
    <dc:creator>roman</dc:creator>
    <dc:date>2008-02-23T18:54:19Z</dc:date>
    <item>
      <title>How to select content type by space name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161477#M115406</link>
      <description>Hello,I created a space named "MyBooks"then I created a costum content-typeadding it definition in filecustomModel.xml below the snippest of customModel.xml… &amp;lt;type name="custom:MyBook"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;My Books&amp;lt;/title&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;parent&amp;gt;cm:content&amp;lt;/parent&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;prop</description>
      <pubDate>Fri, 22 Feb 2008 16:50:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161477#M115406</guid>
      <dc:creator>roby71</dc:creator>
      <dc:date>2008-02-22T16:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to select content type by space name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161478#M115407</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 don't know if there is an official way of doin' it but i've done it my way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to customize the upload dialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i've created new Class XXX extends AddContentDialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then copied the original add-content.jsp to, lets say: /jsp/dialogs/custom-upload/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and finally created an action (with params, but not needed, i have the same action for different content-types) which calls this dialog&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you can override the function getObjectType(), there you can influence what the combobox with the content types delivers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;you can even remove all irrelevant types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;best regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Feb 2008 18:54:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161478#M115407</guid>
      <dc:creator>roman</dc:creator>
      <dc:date>2008-02-23T18:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to select content type by space name?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161479#M115408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can define a rule in your folder to specialize the content type. The document the user creates will be cm:content, but if the rule is not run in background it will get specialized to your specific type before the document property sheet appears, and the user can fill your custom properties.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2008 11:41:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-select-content-type-by-space-name/m-p/161479#M115408</guid>
      <dc:creator>rivarola</dc:creator>
      <dc:date>2008-02-26T11:41:21Z</dc:date>
    </item>
  </channel>
</rss>

