Core

From MobileX for SageCRM
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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();