08-04-2014 06:18 AM
Alfresco.util.Ajax.jsonGet(
{
url: Alfresco.constants.PROXY_URI + "/jsontest/getJson" ,
successCallback:
{
fn: function(response)
{
if (response.json)
{
var id= response.json.properties["id"];
Alfresco.util.PopupManager.displayMessage(
{
text: id
});
}
},
scope: this
},
failureCallback:
{
fn: function(response)
{
var error = "Error (failureCallback): " + response.responseText;
Alfresco.util.PopupManager.displayMessage(
{
text: error
});
},
scope: this
}
});
08-04-2014 06:45 AM
response.serverResponse.responseText
08-04-2014 07:46 AM
var json = JSON.parse(response.serverResponse.responseText);
var id = json["id"];
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.