<?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: how to remove the dashboard window from appearing to any user ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282772#M235902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Besides from removing the whole dashboard (or dashlet, as Dave says), you could only remove this button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ie. put in your freemarker something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#if user.name == "admin"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;input type="button" id="${args.html}-my-button" value="Clickme!"/&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That way the button will only be rendered to the admin user. You could make even smarter check, ie only for somebody in a group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should still check in the resulting action of the button click if the user clicking it is the authorized user, to prevent potential security issues though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 18:21:18 GMT</pubDate>
    <dc:creator>zladuric</dc:creator>
    <dc:date>2013-05-23T18:21:18Z</dc:date>
    <item>
      <title>how to remove the dashboard window from appearing to any user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282770#M235900</link>
      <description>I'm using Alfresco 4.2c and there is a dashboard that appear to me , and I want to remove it from appearing to other users , because there is some button I don't want it to appear to other users , so I need to remove it from all user . How can I use it ?</description>
      <pubDate>Thu, 23 May 2013 15:42:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282770#M235900</guid>
      <dc:creator>himfire</dc:creator>
      <dc:date>2013-05-23T15:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove the dashboard window from appearing to any user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282771#M235901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you mean dashboard or dashlet? Which dashboard/dashlet is it? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 16:04:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282771#M235901</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-05-23T16:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove the dashboard window from appearing to any user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282772#M235902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Besides from removing the whole dashboard (or dashlet, as Dave says), you could only remove this button.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ie. put in your freemarker something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;#if user.name == "admin"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;input type="button" id="${args.html}-my-button" value="Clickme!"/&amp;gt;&lt;BR /&gt;&amp;lt;/#if&amp;gt;&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That way the button will only be rendered to the admin user. You could make even smarter check, ie only for somebody in a group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should still check in the resulting action of the button click if the user clicking it is the authorized user, to prevent potential security issues though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 18:21:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282772#M235902</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-05-23T18:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove the dashboard window from appearing to any user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282773#M235903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks for the reply ,,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;what I mean is when I login to alfresco , there is a yellow window appear to me , and written on it "Welcome to your dashboard " , I need to remove this window . how can I do it ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 19:15:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282773#M235903</guid>
      <dc:creator>himfire</dc:creator>
      <dc:date>2013-05-23T19:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to remove the dashboard window from appearing to any user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282774#M235904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That banner is controlled via the dynamic-welcome WebScript (/Slingshot/config/alfresco/site-webscripts/org/alfresco/components/dashlets/dynamic-welcome.get.html.ftl in the source) and in particular whether or not the dashlet is shown is controlled by the "showDashlet" value in the model. There are a couple of options available to you here… if you're working in a completely clean environment (e.g. you don't already have any users) then you could modify the dashboard preset so that the "full-width-dashlet" region is removed - then the Component wouldn't have anything to bind to, or alternatively you could create an extension module to dynamically remove that region or to extend the JS controller for the WebScript so that the "showDashlet" value in the model is always set to false.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 08:16:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-the-dashboard-window-from-appearing-to-any-user/m-p/282774#M235904</guid>
      <dc:creator>ddraper</dc:creator>
      <dc:date>2013-05-24T08:16:09Z</dc:date>
    </item>
  </channel>
</rss>

