Introduction(说明)

If your organization has customers, you need a software system to help you manage your customer information. Unfortunately, many companies today are stuck using antiquated customer systems that don't integrate with Microsoft Office Outlook, aren't available from the Web, and can't be accessed via mobile devices. Even worse, some companies rely on Outlook contacts and Microsoft Office Excel files for precious customer data, making team collaboration on these records very difficult.

如果你的组织包含有客户,你需要一个软件系统来帮助你管理你的客户信息。但是不幸的是,直到现在很多公司一直被陈旧的客户管理系统所误导、困扰,以至于不能结合outlook,无法有效的使用网络,无法通过移动设备进入这种管理系统。更糟糕的是,有些公司依赖outlook'的联系人和excel文件来存储客户数据,最终使得公司搜索这些客户信息都是很困难的。

You probably already know that Microsoft offers a Customer Relationship Management (CRM) software solution as part of its Dynamics family. Microsoft Dynamics CRM is an easy-to-use application that businesses of all sizes and types can utilize. One of Microsoft Dynamics CRM's most important benefits is its native integration with other Microsoft productivity tools: Outlook, Excel, and Microsoft Office Word. Microsoft Dynamics CRM allows organizations to manage their sales, marketing, and customer service information more efficiently, leading to higher sales revenue and improved customer satisfaction.

你或许已经知道了微软公司所提供的客户关系管理软件解决方案-Dynamics家族的一部分。CRM是一种很方便使用的应用程序,能在各种商业领域使用它。其中最重要的一点就是它与微软产品工具很多都实现了集成,比如outlook,excel和office word。组织可以利用CRM来管理他们的销售,营销和客户服务信息变得更加高效, 以至于能产生更搞的销售收入和提升客户满意度。

But just as important as Microsoft Dynamics CRM's integration with other Microsoft tools, Microsoft Dynamics CRM offers developers a powerful customization and programming platform that you can use to satisfy almost any business requirement. This book provides a detailed explanation of the key areas in the Software Development Kit (SDK) and the Web-service–based Application Programming Interfaces (APIs). This book includes plenty of code samples and examples on topics such as form scripting, plug-ins, workflow assemblies, customizing the user interface, and more.

与此同时,同CRM与微软工具的集成一样重要,CRM也给开发者提供了强大的定制化服务和开发平台,因此可以用更好的满足任何其他的业务需求,本书详细阐述了SDK和API接口的重要使用。本书还包括大量的代码示例,例如脚本开发、插件开发、工作流编程、用户自定义接口等示例代码。

Programming Microsoft Dynamics CRM 4.0 was written by the consulting firm Sonoma Partners. Our firm has written several other successful titles for Microsoft Press, such as Microsoft Dynamics CRM 4.0 Step by Step (2008) andWorking with Microsoft Dynamics CRM 4.0, Second Edition (2008). We tried to bring our real-world customer experiences to the writing process and share the most relevant information we think you'll need to program with the latest version of Microsoft Dynamics CRM 4.0.

Microsoft Dynamics CRM4.0编程是Sonoma Partners咨询公司出版的。 我们已经为微软出版社提供了一些其他的成功书籍, 比如Microsoft Dynamics CRM4.0 Step by Step(2008版)和Working with Microsoft Dynamics CRM 4.0第二版。我们尝试着用我们真实的领域实践经验来完成写作通过本书分享我们重要的领域经验,因此我们认为你需要最新版的Microsoft Dynamics CRM4.0来作为编程指导。

Who This Book Is For(本书目的)

We wrote this book for professional developers who want to use the Microsoft Dynamics CRM SDK and its APIs to extensively customize the software application. We assume that you're comfortable working with .NET solutions and Web services. In addition, we also assume that you have a basic understanding of how to navigate the Microsoft Dynamics CRM interface and you understand its configuration capabilities. If you're looking for a detailed explanation of the Web-based configuration tools that Microsoft Dynamics CRM offers, please refer to Working with Microsoft Dynamics CRM 4.0, Second Edition, which explains these topics in great detail. If you're brand new to Microsoft Dynamics CRM, and you want to learn how to navigate through the user interface (from an end-user perspective), you can refer to Microsoft Dynamics CRM 4.0 Step by Step, which explains various day-to-day tasks such as creating accounts, logging a phone call, tracking an e-mail, and so on.

我们写这本书是为了一些使用CRM来增强定制化功能的开发者。我们设想你能利用它来更舒适有效的利用net解决方案和服务。另外,我们也设想你也能了解CRM接口操作和配置功能。如果你需要详细了解CRM提供的一些web-based配置工具,你需要去查看Working with Microsoft Dynamics CRM 4.0第二版,它详细阐述了这些问题。如果你是初步学习CRM的开发者,并且你也希望通过用户接口熟悉CRM操作方法,你需要去查看Microsoft Dynamics CRM 4.0 Step by Step,它详细阐述了日常使用的一些操作方法,例如创建账户, 电话登录,邮件跟踪等等。

What This Book Is About(本书内容)

We divided this book into 15 chapters:

本书一共分为15章:

Chapter 1, "Microsoft Dynamics CRM 4.0 SDK Overview," introduces the Microsoft Dynamics CRM Software Development Kit (SDK) and outlines the most common questions that developers might ask about developing within Microsoft Dynamics CRM.

第一章, “Microsoft Dynamics CRM 4.0 SDK 概述 ”,介绍Microsoft Dynamics CRM软件开发包和概述开发者在开发过程中的常见问题。

Chapter 2, "Development Overview and Environment," provides information about the various software editions and looks at the unique Microsoft Dynamics CRM issues related to setting up a development environment.

第二章,“开发概述和环境”,介绍各种软件版本和搭建开发环境中的各种问题。

Chapter 3, "Communicating with Microsoft CRM APIs," explains how to programmatically connect with the Microsoft Dynamics CRM APIs. This chapter also covers how you connect to the APIs in the various deployment options: on-premise, Internet-facing, and Microsoft Dynamics CRM Online.

第三章,“Microsoft CRM APIs使用”,介绍在开发过程中怎样去使用API,包含在各种部署选项中怎样访问API,例如on-premise, Internet-facing, and Microsoft Dynamics CRM Online。

Chapter 4, "Security," supplies information about how your custom code interacts with the Microsoft Dynamics CRM security model. This chapter also takes a look at using custom code to encrypt specific data attributes.

第四章,“安全”,支持自定义代码使用在Microsoft Dynamics CRM安全模型上。本章节看看使用自定义代码来实现特殊数据的加密。

Chapter 5, "Plug-ins," offers a detailed look at the Microsoft Dynamics CRM plug-in model. This includes creating the project, registering the plug-in, deploying the plug-in, and then working with the IPluginExecutionContext.

第五章,“插件”,提供详细的插件模型使用方式。本章节包含创建项目,注册插件,部署插件和使用IPluginExecutionContext对象。

Chapter 6, "Programming Workflow," examines the Microsoft Dynamics CRM workflow module and how it takes advantage of the Windows Workflow Foundation. More important, this chapter explains how you can create your own custom workflow activities that you can reference in Microsoft Dynamics CRM workflow rules.

第六章,“工作流编程”,讲述CRM工作流木块和工作流的使用。更重要的是讲述在CRM中怎样创建一个遵循规则用户自定义工作流。

Chapter 7, "Form Scripting," explains the client-side scripting model. The chapter also provides examples of how you can create custom client-side code that calls Web services, run scripts from ISV.Config buttons, and so on.

第七章,“表单脚本”,介绍客户端脚本模型。本章提供一些客户端脚本开发的示例来调用服务和从ISV.Config中运行脚本等。

Chapter 8, "Developing with the Metadata Service," explains the Microsoft Dynamics CRMMetadataService, and how you can use this API to programmatically retrieve and modify data about the system schema.

第八章,“数据服务开发”,讲述CRM元数据库服务和利用脚本去编程检索修改系统架构数据。

Chapter 9, "Deployment," explains various topics related to deploying your Microsoft Dynamics CRM solution from one environment to another.

第九章,“部署”,讲述多种方式来部署配置CRM解决方案。

Chapter 10, "Developing Offline Solutions," outlines the nuances of writing custom code that works properly using Microsoft Dynamics CRM for Outlook with Offline Access.

第十章,“开发离线解决方案”,概述使用CRM 访问来开发用户代码和outlook协作。

Chapter 11, "Multilingual and Multi-Currency Applications," offers a look at how to use Microsoft Dynamics CRM's multilingual and multi-currency functionality within your custom code to support global deployments.

第十一章,“多语言和多货币应用”,讲述利用CRM的多语言和多货币开发自定义代码来支持国际化部署。

Chapter 12, "Advanced Workflow Programming," goes deeper into programming the Microsoft Dynamics CRM workflow functionality, and explains how you can create custom workflow activities with XAML.

第十二章,“工作流编程进阶”,讲述深层次的掌握CRM工作流和使用XAML标记创建用户自定义工作流活动.

Chapter 13, "Emulating User Interface with ASP.NET Development," shows how you can create custom Web pages and user interfaces that blend seamlessly into the out-of-the-box Microsoft Dynamics CRM user interface, which provides a better end-user experience for your organization.

第十三章,“ASP.NET开发嵌入”,开发自定义页面和CRM无缝接入,为客户提供更好的用户体验。

Chapter 14, "Developing Custom Microsoft CRM Controls," provides examples of creating custom user controls that reference Microsoft Dynamics CRM data.

第十四章,“开发自定义CRM控件”,提供开发自定义控件代码示例实现CRM数据访问。

Chapter 15, "Additional Samples and Utilities," discusses some of the utility classes and code used in the previous chapters as well as providing additional examples using the Microsoft Dynamics CRM technologies.

第十五章,“示例和工具”,讨论在之前的章节中使用到CRM技术的一些工具类和代码。

Companion Content(参考指南)

This book features a companion Web site that makes available to you all the code used in the book. This code is organized by chapter, and you can download it from the companion site at the following URL:http://www.microsoft.com/mspress/companion/9780735625945.

本书特点提供了一些示例代码帮助你有效的学习,这些示例代码都是按章节排序的,你可以从http://www.microsoft.com/mspress/companion/9780735625945去下载。

System Requirements(系统要求)

We recommend that you refer to the Microsoft Dynamics CRM Implementation Guide for detailed system requirements. From a high level, you'll need the following hardware and software to run the code samples in this book:

我们建议你去参考CRM的实现指南来查询详细的系统要求。 最好去遵循硬件和软件来运行示例代码。

Client(客户端)

  • Microsoft Windows XP with Service Pack 2 (SP2) or the Windows Vista operating system(XP SP2或者Vista操作系统)

  • Microsoft Internet Explorer 6 SP1 or Internet Explorer 7(IE6 SP1或者IE7浏览器)

  • Microsoft Visual Studio 2005 or Microsoft Visual Studio 2008 (for the code samples)

  • Microsoft Office 2003 with SP3 or the 2007 Microsoft Office System with SP1 (if you want to use Microsoft Dynamics CRM for Microsoft Office Outlook)

Server(服务器)

  • Microsoft Windows Server 2003 or Microsoft Windows Small Business Server 2003

  • Microsoft SQL Server 2005

  • Microsoft Dynamics CRM 4.0 Server license (Workgroup, Professional, or Enterprise edition)(CRM4.0注册码---工作组版,个人版或者企业版)

  • Computer/processor: Dual 1.8-gigahertz (GHz) or higher Pentium (Xeon P4) or compatible CPU(双核1.8G或者更高)

  • Memory: 1 gigabyte (GB) of RAM minimum, 2 GB or more of RAM recommended(内存1G,2G或者更高推荐使用)

  • Hard disk: 400 megabytes (MB) free space(硬盘空间:400MB以上)

  • Network card: 10/100 Mbps minimum, dual 10/100/1000 Mbps recommended(网卡:10/100Mbps,双线10/100/1000Mbps推荐使用)

Find Additional Content Online

As new or updated material becomes available that complements your book, it will be posted online on the Microsoft Press Online Developer Tools Web site. The type of material you might find includes updates to book content, articles, links to companion content, errata, sample chapters, and more. This Web site is available atwww.microsoft.com/learning/books/online/developer, and is updated periodically.

Support for This Book(本书支持)

Every effort has been made to ensure the accuracy of this book and the contents of the companion Web site. As corrections or changes are collected, they will be added to a Microsoft Knowledge Base article.

Microsoft Press provides support for books and companion content at the following Web site:

Microsoft出版社为本书和内容指南提供支持,请访问以下网站

http://www.microsoft.com/learning/support/books/

Questions and Comments(问题和注释)

If you have comments, questions, or ideas regarding the book or the companion Web site, or questions that are not answered by visiting the sites above, please send them to Microsoft Press via e-mail to

如果你有任何关于本书的意见,问题或者是想法,请访问上述网站,并通过以下邮箱发送邮件

mspinput@microsoft.com

Or via postal mail to

Microsoft Press
Attn: Programming Microsoft Dynamics CRM 4.0 Editor
One Microsoft Way
Redmond, WA 98052-6399

Please note that Microsoft software product support is not offered through the above addresses.

Microsoft Dynamics CRM4.0编程---说明的更多相关文章

  1. Microsoft Dynamics CRM4.0 和 Microsoft Dynamics CRM 2011 JScript 方法对比

    CRM 2011 如果需要再IE里面调试,可以按F12在前面加上contentIFrame,比如 contentIFrame.document.getElementById("字段" ...

  2. Microsoft Dynamics CRM4.0 JScript 过滤lookup 出现 Microsoft Dynamics CRM 窗口无法打开,可能已被弹出窗口阻止程序所阻止。

    一.现象:JScript过滤lookup字段,选择lookup字段出现下图的情况: 出现:Microsoft Dynamics CRM 窗口无法打开,可能已被弹出窗口阻止程序所阻止.请将这台Micro ...

  3. Microsoft Dynamics CRM4.0 创建单据的时候,自动生成单据编号的通用方法

    一.新建两个实体,具体如下: 单据流水号(new_maxbillcode) 显示名称 名称 类型 格式 最大长度 需求级别 IME模式 备注 名称 new_name nvarchar 文本 100 业 ...

  4. Dynamics CRM4.0 和 Dynamics CRM2011 Plugin 实现一样的功能的方法的比较

    1.给类型赋值不同 CRM4 plugin给lookup赋值为空 : Lookup lookupnull = new Lookup(); lookupnull.IsNull = true; looku ...

  5. 一、Microsoft Dynamics CRM 4.0 SDK概述

    Chapter 1. Microsoft Dynamics CRM 4.0 SDK Overview(SDK概述) You are probably reading this book because ...

  6. Microsoft Dynamics CRM 4.0导入组织(Import Organization)时间过长的原因总结

    952934    How to move the Microsoft Dynamics CRM 4.0 deployment http://support.microsoft.com/default ...

  7. 从 Microsoft Dynamics CRM 4.0 server迁移到 Microsoft Dynamics CRM 2013 Server

    不能就地升级早于 Microsoft Dynamics CRM Server 2011 的版本号,比方 Microsoft Dynamics CRM 4.0 server.可是,能够在升级过程中使用 ...

  8. Microsoft Dynamics CRM2011 必备知识点

    一.CRM基本知识 1.CRM2001 有几个服务端点? 答:对外公开的服务,如Web服务,WCF,Restful API 2.一个ERP系统,要访问CRM的数据,CRM2011有哪些现有的服务入口提 ...

  9. Microsoft Dynamics CRM 2011 相关-摘自网络

    Microsoft Dynamics CRM Server 2011硬件需求: 组件 *最低要求 *推荐配置 处理器 x64 体系结构或兼容的双核 1.5 GHz 处理器 四核 x64 体系结构 2 ...

随机推荐

  1. Struts1 中实现Action跳转地址栏变化的方法

    Action进行跳转,有时候地址栏不变化,如果重复刷新就会重复提交, 这里一般需要进行重定向: 1.在xml里面进行配置 <action path="/checkCdconfirmEn ...

  2. java学习——网络编程UDP

    UDP 将数据及源和目的封装成数据包中,不需要建立连接 每个数据报的大小限制在64k内 因无连接,是不可靠协议 不需要建立连接,速度快 TCP 建立连接,形成传输数据的通道 在连接中进行大数据量传输 ...

  3. 你好,C++(11)如何用string数据类型表示一串文字?根据初始值自动推断数据类型的auto关键字(C++ 11)

    3.5.2  字符串类型 使用char类型的变量我们可以表示单个字符,那么,我们又该如何表示拥有多个字符的字符串呢? 我们注意到,一个字符串是由多个字符串连起来形成的.很自然地,一种最简单直接的方法就 ...

  4. JavaScript设计模式之构造函数模式

    一.构造函数模式概念 构造函数用于创建特定类型的对象——不仅声明了使用过的对象,构造函数还可以接受参数以便第一次创建对象的时候设置对象的成员值.你可以自定义自己的构造函数,然后在里面声明自定义类型对象 ...

  5. Tomcat安装阿里云免费证书

    安装证书 Tomcat支持JKS格式证书,从Tomcat7开始也支持PFX格式证书,两种证书格式任选其一.下载包中包含PFX格式证书和密码文件. 1.PFX证书安装 找到安装 Tomcat 目录下该文 ...

  6. 初涉JavaScript模式系列 阶段总结及规划

    总结 不知不觉写初涉JavaScript模式系列已经半个月了,没想到把一个个小点进行放大,竟然可以发现这么多东西. 期间生怕对JS的理解不到位而误导各位,读了很多书(个人感觉JS是最难的oo语言),也 ...

  7. jQuery自带的一些常用方法总结

    jQuery自带的一些常用方法总结 这篇文章主要介绍了jQuery自带的一些常用方法总结,包括$.trim .$.contains.$.each.$.map.$.inArray.$.extend等,需 ...

  8. HTML&CSS基础学习笔记1.33-元素选择器

    元素选择器 最常见的 CSS 选择器是元素选择器.换句话说,文档的元素就是最基本的选择器: p { text-indent:10px; color:blue; } 什么情况下使用元素选择器,一般我们这 ...

  9. 使用bootstrap模态框实现浮动层

    authour: 陈博益 updatetime: 2015-04-22 06:52:15 friendly link: http://v3.bootcss.com/javascript/#modals ...

  10. Tomcat 9.0安装配置

    本文转自:http://blog.sina.com.cn/s/blog_15126e2170102w5o8.html 一.JDK的安装与配置 1.从官网下载jdk,注意是jdk不是jre.最好从官网下 ...