<?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: Issue preventing component rendering with extension module in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256894#M210024</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;BLOCKQUOTE class="jive-quote"&gt;Why in the examples I have taken as model […]the value of &amp;lt;source-id&amp;gt; is defined with the ID of the full page rather than simply as you have said? The only difference I appreciate between the documentation tutorial and my scenario is the scope. The question would be actually, when should be used the full source id and when not and why?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The source ID is always relative to the scope you use for mapping components. There actually isn't such a thing as a full (or short) source ID - there only is a unique source ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source ID depends on the name and path of a Surf descriptor file that defines the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if you have a scope "page", you need to use the path and name of the page XML descriptor to get your source ID. E.g. the user dashboard XML descriptor is located in the user/&amp;lt;userName&amp;gt; folder (within the Alfresco Repository) and named dashboard.xml - this results in the source ID "user/{userId}/dashboard".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a scope "template", you need to use the template XML descriptor, which is usually located in a flat list in Alfresco without a folder structure. Thus if you have documentlibrary.xml as your template XML descriptor, the resulting source ID is "documentlibrary".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference between the dashboard and documentlibrary is, that the dashboard is a user specific page that needs to be adaptable on a per-instance basis. This is why Alfresco uses the page scope for the title and navigation regions / components. The document library on the other hand is a generic feature and does not need to its component defined on a per-instance basis, which is why Alfresco uses the coarser template scope for the regions / components in this instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Dec 2012 12:47:49 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2012-12-10T12:47:49Z</dc:date>
    <item>
      <title>Issue preventing component rendering with extension module</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256891#M210021</link>
      <description>Hi guys, I'm trying to prevent rendering the "title" ("title" region) within any site's "documentlibrary" page. After following the tutorials in the official documentation (http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/tasks/tu-40-hide-content.html and http://docs.alfresco.com/4.1/i</description>
      <pubDate>Fri, 07 Dec 2012 15:51:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256891#M210021</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2012-12-07T15:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue preventing component rendering with extension module</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256892#M210022</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;the source ID for the documentlibrary template is simply "documentlibrary", not the ID of the full page. If you use this for a template-scoped sub-component you should find it in working order.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 17:06:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256892#M210022</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-12-07T17:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue preventing component rendering with extension module</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256893#M210023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;the source ID for the documentlibrary template is simply "documentlibrary", not the ID of the full page. If you use this for a template-scoped sub-component you should find it in working order.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Axel&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Axel, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are right, following your indication it works like a charm&amp;nbsp; &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://connect.hyland.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's helpful for others, &lt;/SPAN&gt;&lt;STRONG&gt;this is the extension module I have created to hide the title bar in the document library page for every site&lt;/STRONG&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;extension&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;modules&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;id&amp;gt;Customizations applied to sites' document library.&amp;lt;/id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;auto-deploy&amp;gt;true&amp;lt;/auto-deploy&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;components&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;scope&amp;gt;template&amp;lt;/scope&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;region-id&amp;gt;title&amp;lt;/region-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;source-id&amp;gt;documentlibrary&amp;lt;/source-id&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;sub-components&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;sub-component id="default"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;evaluations&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;evaluation id="guaranteedToHide"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;render&amp;gt;false&amp;lt;/render&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/evaluation&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/evaluations&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/sub-component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/sub-components&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/component&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/components&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/module&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/modules&amp;gt;&lt;BR /&gt;&amp;lt;/extension&amp;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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;BR /&gt;&lt;SPAN&gt;Now Axel, could you please answer the next question? Why in the examples I have taken as model (&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/tasks/tu-40-hide-content.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/4.1/topic/com.alfresco.enterprise.doc/tasks/tu-40-hide-content.html&lt;/A&gt;&lt;SPAN&gt; for instance) the value of &amp;lt;source-id&amp;gt; is defined with the ID of the full page rather than simply as you have said? The only difference I appreciate between the documentation tutorial and my scenario is the scope. The question would be actually, when should be used the full source id and when not and why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 11:28:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256893#M210023</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2012-12-10T11:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue preventing component rendering with extension module</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256894#M210024</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;BLOCKQUOTE class="jive-quote"&gt;Why in the examples I have taken as model […]the value of &amp;lt;source-id&amp;gt; is defined with the ID of the full page rather than simply as you have said? The only difference I appreciate between the documentation tutorial and my scenario is the scope. The question would be actually, when should be used the full source id and when not and why?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;The source ID is always relative to the scope you use for mapping components. There actually isn't such a thing as a full (or short) source ID - there only is a unique source ID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The source ID depends on the name and path of a Surf descriptor file that defines the scope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if you have a scope "page", you need to use the path and name of the page XML descriptor to get your source ID. E.g. the user dashboard XML descriptor is located in the user/&amp;lt;userName&amp;gt; folder (within the Alfresco Repository) and named dashboard.xml - this results in the source ID "user/{userId}/dashboard".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have a scope "template", you need to use the template XML descriptor, which is usually located in a flat list in Alfresco without a folder structure. Thus if you have documentlibrary.xml as your template XML descriptor, the resulting source ID is "documentlibrary".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The difference between the dashboard and documentlibrary is, that the dashboard is a user specific page that needs to be adaptable on a per-instance basis. This is why Alfresco uses the page scope for the title and navigation regions / components. The document library on the other hand is a generic feature and does not need to its component defined on a per-instance basis, which is why Alfresco uses the coarser template scope for the regions / components in this instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 12:47:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256894#M210024</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-12-10T12:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue preventing component rendering with extension module</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256895#M210025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's more than I expected as an answer to my question. Completely understood, and what you have said also answers other questions I had in my mind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a million!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 13:25:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/issue-preventing-component-rendering-with-extension-module/m-p/256895#M210025</guid>
      <dc:creator>alejandrogarcia</dc:creator>
      <dc:date>2012-12-10T13:25:21Z</dc:date>
    </item>
  </channel>
</rss>

