COM API

From Sage CRM Knowledge Base
Revision as of 11:06, 7 February 2013 by Crmtogetherkb (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


1. CRM.Init

Implemented in .js file on the CustomPages Folder. Usually included in ASP files as an INCLUDE statement at the top of the file.

 eMsg = CRM.Init(
   Request.Querystring,
   Request.Form,
   Request.ServerVariables("HTTPS"),
   Request.ServerVariables("SERVER_NAME"),
   false,
   Request.ServerVariables("HTTP_USER_AGENT"),
   Accept);

The 5th parameter is a history setting. If you have pages that you do not wish to work via the back button you change this to "true".

Recommended that you create a nohistory.js file that is a copy of the current js with this set.