AnsweredAssumed Answered

Calling a webscript in js client side

Question asked by sofia on Jun 3, 2015
Latest reply on Jun 3, 2015 by mitpatoliya
Hello,

I need to call the webscript with this url:  components/documentlibrary/sharedfiles-tree into a js client side file . I use a popup to display the webscript:


Alfresco.util.PopupManager.displayWebscript
            ({
            title: "T",
            method: "GET",
            url: "components/documentlibrary/sharedfiles-tree",
                                properties:{}            
                }
            );



When I apply reload my page, and my  action gets executed ,a popup  appears with a failure message : "Echec" in French .

What should I use a url ? I ve tried to use this : url:  Alfresco.constants.PROXY_URI + "components/documentlibrary/sharedfiles-tree", but I have the same problem ;

Help please :)
Thank u in advance.

Outcomes