Core

From MobileX for SageCRM

At the core is the object

 CRMConnectionHelper

and this exposes the internal proxy which in turn exposes core methods

 EG
   var userId = CRMConnectionHelper.MainProxy.getUserId();


var res = CRMConnectionHelper.MainProxy.addToMyBookMarks(params.EntityName, params.EntityId);
res = CRMConnectionHelper.MainProxy.IsInMyBookMarks(params.EntityName, params.EntityId);
var res = CRMConnectionHelper.MainProxy.removeFromMyBookMarks(params.EntityName, params.EntityId);

var userId = CRMConnectionHelper.MainProxy.getUserId();