cancel
Showing results for 
Search instead for 
Did you mean: 

change sortField for imagesummary dashlet

mrksjs
Champ on-the-rise
Champ on-the-rise
hello!

i am using community 4.0d and i have a imagesummray dashlet which sorts pictures by cm:name. i would like to change that into cm:created or cm:modified so that the last editet or uploaded picture is the first item in the imagesummary dashlet.
i was able to do this on enterprise 4.1.* without any problem by editing
/tomcat/webapps/share/components/dashlets/imagesummary(-min).js

using
<javascript>
      onReady: function onReady()
      {
         // Execute the request to retrieve the list of images to display
         Alfresco.util.Ajax.jsonRequest(
         {
         // &sortField=cm:created&sortAsc=false
            url: Alfresco.constants.PROXY_URI + "slingshot/doclib/images/site/" + this.options.siteId + "/documentLibrary?max=301&sortField=cm:created&sortAsc=false
</javascript>

instead of
<javascript>
      onReady: function onReady()
      {
         // Execute the request to retrieve the list of images to display
         Alfresco.util.Ajax.jsonRequest(
         {
         // &sortField=cm:created&sortAsc=false
            url: Alfresco.constants.PROXY_URI + "slingshot/doclib/images/site/" + this.options.siteId + "/documentLibrary?max=250
</javascript>

however. this does not take any effect when i do this in my community version. how can i achieve this?

1 REPLY 1

mrksjs
Champ on-the-rise
Champ on-the-rise
isn't this possible in the community version?
Getting started

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.