<?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: Is there any way to restrict content type in folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259785#M212915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are able to package it in a nice way (AMP for example), you could always contribute it to the &lt;/SPAN&gt;&lt;A href="http://addons.alfresco.com" rel="nofollow noopener noreferrer"&gt;http://addons.alfresco.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2012 09:35:54 GMT</pubDate>
    <dc:creator>billerby</dc:creator>
    <dc:date>2012-09-17T09:35:54Z</dc:date>
    <item>
      <title>Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259776#M212906</link>
      <description>There is requirements of restrict content type and/or content MIME type in alfresco share document library folders.For example only someco:whitepaper type is allowed in the Whitepaper folder and the MIME type should be PowerPoint or Word document.What should I do to archive that goal ?</description>
      <pubDate>Thu, 13 Sep 2012 07:59:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259776#M212906</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-13T07:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259777#M212907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is as far as I know two ways to handle this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Use the rule engine. Add a rule to this folder. When new content is entered you choose to execute a server side javascript where you implement the behaviour you want using the alfresco javascript API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Implement a server side java behaviour which implement a NodeServicePolicy. There are a variety of policies to implement like onBeforeCreate or onCreate. If the content that is about to be created not meets your requirement (ie your specified content type or mimetype) you wont allow it to be created.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 10:19:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259777#M212907</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-13T10:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259778#M212908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Suppose the user creates or updates a node, the rule is fired when the note change is done. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the javascript action be able to deny the update of this node?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 10:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259778#M212908</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-13T10:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259779#M212909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can create the rule which gets fired on the content update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean during creation of rule we can set that it should fire on content update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We can choose the secript in that rule with that rule which will do the rest of the work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 10:52:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259779#M212909</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2012-09-13T10:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259780#M212910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes you can create the rule which gets fired on the content update.&lt;BR /&gt;I mean during creation of rule we can set that it should fire on content update.&lt;BR /&gt;We can choose the secript in that rule with that rule which will do the rest of the work.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;My question is if I setup a rule that will fire on each content create or update, the action is taken place when the content creation or update is done, am I right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the action is called after the creation or update of the content is done, then how to deny content creation or update. What should I do in the action?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 05:34:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259780#M212910</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-17T05:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259781#M212911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Delete the content?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 06:21:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259781#M212911</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-17T06:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259782#M212912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Delete the content?&lt;BR /&gt;&lt;BR /&gt;/Erik&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It is absolutely not user friendly to just delete the content when content type or MIME type restriction violation is detected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am thinking of another way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe I can develop an custom aspect to add to folder which can have property to define allowed content types and corresponding MIME types.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Provide custom content creation and modification page to those folder which have the aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Those page should have the ability to restrict content type choice and enforce the restriction (do not allow submit if there is policy violation) .&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does alfresco share support that kind of extension?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 09:08:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259782#M212912</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-17T09:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259783#M212913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah your right, not user friendly at all…sorry &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read this blog post about customizing the file upload. &lt;/SPAN&gt;&lt;A href="http://www.ixxus.com/blog/2011/09/customising-the-upload-file-dialog-box-in-alfresco-share/" rel="nofollow noopener noreferrer"&gt;http://www.ixxus.com/blog/2011/09/customising-the-upload-file-dialog-box-in-alfresco-share/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could then present a list in this gui with the allowed file types which you could supply from a web script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have in mind that you still might need to do it the non user friendly way if the user chooses to use drag and drop when uploading content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 09:15:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259783#M212913</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-17T09:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259784#M212914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your help, I am now trying to implement this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And I think this is a very useful feature, and should be placed in the feature requirement list of future alfresco releases.&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 09:32:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259784#M212914</guid>
      <dc:creator>silverhoof</dc:creator>
      <dc:date>2012-09-17T09:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way to restrict content type in folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259785#M212915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are able to package it in a nice way (AMP for example), you could always contribute it to the &lt;/SPAN&gt;&lt;A href="http://addons.alfresco.com" rel="nofollow noopener noreferrer"&gt;http://addons.alfresco.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Erik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2012 09:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/is-there-any-way-to-restrict-content-type-in-folder/m-p/259785#M212915</guid>
      <dc:creator>billerby</dc:creator>
      <dc:date>2012-09-17T09:35:54Z</dc:date>
    </item>
  </channel>
</rss>

