Core

From MobileX for SageCRM
Revision as of 09:12, 3 August 2016 by Crmtogether (talk | contribs) (Created page with "At the core is the object CRMConnectionHelper and this exposes the internal proxy which in turn exposes core methods EG var userId = CRMConnectionHelper.MainProx...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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