cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a webscript in js client side

sofia
Champ in-the-making
Champ in-the-making
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 Smiley Happy
Thank u in advance.
1 REPLY 1