11-03-2010 12:39 AM
11-08-2010 11:00 AM
var myPerson = {
"userName":"test1",
"password":"password",
"firstName":"Test",
"lastName":"User",
"email":"test@test.net",
"disableAccount":false,
"quota":-1,
"groups":[]
};
To call an API like this from a WebScript component JavaScript controller in Share is easy:var json = jsonUtils.toJSONString(myPerson);
var conn = remote.connect("alfresco");
conn.post("/api/people", json, "application/json");
That will create the person.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.