<?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 Restricting content mime-type for a custom model type? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/restricting-content-mime-type-for-a-custom-model-type/m-p/176495#M129625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I define my own custom content model types can I restrict what mime-types can be used by the user when they create or upload a document for that content-type?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Out of the box the UI always lets them create inline HTML, text or XML - what if I only want text, or only HTML etc?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried a blanket restriction by putting:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;config evaluator="string-compare" condition="Content Wizards"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;create-mime-types&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mime-type name="text/html" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/create-mime-types&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;into my custom web-client-config-custom-xml but that just added a second HTML option to the UI dropdown instead of overriding it.&amp;nbsp; Plus I'd really like to do this on a content-type by type basis.&amp;nbsp; E.g. cm:myimage restricts to image/png mime type etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is the reason this is not (apparently) easy because Alfresco goes on the principle of import any type and transform it appropriately later?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Jan 2009 02:18:02 GMT</pubDate>
    <dc:creator>moschops</dc:creator>
    <dc:date>2009-01-31T02:18:02Z</dc:date>
    <item>
      <title>Restricting content mime-type for a custom model type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restricting-content-mime-type-for-a-custom-model-type/m-p/176495#M129625</link>
      <description>If I define my own custom content model types can I restrict what mime-types can be used by the user when they create or upload a document for that content-type?&amp;nbsp; Out of the box the UI always lets them create inline HTML, text or XML - what if I only want text, or only HTML etc?&amp;nbsp; I tried a blanket r</description>
      <pubDate>Sat, 31 Jan 2009 02:18:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restricting-content-mime-type-for-a-custom-model-type/m-p/176495#M129625</guid>
      <dc:creator>moschops</dc:creator>
      <dc:date>2009-01-31T02:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting content mime-type for a custom model type?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/restricting-content-mime-type-for-a-custom-model-type/m-p/176496#M129626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there, moschops,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find out a way to do this? If so, I'd love to know how.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;brokenindex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 15:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/restricting-content-mime-type-for-a-custom-model-type/m-p/176496#M129626</guid>
      <dc:creator>brokenindexfing</dc:creator>
      <dc:date>2010-07-22T15:37:14Z</dc:date>
    </item>
  </channel>
</rss>

