AnsweredAssumed Answered

Cross-Site Get request

Question asked by seif on Mar 2, 2016
Latest reply on Sep 26, 2016 by seif
Hi everybody,
I try to invoke a repository webscript from share in ajax call
            url: "",

            method: Alfresco.util.Ajax.GET,

            dataObj: {
                username: "seif",
                nodeRef: "workspace://SpacesStore/7589fe98-c111-4948-910e-68e5d2643590"
             successCallback: {

                  fn: function(res) {
                     if (res.json !== undefined)
                        var results = res.json;


but i have this error in browser console
XMLHttpRequest cannot load…deRef=workspace%3A%2F%2FSpacesStore%2F7589fe98-c111-4948-910e-68e5d2643590. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '' is therefore not allowed access.
Help pleaze.