12-14-2012 11:35 AM
08-09-2017 05:17 PM
In my recommendation you 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).
The concept of adding dependencies to any Surf component (like a dashlet) is explained in the documentation.
08-09-2017 09:05 PM
ESWBitto _ 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
Soft29 blog: Alfresco: extend Share javascript component
This blog post describes everything you need to understand.
In your case, the widget you are going to extend is the Alfresco.dashlet.Activities, which is defined at share/activities.js at master · Alfresco/share · GitHub
12-14-2012 10:24 PM
12-14-2012 10:40 PM
02-26-2016 05:44 AM
03-01-2016 04:50 AM
03-02-2016 08:17 AM
01-25-2017 04:10 PM
After removing all filter elements from the filter-type element 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. However, it seems to be whatever the entry was last selected. So, for example, if the entry had been "Everyone's activities" that shows with no drop down. I was expecting only "My activities" to show. Is there something needed on the alfresco side as well as the share side to force only My Activites to show? I am running community edition 5.1.f.
Thanks.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.