Sage CRM Developers Course Programming for the Advanced Email Manager.

Slides:



Advertisements
Similar presentations
Sage CRM Developers Course
Advertisements

Overview and Demonstration of declarative workflows in SharePoint using Microsoft SharePoint Designer 2007 Kevin Hughes MCT, MCITP, MCSA, MCTS, MCP, Network+,
CCS Service Request Crow Canyon Systems Installation Folder Structure Setup and Configuration Initial Service Request Process Listen For more information.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Basic Communication on the Internet:
Extending JIRA Rachel Wright July 15, 2014 See slide “Notes” section for commentary and talking points.
Copyright © SkyeyTech, Inc. BUGtrack Interface.
Sage CRM Developers Course Entities and the Data Model (Part 2)
29 Oded Moshe, Director of Product Management Beta Release May 3rd, 2010 Official Release May 24, 2010.
SOFTWARE PRESENTATION ODMS (OPEN SOURCE DOCUMENT MANAGEMENT SYSTEM)
Installation and Deployment in Microsoft Dynamics CRM 4.0
Contacts. Stored in the Contact folder Stores information about businesses or people –Address, phone number, address etc.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Tony BrettOUCS Course Code ZAE 1 March 2004 Webmail – the new WING Tony Brett Oxford University Computing Services.
Sage CRM Developers Course
Chapter 30 Electronic Mail Representation & Transfer
GroupWise Tutorial What is GroupWise? GroupWise is an and calendar service (much like Microsoft outlook) for Collin College faculty and staff.
Pro Exchange SPAM Filter An Exchange 2000 based spam filtering solution.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Sage CRM Developers Course
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
» Explain the way that electronic mail ( ) works » Configure an client » Identify message components » Create and send messages.
1 © 2001, Cisco Systems, Inc. All rights reserved. Voice Connector Features Voic Interoperability – 4.0(5) Voice Connector features Rahul Singh.
Sage CRM Developers Course Using the.NET API (2).
Sage CRM Developers Course
Sage CRM v7.2 Developers Course An Introduction to the Developer Program.
Records and Information Management IT - Enterprise Content Management SPIDR II Global Features Reference Guide April 2013.
Exchange 2010 Recipient and Mailbox Management IT:Network:Applications.
Advanced Workflow. Agenda 1. Understanding the Overall Architecture 2. Setting up Outlook for Workflow 3. Launching Workflow from Applications 4. Getting.
Sage CRM Developers Course
Using Group Policy to Manage User Environments. Overview Introduction to Managing User Environments Introduction to Administrative Templates Assigning.
Microsoft Outlook Web Application (OWA)
Sage CRM Developers Course
Outlook 2000 Summertime Technology 2002 Vicki Blackwell Tangipahoa Parish Schools.
Advanced User Guide to Outlook and all its features.
Hands-On Microsoft Windows Server 2008
Sage CRM Developers Course
Finish configuration cloudclinica root jdbc:postgresql:5432//localhost/cc_db JDBC Url: JDBC Driver: User name: Password: ******** org.postgresql.Driver.
Computer Emergency Notification System (CENS)
Introduction to ASP.NET T.Ahlam Algharasi. The Visual Studio IDE Start page 2.
Outlook Web App Crash course. Outlook Agenda Login Login Reset Password Reset Password Getting Started in Outlook Web App Getting Started in Outlook Web.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
© 2006 Cisco Systems, Inc. All rights reserved.1 Connection 7.0 Serviceability Reports Todd Blaisdell.
Sage CRM Developers Course Using the Component Manager.
Sage CRM Developers Course
Understanding StarTeam Enterprise Advantage Course #4124.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Managing File Resource Using File Server Resource Manager Chapter 9 Advance Computer Network Lecture Sorn Pisey
MCSE Guide to Microsoft Exchange Server 2003 Administration Chapter Three Managing Recipients.
TE002 Coming to grips with management with Sage CRM Robert Tan.
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
© 2015 Eaton. All Rights Reserved.. Supplier Registration and Access.
Troubleshooting Workflow 8 Raymond Cruz, Software Support Engineer.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Sagecrm.com Sage CRM An Introduction to the Developer Program.
Colleen Alber OnBase Mail Integrations. Agenda 1.Integration for Microsoft Outlook 2.Mailbox Importer.
Objectives.  is short for electronic mail.  It allows you to quickly send a message to anyone else in the world as long as they have their.
CLEAResult – CRM 2015 Upgrade An Administrator’s Perspective Patrick DeLooff – 6/24/15.
Advanced Informer Features
Autodesk® PLM 360 Developer's Delight:
Project Management: Messages
Unit 7 Learning Objectives
CARA 3.10 Major New Features
CONTENT MANAGEMENT SYSTEM CSIR-NISCAIR, New Delhi
TE004 Smart Change Management with Sage CRM Component Manager
Implementation Specialists Presents
April Webinar: Advanced Configuration of Order Forms in Workflow
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Stay Connected to Work Away from Work: A Simple Approach to Send s from SAS® using VBScript Paper #
(Includes setup) FAQ ON DOCUMENTS (Includes setup)
Presentation transcript:

Sage CRM Developers Course Programming for the Advanced Manager

Looking ahead to the classes DP01: Introduction to the Development Partner Program DP02: Entities and the Data Model (Part 1 of 2) DP03: Entities and the Data Model (Part 2 of 2) DP04: Implementing Screen Based Rules (Part 1 of 2) DP05: Implementing Screen Based Rules (Part 2 of 2) DP06: Screen and User Independent Business Rules DP07: Workflow (Part 1 of 2) DP08: Workflow (Part 2 of 2) DP09: Using the API Objects in ASP Pages (Part 1 of 2) DP10 : Using the API Objects in ASP Pages (Part 2 of 2) DP11: Using the Component Manager DP12: Programming for the Advanced Manager DP13: Using the Web Services API DP14: Using the Web Services API (Part 2 of 2) DP15: Coding the Web Self Service COM API (Part 1 of 2) DP16: Coding the Web Self Service COM API (Part 2 of 2) DP17: Using the.NET API (Part 1 of 2) DP18: Using the.NET API (Part 2 of 2)

Agenda How the Manager works and processes s. Creating a template Calling new functions Processing data Opportunities Leads Communications

Getting Started Do you have an server to test with? VPOP –Paul Smith Computing Services – CMAIL –

Documentation and Resources System Administration Guide Management Configuration and Status Textpad Snippets –dpp.sagecrm.com

Services C:\program files\sage\CRM\services\eWare Manager.exe Hkey_Local_Machine, System,Current Control Set, Services CRMEscalationService Manager

Clean out Old Install Configurations Open registry HKEY_LOCAL_MACHINE\SOFTWARE\eWare\Config Go through each install and blank –EMlogonid –EMPassword Except for install to be used

Advanced Manager Support for MAPI and POP Allows separate inbound/outbound mail servers Secure SMTP supported External databases may be read and written to via the custom scripting aspect. Each mailbox is accessed and controlled by its own thread within the application.

Creating a New Script File To create a new "Sales" manager template. Save the template into the same folder as the other template files. C:\Program Files\Sage\CRM\Services\CustomPages\Scripts\sales.js The template will automatically be seen and made available to CRM for use in the Administration -> and Documents -> Management Server Options when creating a new address option.

Create a New Function To allow a new function to be called from within template then you will need to add the following Translation Caption Family:jsfunctions Caption Code:SalesEnquiry(); US Translation:Sales Enquiry Add other translations as required.

Basic Structure of Template Files See System Administration Guide Mytemplate.js Comments Initialise Variables General Event Functions –BeforeMainAction –AfterMainAction Main Functions (referenced in Config screen) –N.B. MainAction is a reserved word. Do not call any function ‘MainAction’ as this is internally replaced with function called from configuration screen. Utility Functions

Debugging Turn on Debugging in System In Template will use: MsgHandler.Debug = true;

Objects Available in Template UserQuery eWareQuery object using –SELECT * FROM vUsers WHERE –user_ address = FromAddress –OR –user_mobile = FromAddress PersonQuery eWareQuery object using –SELECT * FROM v , vPerson WHERE _personid –= pers_personid AND emai_ address = FromAddress CompanyQuery eWareQuery object using –SELECT * FROM v , vCompany WHERE –emai_companyid = comp_companyid AND –emai_ address = FromAddress eWare eWare object...logged on with admin user (as specified in configuration) MsgHandler Debugging control interface to the

Monitoring of Account Log information C:\Program Files\Sage\CRM\Services\Logs\ CRM MailManager.log **********RulesScript is...******** if (bCond) { AssignedUser = 4; AssignedChannel = 1; SalesEnquiry(); } **********End of RulesScript.**** Where additional rule sets are used the information passed to the script is changed **********RulesScript is...******** if ((!CompanyQuery.EOF) && (CompanyQuery("comp_type")=="Customer") ) { AssignedUser = 4; AssignedChannel = 1; CreateRepeatSale(); bCond=false; } if (bCond) { AssignedUser = 4; AssignedChannel = 1; SalesEnquiry(); } **********End of RulesScript.****

Errors in Log Error detection is based on the status of the script after it runs. The Management application runs the script and captures the result of the script running. Log file will contain the script and the error information. The section where the script failed is highlighted. s that cause the system to fail internally are saved in a rogue folder, which is located in...\Program Files\Sage\CRM\Services\CustomPages\Scripts

Object Properties Body - String (read/write) IsHTML - Boolean (read/write) Subject - String; (read/write) Priority - Integer (read/write) Recipients - AddressList Object SenderName - String (read/write) SenderAddress - String DeliveryTime - Date Attachments - AttachmentList Object BCC - AddressList Object CC - AddressList Object Methods Send() AddFile('physical path') Clear() Header("named header")

Other Objects AddressList Properties –Items(index) –Count - Integer(readonly) Methods –AddAddress(Address, Name) MailAddress Properties –Name - String (read/write) –Address - String (read/write) AttachmentList Properties –Items(index) –Count - Integer(readonly) –LibraryPath - String Attachment Properties –Name - String (read/write) –Extension - String (read only) Methods –Save(Name, Path) –SaveAs(Name, Path)

Adding Debugging Messages function BeforeMainAction() { MsgHandler.Log("BeforeMainAction function called"); } function AfterMainAction() { MsgHandler.Log("AfterMainAction function called"); }

Example Main Function function SalesEnquiry() { //add debug message to indicate that function called //if sender is known contact then log new opportunity //create communication //automatically acknowledge If sender is unknown then //create lead //create communication //automatically acknowledge } function SalesEnquiry() { MsgHandler.Log("SalesEnquiry function called"); //check if person exists if (!PersonQuery.EOF) { createOppo(); createComm("Opportunity"); // send (); } else { createLead(); createComm("Lead"); // send (); }

Example Create Opportunity function createOppo() { var myRecord = CRM.CreateRecord("opportunity"); myRecord.Oppo_PrimaryCompanyId= PersonQuery("pers_companyid"); myRecord.Oppo_PrimaryPersonId= PersonQuery("pers_personid"); myRecord.Oppo_AssignedUserId= AssignedUser; myRecord.Oppo_ChannelId= AssignedChannel; myRecord.Oppo_Description= .Subject.substring(0, 39); myRecord.Oppo_Source= " "; myRecord.Oppo_Note= "Please see the attached "; myRecord.Oppo_Status= "In Progress"; myRecord.Oppo_Stage= "Lead"; myRecord.Oppo_Opened = mydate.getVarDate(); myRecord.SetWorkflowInfo("Opportunity Workflow", "Lead") myRecord.SaveChanges(); intOppoRecordID = myRecord.oppo_opportunityid; }

Example Create Lead function createLead() { var myRecord = CRM.CreateRecord("lead"); myRecord.lead_AssignedUserId= AssignedUser; myRecord.lead_ChannelId= AssignedChannel; myRecord.lead_Description= .Subject.substring(0, 39); myRecord.lead_Source= " "; myRecord.lead_Details= "Please see the attached "; myRecord.lead_Status= "In Progress"; myRecord.lead_Stage= "NewLead"; myRecord.lead_Opened = mydate.getVarDate(); myRecord.SetWorkflowInfo("Lead Workflow", "Assigned") myRecord.SaveChanges(); intLeadRecordID = myRecord.lead_leadid; }

Example Send function send (strsubject) { .IsHTML = true; SenderName = .SenderName; SenderAddress = .SenderAddress; MailSubject = .Subject; MailBody = .Body; .Clear(); .Recipients.AddAddress(SenderAddress, SenderName); .SenderName = MsgHandler. Address; .SenderAddress = MsgHandler. Address; if (strsubject == "") { .Subject = CRM.GetTrans("GenCaptions", "AutoReply") + ": " + MailSubject } else { .Subject = strsubject; } .Body = CRM.GetTrans("GenCaptions", "Your mail has been logged") + " " + CRM.GetTrans("GenCaptions", "Thank you") + " " + CRM.GetTrans("GenCaptions", "Panoply Support") + " " + MailBody; .Send(); }

Q&A

Looking ahead to the classes DP01: Introduction to the Development Partner Program DP02: Entities and the Data Model (Part 1 of 2) DP03: Entities and the Data Model (Part 2 of 2) DP04: Implementing Screen Based Rules (Part 1 of 2) DP05: Implementing Screen Based Rules (Part 2 of 2) DP06: Screen and User Independent Business Rules DP07: Workflow (Part 1 of 2) DP08: Workflow (Part 2 of 2) DP09: Using the API Objects in ASP Pages (Part 1 of 2) DP10 : Using the API Objects in ASP Pages (Part 2 of 2) DP11: Using the Component Manager DP12: Programming for the Advanced Manager DP13: Using the Web Services API DP14: Using the Web Services API (Part 2 of 2) DP15: Coding the Web Self Service COM API (Part 1 of 2) DP16: Coding the Web Self Service COM API (Part 2 of 2) DP17: Using the.NET API (Part 1 of 2) DP18: Using the.NET API (Part 2 of 2)