05-10-2013 04:30 AM
tmpUser = {};
tmpUser.firstName = objFrm.firstName;
tmpUser.lastName = objFrm.lastName;
tmpUser.email = objFrm.email;
tmpUser.telephone = objFrm.telephone;
tmpUser.mobile = objFrm.mobilPhone;
tmpUser.skype = objFrm.skype;
tmpUser.instantmsg = objFrm.instantMsg;
tmpUser.googleusername = objFrm.googleUsername;
tmpUser.location = objFrm.location;
tmpUser.persondescription = objFrm.biography;
tmpUser.organisation = objFrm.organization;
tmpUser.organizationId = objFrm.organization;
tmpUser.jobtitle = objFrm.jobTitle;
tmpUser.companyemail = objFrm.companyEmail;
tmpUser.companytelephone = objFrm.companyTelephone;
tmpUsercompanyfax = objFrm.companyFax;
tmpUser.companyaddress1 = objFrm.companyAddress1;
tmpUser.companyaddress2 = objFrm.companyAddress2;
tmpUser.companypostcode = objFrm.companyPostcode;
tmpUser.companyaddress3 = objFrm.companyAddress3;
var resultUser = connector.put("/api/people/" + user.name, jsonUtils.toJSONString(tmpUser), "application/json");
05-16-2013 03:15 PM
if (!json.isNull("googleusername"))
{
person.properties["googleusername"] = json.get("googleusername");
}
if (!json.isNull("persondescription"))
{
person.properties["persondescription"] = json.get("persondescription");
}
if (!json.isNull("persondescription"))
{
person.properties["cm:persondescription"].content = json.get("persondescription");
}
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.