AnsweredAssumed Answered

WebScript location 'slingshot/doclib/doclist/documents/node/alfresco/company/home' ?

Question asked by itzamna on Nov 6, 2014
Latest reply on Nov 6, 2014 by scouil
Hi all,

I'm starting to create a dashlet that should return some documents based on a specified content-type. I checked the source-files of the "My Documents" dashlet. It's very close to my requirement but instead using the filter value "recentlyModifiedByMe" I want to pass my content-type. I see, that in the JS file of my-documents.js the following happens:

       * Generate base webscript url.
       * Can be overridden.
       * @method getWebscriptUrl
      getWebscriptUrl: function SimpleDocList_getWebscriptUrl()
         return Alfresco.constants.PROXY_URI + "slingshot/doclib/doclist/documents/node/alfresco/company/home?max=50";

Now I want to check the webscript that is invoked in the function to get an understanding what happens and how I'm able to use or extend it to make it working for me.
But my really stupid question is: Where do I find the webscript definition? As far as I know it must be available on Share side. But I dont find anything related to it in folder "share\WEB-INF\classes\alfresco\site-webscripts\org\alfresco\components\dashlets"??? What is the trick?