AnsweredAssumed Answered

Endpoint CMIS 1.1 from dashlet

Question asked by jdebat on Jun 6, 2014
Latest reply on Jun 6, 2014 by jdebat

I'm bew on Alfresco and I'm develloping a site dashlet.
My problem :

I want to retrieve data from CMIS with this URL.

From the Browser i get the good JSON return but from the dashlet i can't because the url become :

this is my code :
var theUrl = "/api/-default-/public/cmis/versions/1.1/browser/root/sites/" + site + "/dataLists?cmisselector=children&succinct=true";
   var connectorCMIS = remote.connect("alfresco-cmis");
   var resJson = connectorCMIS.get(theUrl);
   var myJsonObject = eval('(' + resJson + ')');

thank you !