<?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: Question about service-context.xml in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/question-about-service-context-xml/m-p/144620#M38372</link>
    <description>&lt;P&gt;That's how extension works and its a way inherit the parent action and also way to register your custom actions. You don't need to find that parent id, just need to remember and use it. Once you deploy your changes, Spring IOC container takes care of it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At learning stage just remember to use the parent. Ho&lt;/SPAN&gt;&lt;SPAN&gt;wever, Source code is available here if you really want to get more into it, you can explore: &amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;" href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/action-services-context.xml#L313" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/action-services-context.xml#L313&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The second part is to enable or disable an action to either display under Folder Rules. By default they are enabled so if you are creating an action, and your intention is to keep the defaults then that particular property is not needed to be mentioned as you can see in first case, in second case action must be disabled so it doesn't show under Manage Rules and hence the property must be overridden to set the value to false.&lt;/P&gt;
&lt;P&gt;you seems to be missing to read the instructions in the tutorial, it's already mentioned about the public action there. Quoting "&lt;SPAN&gt;Setting the &lt;/SPAN&gt;&lt;CODE&gt;publicAction&lt;/CODE&gt;&lt;SPAN&gt; property to false hides these actions from the action dropdowns. There's no real reason to do that, in this case—it's just an example".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can go through this doc to understand more on Folder Rules and Actions perform under folder rules:&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/5.2/using/content/rules/#defining-rules-for-a-folder" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/5.2/using/content/rules/#defining-rules-for-a-folder&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 02 Apr 2022 13:11:51 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2022-04-02T13:11:51Z</dc:date>
    <item>
      <title>Question about service-context.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/question-about-service-context-xml/m-p/144619#M38371</link>
      <description>&lt;P&gt;Hi Team;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I have two questions about&amp;nbsp;service-context.xml as following picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;And please refer the URL&amp;nbsp;"&lt;A href="https://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ecmarchitect.com/alfresco-developer-series-tutorials/actions/tutorial/tutorial.html&lt;/A&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="service-context.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1490i1DF8E7F98FBB9C99/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2022 03:07:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/question-about-service-context-xml/m-p/144619#M38371</guid>
      <dc:creator>YanFeiHu</dc:creator>
      <dc:date>2022-04-02T03:07:14Z</dc:date>
    </item>
    <item>
      <title>Re: Question about service-context.xml</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/question-about-service-context-xml/m-p/144620#M38372</link>
      <description>&lt;P&gt;That's how extension works and its a way inherit the parent action and also way to register your custom actions. You don't need to find that parent id, just need to remember and use it. Once you deploy your changes, Spring IOC container takes care of it.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;At learning stage just remember to use the parent. Ho&lt;/SPAN&gt;&lt;SPAN&gt;wever, Source code is available here if you really want to get more into it, you can explore: &amp;nbsp;&lt;/SPAN&gt;&lt;A style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;" href="https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/action-services-context.xml#L313" target="_self" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-community-repo/blob/master/repository/src/main/resources/alfresco/action-services-context.xml#L313&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The second part is to enable or disable an action to either display under Folder Rules. By default they are enabled so if you are creating an action, and your intention is to keep the defaults then that particular property is not needed to be mentioned as you can see in first case, in second case action must be disabled so it doesn't show under Manage Rules and hence the property must be overridden to set the value to false.&lt;/P&gt;
&lt;P&gt;you seems to be missing to read the instructions in the tutorial, it's already mentioned about the public action there. Quoting "&lt;SPAN&gt;Setting the &lt;/SPAN&gt;&lt;CODE&gt;publicAction&lt;/CODE&gt;&lt;SPAN&gt; property to false hides these actions from the action dropdowns. There's no real reason to do that, in this case—it's just an example".&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You can go through this doc to understand more on Folder Rules and Actions perform under folder rules:&amp;nbsp;&lt;A href="https://docs.alfresco.com/content-services/5.2/using/content/rules/#defining-rules-for-a-folder" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/content-services/5.2/using/content/rules/#defining-rules-for-a-folder&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2022 13:11:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/question-about-service-context-xml/m-p/144620#M38372</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-04-02T13:11:51Z</dc:date>
    </item>
  </channel>
</rss>

