<?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: Accept only some kind of content types in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217387#M170517</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One way to implement this could be - create a content rule based on mime-type and execute a script, which is kind of equivalent to that of your "custom action" thought. I could not think of anything else out of the box to do this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Feb 2010 22:33:58 GMT</pubDate>
    <dc:creator>sselvan</dc:creator>
    <dc:date>2010-02-25T22:33:58Z</dc:date>
    <item>
      <title>Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217386#M170516</link>
      <description>I just need to cancel all binary file uploads to a workspace that are not images (checking the mime) or OGG videos (checking the .ogg extension). It must be easy to do (easier than creating a custom action, I mean). But I can't really see how to do it. Is it possible?</description>
      <pubDate>Thu, 25 Feb 2010 16:16:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217386#M170516</guid>
      <dc:creator>xmaniac</dc:creator>
      <dc:date>2010-02-25T16:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217387#M170517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One way to implement this could be - create a content rule based on mime-type and execute a script, which is kind of equivalent to that of your "custom action" thought. I could not think of anything else out of the box to do this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 22:33:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217387#M170517</guid>
      <dc:creator>sselvan</dc:creator>
      <dc:date>2010-02-25T22:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217388#M170518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Create a javascript file with the following link;&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.remove();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;2. Upload it to Data Dictionary -&amp;gt; Scripts. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Configure content rule to run this script for all content not of you required type.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 08:25:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217388#M170518</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2010-02-26T08:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217389#M170519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A custom action is &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Custom_Actions" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Custom_Actions&lt;/A&gt;&lt;SPAN&gt;. What would be a script in this case? AFAIK web scripts are limited to URL request, isn't it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:57:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217389#M170519</guid>
      <dc:creator>xmaniac</dc:creator>
      <dc:date>2010-02-26T12:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217390#M170520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;A custom action is &lt;A href="http://wiki.alfresco.com/wiki/Custom_Actions" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Custom_Actions&lt;/A&gt;. What would be a script in this case? AFAIK web scripts are limited to URL request, isn't it?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;yay! got it! thank you! I didn't notice there was an action to run scripts&amp;nbsp; &lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;ops:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 13:00:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217390#M170520</guid>
      <dc:creator>xmaniac</dc:creator>
      <dc:date>2010-02-26T13:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accept only some kind of content types</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217391#M170521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;1. Create a javascript file with the following link;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.remove();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;The code raises an exception though:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/55b53463-a0b3-479d-af36-e51085f8fa7c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 13:11:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accept-only-some-kind-of-content-types/m-p/217391#M170521</guid>
      <dc:creator>xmaniac</dc:creator>
      <dc:date>2010-02-26T13:11:58Z</dc:date>
    </item>
  </channel>
</rss>

