
// Examples:
//
// Turn on Debug logging for all sessions in the Web view (use &d=1 in the URL for debug logging in the current instance only)
//g_MqRef.Deb.SetEnableLog(true);
//
// Turn off auto-filtering of companies-contacts-vars
objCustomCode.SetAddWorkflowRules(false);

// Use field 452 instead of the regular substate for the timestamp.
//objCustomCode.SetTSSubstateFldID(452);

// Activate the Chg Mgr extension for voting 
//var oVoteExt=new MqVoteExtension("window.Record.document", objRequest, this);
//oVoteExt.ApprovalCommentsCtlName="mem_446_mem_446_Approval_Comments";
//objCustomCode.GetWVExtensions().AddExtension(oVoteExt);

//Activate the VIP adapter to highlight the background for VIP Contacts
var objVIPAdptr=new MqVIPAdapterExt(m_objViewFields, "<Mq:FieldID>Is_VIP</Mq:FieldID>", "window.Record.document");
objCustomCode.GetWVExtensions().AddExtension(objVIPAdptr);

//don't show the copyright at the bottom, it doesn't fit like the other views
m_blnShowCopyright=false;