<?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 item under my activities dashlet in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259383#M212513</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really do not understand what you are referring to right now... if you have removed all filter types execpt "mine" then there should be no way other peoples activities show up. What to you mean by "automatically remove the filtered part"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Aug 2017 09:32:34 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-08-01T09:32:34Z</dc:date>
    <item>
      <title>How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259374#M212504</link>
      <description>[img]http://i.imgur.com/WtV0W.png[/img]In Alfresco Share, I would like to know is there any way to delete, hidden or disable the items under the my activities dashlet?let say, I only want to keep "My activities", others are set to invisible.How to do it? and what file I need to change?Thanks for hel</description>
      <pubDate>Fri, 14 Dec 2012 16:35:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259374#M212504</guid>
      <dc:creator>miraclesuki</dc:creator>
      <dc:date>2012-12-14T16:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259375#M212505</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;in the Share application (within the Tomcat server folder structure) there is a my-activities.get.config.xml which defines the available filter types. If you were to copy that to tomcat/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/dashlets/ and remove all filter types except "mine", then those options will no longer show up in the UI (after a restart or refresh of web scripts).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now there is another possibility to change this without overriding the complete configuration file, but this requires a some know-how in Share development / Surf extensibility modules.&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, 14 Dec 2012 18:35:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259375#M212505</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-12-14T18:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259376#M212506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Axel to give fast reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case, the path "tomcat/shared/classes/alfresco/web-extension/" has not consist the sub-folder "site-webscripts/org/alfresco/components/dashlets/".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I would like to ask should I need to create one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mandy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2012 03:24:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259376#M212506</guid>
      <dc:creator>miraclesuki</dc:creator>
      <dc:date>2012-12-15T03:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259377#M212507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Axel for help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have successfully filtered the items except "mine" for now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Highly appreciate to Axel's help!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mandy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Dec 2012 03:40:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259377#M212507</guid>
      <dc:creator>miraclesuki</dc:creator>
      <dc:date>2012-12-15T03:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259378#M212508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to do something similar, but with a small twist: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A) all non-admin users should only be able to see their own activities in the "My activities" dashlet (on their own dashboard) and in the "Site activities" dashlet (on the dashboards of the sites they are a member of)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;B) the admin user, however, should always be able to see the lists of activities in both "My activities" and "Site activities" dashlets&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I apply the solution outlined by Axel (which was indeed very useful to know about!), there is no distinction in the outcome between admin and non-admin users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, the filter information is being loaded from an XML configuration file that is common to all users, and thus it isn't possible to define any user name-based selection in this step. So I figure this selection must be made in the JavaScript code, after reading the filter info from the config. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been checking out the JavaScript files in the ./tomcat/webapps/share/components/dashlets directory, for example activities.js, my-activities.get.js and site-activities.get.js, but couldn't figure out how to proceed. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any hints about where I should be looking, and what to do, would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/Maggie&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS I run Alfresco Community 5.0d under Linux (Ubuntu 14.04).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2016 10:44:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259378#M212508</guid>
      <dc:creator>maggiehellstrom</dc:creator>
      <dc:date>2016-02-26T10:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259379#M212509</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;in the JavaScript code for the my-activities.get.js you could use &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://docs.alfresco.com/5.0/references/APISurf-rootscoped.html" rel="nofollow noopener noreferrer"&gt;http://docs.alfresco.com/5.0/references/APISurf-rootscoped.html&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;Surf root objects&amp;lt;/a&amp;gt; to determine the current user and ignore the filters accordingly (when they are being loaded from XML). I'd advise not to check for the user name "admin" explicitly, but use the "isAdmin" property of the user to check if he is either "admin" himself or a member of the admin group.&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>Tue, 01 Mar 2016 09:50:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259379#M212509</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-01T09:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259380#M212510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for this tip, Axel - I will try it out!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2016 13:17:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259380#M212510</guid>
      <dc:creator>maggiehellstrom</dc:creator>
      <dc:date>2016-03-02T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259381#M212511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After&amp;nbsp;removing all filter elements from the filter-type element&amp;nbsp;in the my-activities.get.config.xml except for the filter element with the type and label attributes "mine", this does limit the list to one entry in the drop-down.&amp;nbsp; However, it seems to be whatever the entry was last selected.&amp;nbsp; So, for example, if the entry had been "Everyone's activities" that shows with no drop down.&amp;nbsp; I was expecting only "My activities" to show.&amp;nbsp; Is there something needed on the alfresco side as well as the share side&amp;nbsp;to force only My Activites to show?&amp;nbsp; I am running community edition 5.1.f.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 21:10:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259381#M212511</guid>
      <dc:creator>tom_nabors</dc:creator>
      <dc:date>2017-01-25T21:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259382#M212512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I have been able to filter out all of the filter types except for "mine". The issue I'm running into is that there is not a way to automatically remove the filtered part so that other people's activities stop showing up. Where would I even begin to make this change? I've asked several times in the past and I'm hoping that I can atleast get pointed in the right direction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2017 22:08:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259382#M212512</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2017-07-31T22:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259383#M212513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I really do not understand what you are referring to right now... if you have removed all filter types execpt "mine" then there should be no way other peoples activities show up. What to you mean by "automatically remove the filtered part"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 09:32:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259383#M212513</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-01T09:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259384#M212514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On a site activities widget before you make a modification you can see members of the site and what they are doing. After making the modification those same activities show up on the widget. Now this can be old notifications on the feed. The only way to filter those off the widget is to have the user click on "Everyone's activites" and then select their own. What I want to be able to do (if possible) is eliminate the step where a user must do that in order for the filter to work properly.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/15540_activities.JPG" style="width: 620px; height: 376px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Aug 2017 15:43:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259384#M212514</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2017-08-01T15:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259385#M212515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if I understood your problem, but it seems the problem is that the widget is initialized with the "all" option selected by default, as you can see in the source code here&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/dashlets/activities.js#L158" title="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/dashlets/activities.js#L158" rel="nofollow noopener noreferrer"&gt;share/activities.js at master · Alfresco/share · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The webscript config has all the options defined, I think you have already noticed:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/site-activities.get.config.xml" title="https://github.com/Alfresco/share/blob/master/share/src/main/resources/alfresco/site-webscripts/org/alfresco/components/dashlets/site-activities.get.config.xml" rel="nofollow noopener noreferrer"&gt;share/site-activities.get.config.xml at master · Alfresco/share · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe all you need to do is to initialize the dashlet widged with the value "mine" for the user-filter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 01:18:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259385#M212515</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-08-09T01:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259386#M212516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Douglas for replying....So I have been able to modify the activities feed, but with a little hickup. Changing the activities.js and the activities-min.js and modifying the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;activities.js&lt;/STRONG&gt; on line 157 and 158&lt;/P&gt;&lt;P&gt;&amp;lt;code&amp;gt;&lt;/P&gt;&lt;P&gt;this.widgets.user.set("label", this.msg("filter.mine"));&lt;BR /&gt;this.widgets.user.value = "mine";&lt;/P&gt;&lt;P&gt;&amp;lt;/code&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;activities-min.js&lt;/STRONG&gt; basically the same edit searching for "all" and replacing it with "mine"&lt;/P&gt;&lt;P&gt;So that is hard coding the install files which I really don't want to do. I want to be able to have the appropriate method of modifying the install files. I just don't know how to get started on the SDK for this modification.&lt;/P&gt;&lt;P&gt;Then creating the xml file which is here:&lt;/P&gt;&lt;P&gt;/opt/alfresco51/tomcat/shared/classes/alfresco/web-extension/site-webscripts/org/alfresco/components/dashlets/my-activities.get.config.xml. That filters just the "mine" part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to only modify the above mentioned to try and find which one needs to be changed while the others are left alone. It doesn't work without all three components being modified. Which is fine!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess really my question going forward is I want to be able to correctly modify the files, but when I try and do that in the SDK I get stuck and not really sure what is the best approach to do this. I really just need a nudge on what to do and I can go from there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing that I have done is created a jar file and placed in the /tomcat/shared/lib folder the contents of the jar are the two above mentioned files with the modifications. I just created the file path of&lt;/P&gt;&lt;P&gt;/share/components/dashlets/the two js files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a solution or is there something better?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:22:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259386#M212516</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2017-08-09T17:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259387#M212517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My approach for this kind of JS file adaption is to always&amp;nbsp;add a custom JS file as a dependency (customisation via Surf extension module) that then augments&amp;nbsp;/ modifies the prototype of the YUI component. Usually I replace one of the init functions of the component with a closure that simply calls the default function and does some pre/post processing around it. That way I can set the different widget states and don't have to modify original files.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;currently don't have an example in my open source modules of a prototype modification (last time I used this was for my old employer), but I used a similar approach to enhance&amp;nbsp;&lt;A href="https://github.com/Acosix/alfresco-site-hierarchy/blob/master/share/src/main/webapp/acosix/acosix-site-hierarchy/modules/edit-site.js" rel="nofollow noopener noreferrer"&gt;edit-site&lt;/A&gt; / &lt;A href="https://github.com/Acosix/alfresco-site-hierarchy/blob/master/share/src/main/webapp/acosix/acosix-site-hierarchy/modules/create-site.js" rel="nofollow noopener noreferrer"&gt;create-site&lt;/A&gt;&amp;nbsp;dialogs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259387#M212517</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-09T20:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259388#M212518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh - and please forget that tomcat/shared/lib exists. It is no place to put any Alfresco addon / extension, even with JAR packaging. It will work as long as you only have static resources, but if the addon includes one Java class that needs to use / extend / implement a class from Alfresco or any of the included libraries, it will fail due to classloading issues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:41:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259388#M212518</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-09T20:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259389#M212519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the response, but I think you have further confused me. &lt;IMG src="https://connect.hyland.com/legacyfs/online/alfresco/emoticons/silly.png" /&gt; Ok so going forward /tomcat/shared/lib doesn't exist. I should be putting any jar packaging in the /modules/share or the modules/platform depending on what I'm doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I understand both you and douglas so far.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a jar package that I put into modules/share and the content of the jar I'm still trying to figure out. I may be missing something, but what I understand the jar file content should be basically a file path with the two files I want to override.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;share&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;src/main&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;webapp&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;components&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;dashlets/activities.js and the activities-min.js&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Is this correct?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:06:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259389#M212519</guid>
      <dc:creator>eswbitto</dc:creator>
      <dc:date>2017-08-09T21:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259390#M212520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my recommendation you&amp;nbsp;would not be add those two JS files in that specific path inside the JAR - ideally, you would use a clean Surf extension module to add a customisation script file (in a completely custom path within the JAR) for the dashlet, and not rely on JAR-packaging classloading black magic to override JS files based on path. The approach of trying to override client-side files via JAR files may work on one operation system and fail on the other (depending on file listing order which influences class loading order and thus the order in which JARs are checked for static files in the same path).&lt;/P&gt;&lt;P&gt;The concept of adding dependencies to any Surf component (like a dashlet) is &lt;A href="http://docs.alfresco.com/5.2/concepts/dev-extensions-share-module-dependencies.html" rel="nofollow noopener noreferrer"&gt;explained in the documentation&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 21:17:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259390#M212520</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-08-09T21:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove item under my activities dashlet</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259391#M212521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;ESWBitto _&lt;/B&gt;‌ trying to help you to understand how to create the custom javascript extending the dashlet's widget, I recommend to you to read this blog post&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://soft29.info/blog/entry/alfresco-extend-share-javascript-component" title="http://soft29.info/blog/entry/alfresco-extend-share-javascript-component" rel="nofollow noopener noreferrer"&gt;Soft29 blog: Alfresco: extend Share javascript component&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This blog post describes everything you need to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, the widget you are going to extend is the&amp;nbsp;&lt;STRONG&gt;Alfresco.dashlet.Activities&lt;/STRONG&gt;, which is defined&amp;nbsp;at&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/dashlets/activities.js#L50" title="https://github.com/Alfresco/share/blob/master/share/src/main/webapp/components/dashlets/activities.js#L50" rel="nofollow noopener noreferrer"&gt;share/activities.js at master · Alfresco/share · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 01:05:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-remove-item-under-my-activities-dashlet/m-p/259391#M212521</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-08-10T01:05:29Z</dc:date>
    </item>
  </channel>
</rss>

