星期一, 一月 21, 2008

CRM 4.0 Callout 和 Plugin

我想大家到现在也知道 CRM 3.0的callout 在 CRM 4.0那里改名叫 plugin了吧,我想让大家知道,CRM 4.0 web service 是 backward compatible。如果你写用新的方法写 plugin, CRM 将用 2007的 web service 终端。 如果你用你用旧的方法写 CRM 3.0 的 callout, CRM 4.0 将使用 2006 的 web service 终端。

CRM 4.0 MSDN Key 出来了

如果你是MSDN w/ Premium 的用户, 你可以在MSDN那里取道 CRM 4.0的 Keys。

星期一, 一月 14, 2008

我的近况

大家好!很久都没有写BLOG 了, 原因就是我把我喜欢的 Windows Live Writer 弄坏了, 今天才把它弄好。 :) 如果你写BLOG需要一个BLOG的软件,我提议你使用Windows Live Writer, 真的很好用!

自从12月从中国回来后,每天都忙得很。虽然说12月有圣诞节和元旦假,但放假都很多东西做,真的想停下来休息休息。

我现在做一个CRM 4.0的项目,做完后, 将有有1000多的CRM 用户。 所以每个星期都要出差到Milwaukee, Wisconsin去。从12月到现在,我都在做 CRM 4.0的集成。我考虑了使用以下的几种方法:自己开发的程序, Scribe, BizTalk, SQL CLR 或 SSIS。 最后我选择了使用 SSIS。使用 SSIS真的可以省很多的费用,因为SSIS是SQL一个component, 不用分开来买。BizTalk做可以, 但太昂贵了。等我做完后,我教大家做好吗? 真的不难。

CRM 4.0开发跟CRM 3.0有一点不同,我想参加过DPE培训的朋友也体会过了。 CRM 4.0 出了一段时间了,大家有没有学了什么新的东西,有的请跟大家分享一下吧。到我的论坛上去放。:)

跟着下来的两个月,我将都出差到Milwaukee去,晚上将有时间写BLOG了。:) 请留意了!

星期六, 十月 27, 2007

CRM 4.0 视图

大家好!我用CRM Titan也用了一段很长的时间了,从CTP 1开始到CTP 3, RC0将快出了。我也相信Partner们也下载了和正在研究过CRM 4.0吧。smile_regular 不知道大家对CRM 的感觉怎样?喜欢还是不喜欢呢?我自己是非常喜欢的。我特别的喜欢CRM 4.0。好像 McDonald 麦当劳的广告那样:"I'm loving it."

在CRM 3.0里, 如果我们创建一个视图,我们只可以选择在创建视图实体中的那些字段, 不能选择其他实体的字段。没有办法选择其他实体的字段, 有的时候真的很麻烦。因客户的需求,我们需要使用其他的软件加在CRM 3.0上或自己做编程。

但微软听到我们CRM民众的心声,终于在CRM 4.0加上了这个功能。我们可以从不同的实体拿取自段放到视图里去了。

ScreenHunter_01Oct_0116_31_3

好,今天就给大家介绍这一个,CRM 4.0的资料陆续有来。

星期四, 十月 18, 2007

CRM 报价

我想用过 CRM 报价单跟 CRM 产品的朋友都知道, CRM不是在这方面强。但现在美国加州有一间公司叫 Experlogix, 创建了一个add-on的产品给CRM, 产品报价容易多了。我们现在有一个客户准备试用。但从我看来, 是一个不错的产品。大家也可以参考一下。

公司网址:http://www.experlogix.com

产品演示 Demo:http://www.experlogix.com/flash30.html

星期四, 十月 11, 2007

CRM 4.0 - Titan

今天参加了微软的CRM提供给Partner 的会议,会议上微软给我们介绍了CRM 4.0新的功能。CRM 4.0 当然是比 CRM 3.0好啦。现在真的有很多的东西向给大家介绍,不知道在那里下手。如果你有问题关于CRM 4.0的,请到论坛上问,我现在可以公开CRM4.0 - Titan的资料了。

以前我在论坛上看到了很多客户都问关于多语言,多币种。 现在问题都解决了,CRM 4.0 可以安装25种语言和几百币种。想改变CRM的语言, 非常的容易,每个用户可以选择自己想要得语言。

CRM 4.0最大的改变就是流程的管理器。微软从写了流程管理器,使用了WWF (Windows Workflow Foundation)。你可以在CRM那里创建流程,不需要在CRM的服务器上创建和改变流程了。 还有的就是流程的启动不再限于 “创建”(Create),“改变状态”(Change Status),“手动”(Manual)。流程可以在字段的改变启动了。很多以前需要用callout来做的东西,使用流程就可以了。

在CRM报表上,也有很大的进展。 如果想创建一些简单的报表,你可以在CRM里创建了。不需要使用Visual Studio来做。 CRM 4.0里有一个简单的报表创建器。报表创建器有一定的限制,像 如果你想从多过两个实体取资料的, 那么你就要使用 Visual Studio 了。

SDK也有很多心的东西,所有CRM 3.0的编程,CRM 4.0都可以用。不需要从新编程。:) callout 现在改名了,改为plug-in。以前callout的编程,只能在线才可以用,现在CRM有了offline-sdk,plug-in也可以在下线的时候用了。 所有plug-in的dll,以前是放在CRM服务器上,现在的dll都放到数据库,那么在下线的时候,plug-in也一同下载到你local的数据库里。

今天就给大家介绍这么多,改天再给大家介绍一些CRM 4.0新的东西,如果你有CRM问题, 请到论坛上问。我将会尽能力回答的。

星期二, 十月 09, 2007

CRM 4.0 VPC

如果你是微软的partner, 你可以到你的partner 网里下载 CRM4.0的VPC。

https://mbs.microsoft.com/partnersource/products/mscrm/

CRM 4.0 只能用到 11/20/2007.

星期一, 十月 01, 2007

CRM Titan 一睹为快

微软有个条例不给公开CRM Titan的质料,好像那个条例10/1解除了, 我需要确认一下,如果是的,我将会给大家开始介绍Titan.

但是有位在德国CRM的MVP已经放了一些Titan的东西了,大家可以看看。 :)

http://www.stunnware.com/crm2/topic.aspx?id=TitanBeta3

星期三, 九月 26, 2007

Microsoft Dynamics CRM 3.0 List Web Part

如果你对SharePoint有兴趣, 想在SharePoint那里显示CRM的资料。微软做了一个CRM 3.0的List Web Part,你可以到以下连接下载:http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=bc9b3526-decf-4057-a530-91840c0d5401

”Microsoft Dynamics CRM 3.0 的 List Web Part 提供了 Microsoft CRM 记录列表功能的子集。它允许用户将 Microsoft CRM 记录视为一个来自 SharePoint Dashboard 的列表,从列表中打开 Microsoft CRM 3.0 记录,然后连接 Microsoft CRM Web 部件以筛选不同的列表。"

星期一, 九月 24, 2007

中秋节快乐!

中秋来了,祝大家中秋(月饼)节快乐!如果我在中国就好了,我就可以有好吃的月饼了。smile_regular

安装CRM时用的帐户

很多人在安装CRM的时候选用了自己喜欢的帐户来做服务启动帐户。 如果公司不是一定要用一个特别的服务账户来安装的话,我建议使用CRM原本的网络帐户 (NETWORK SERVICES)来安装CRM。 还有的安装CRM在一个Load Balancing (平衡) 的环境上,那是需要一个服务帐户的。如果你不是用网络帐户安装的话,你需要设一些 SPN 的东西。

星期二, 九月 11, 2007

新的 CRM 3.0 VPC Image - Aug 2007

新的 CRM 3.0 VPC 安装了以下的软件:

  • Microsoft Windows Server 2003 R2 Enterprise Edition (SP2)
  • Microsoft SQL Server 2005
  • Internet Explorer 7
  • Microsoft Office Professional Plus 2007
  • Microsoft Office SharePoint Server 2007
  • Microsoft Dynamics CRM 3.0 (V3C with Rollup 2)
  • Microsoft Dynamics CRM Laptop and Desktop Client
  • Microsoft Dynamics CRM SDK (C:\CRM Tools\SDK)
  • Microsoft Dynamics Web Parts in http://intranet  and http://extranet  (not configured)
  • Microsoft Visual Studio 2005
  • Windows Desktop Search 3.01
  • POP3 E-Mail Services (No Exchange)
  • CRM Caching Tool
  • Web-To-Leads http://localhost:4444/webtolead

没有以下的软件:

  • Microsoft Dynamics CRM Mobile
  • Microsoft Dynamics CRM Exchange Router (since we are using POP3 e-mail for to reduce overhead)
  • Microsoft Dynamics CRM Analytics Foundation
  • Self Service SharePoint Portal Example
  • Marketing, Sales and Service SharePoint Portal Examples
  • Analytics SharePoint Portal Example
  • Microsoft Business Scorecard Manager
  • Word Task Pane Integration
  • Outlook Inbox Populator Tool

你的系统最少需要有以下要求:

  • PC with 1.2 gigahertz or higher processor clock speed
  • 1.5 gigabyte (GB) of RAM (4 GB recommended for optimum performance)
  • 12 or more GB of available hard disk space
  • Super VGA with 1024x768 resolution video adaptor and monitor
  • DVD drive
  • Support for high speed USB 2 if using an external USB 2 hard drive to store the image
  • 星期三, 八月 29, 2007

    新的CRM 3.0 VPC

    八月, 微软推出了新的 CRM VPC.你可以到以下连接下载。

    http://www.microsoft.com/downloads/details.aspx?FamilyID=57394bc8-5ecc-422e-a066-34189f48f8c8&DisplayLang=en

    CRM Titan TAP 3

    CRM Titan TAP 3 出来了, 我下在和安装了, 非常喜欢。 smile_regular  如果微软能给我向大家介绍Titan就好了!

    Callout.config.xml 文件

    你写完CRM的Callout,应该怎样把它跟CRM连接起来呢? 如果你想把CRM跟你写的程序连接起来, 你就需要在callout.config.xml的文件上加连接。 callout.config.xml的文件一般在 C:\Program Files\Microsoft CRM\Server\bin\assembly文件夹里。

    Callout.config.xml 可以在CRM 3.0SDK里找到。但那个例子有很多不需要的东西。如果你想要一个干净callout.config.xml 的模板, 就用以下的吧。只要把以下的放到notepad, 然后把它save成 callout.config.xml 放到assembly文件夹里, 就可以了。

    <callout.config version="1.0" xmlns=" http://schemas.microsoft.com/crm/2006/callout/">
    <!--在这里加连接-->
    </callout.config>





    我给一个例子,如果想跟 Account 连接, 在CRM Account Save后, 开动你的程序。你的callout.config.xml例子是以下:

    <callout.config version="1.0" xmlns=" http://schemas.microsoft.com/crm/2006/callout/">
    <callout entity="account" event="PostCreate">
    <subscription assembly="CalloutSample2.dll"
    class="CalloutSample2.CalloutComponent"
    onerror="abort">
    <postvalue>@all</postvalue>
    </subscription>
    </callout>
    </callout.config>
    1. PostCreate就是record 创建完后, PostUpdate就是record更新后, PostDelete就是删除后。
    2. CalloutSample2.dll就是那个class library的名。如果你写的dll名是hello.dll. 你可以把calloutsample.dll改为你dll的名。
    3. calloutcomponent是class的名, 如果你的dll那里有class叫darren,那么就是hello.darren.
    4. onerror="abort"意思是说,如果有错误,就停止。 
    5. <postvalue>@all</postvalue>, 就把所有字段的值都给你。
    以下的例子就在把Account创建完后,更新后, 删除后, 跟你的程式连接上。
    <callout.config version="1.0" xmlns=" http://schemas.microsoft.com/crm/2006/callout/">
    <callout entity="account" event="PostCreate">
    <subscription assembly="CalloutSample2.dll"
    class="CalloutSample2.CalloutComponent"
    onerror="abort">
    <postvalue>@all</postvalue>
    </subscription>
    </callout>
    <callout entity="account" event="PostUpdate">
    <subscription assembly="CalloutSample2.dll"
    class="CalloutSample2.CalloutComponent">
    <postvalue>name</postvalue>
    </subscription>
    </callout>
    <callout entity="account" event="PostAssign">
    <subscription assembly="CalloutSample2.dll"
    class="CalloutSample2.CalloutComponent"
    onerror="ignore">
    <prevalue>name</prevalue>
    </subscription>
    </callout>
    <callout entity="account" event="PostDelete">
    <subscription assembly="CalloutSample2.dll"
    class="CalloutSample2.CalloutComponent"
    onerror="ignore"/>
    </callout>
    </callout.config>





     


    我的中文能力有限, 希望能给大家解释道callout.config.xml的文件, 如有什么问题, 请到论坛上问,我会尽能力帮助大家的。

    星期二, 八月 07, 2007

    什么是CRM Callout?

    Callout 是微软给我们提供增加CRM 3.0功能的方法之一。软件开发者可以编写自己的程式 (dll),然后通过订阅的方式,在CRM Save 纪录之前后, 让CRM执行你的代码。Callout有两种:Pre-Callout是在纪录Save之前执行, Post-Callout是在纪录Save后执行。 Pre-Callout一般用来做纪录Save之前的更改,我常勇PreCallout 来检查系统要将Save的纪录是不是已经在系统里等等。。。 Post-Callout 我通常用来做系统的集成。

    以下是CRM的Callout大家可以订阅 (Subscribe):

    Logical Event - Description

    PreCreate - Generated before an entity instance is created.
    PostCreate - Generated after an entity instance is created.
    PreUpdate - Generated before an entity instance is updated.
    PostUpdate - Generated after an entity instance is updated.
    PreDelete - Generated before an entity instance is deleted.
    PostDelete - Generated after an entity instance is deleted.
    PreAssign - Generated before an entity instance is assigned to a new owner.
    PostAssign - Generated after an entity instance is assigned to a new owner.
    PreSetState - Generated before the state is changed for entity instance.
    PostSetState - Generated after the state is changed for an entity instance.
    PreMerge - Generated before merging two entity instances.
    PostMerge - Generated after merging two entity instances.
    PreSend - Generated before sending an e-mail.
    PostDeliver - Generated after delivering an e-mail

    Pre-Callout 模式

    Post-Callout 模式

     

    下一个Blog教大家来做一个Post-Callout.

    星期四, 七月 26, 2007

    Outlook/CRM Field Mapping (映射)

    多谢微软的 IIana Smith 跟她的组的成员给我们大家提供了 CRM 和 Outlook 的映射。如有问题,请到论坛提问。最近忙得要命,等我时间空一点,我将会教大家一些简单的 Callout.

    Field in Outlook | Field in CRM

    Task

    Body = description
    Due Date = scheduledend
    Priority = priority
    Start Date = scheduledstart
    Status = computed from Activity State Code and Appointment Status Code
    Subject subject

    Unsynchronized Outlook fields include: Reminder, Contacts, Categories, Privacy Flag, Date Completed, Total Work, Companies, Mileage, Billing Information

     

    Appointment

    All Day Event = isalldayevent
    Body = description
    Duration = scheduleddurationminutes
    End = scheduledend
    Location = location
    Optional Attendees = optionalattendees
    Organizer = organizer
    Priority = priority
    Required Attendees = requiredattendees
    Show Time As = computed from Activity State Code and Appointment Status Code
    Start = scheduledstart
    Subject = subject

    Unsynchronized Outlook fields include: Label, Reminder, Contacts, Categories, Privacy Flag, Importance Flag

     

    Contact

    Anniversary = anniversary
    Assistant Name = assistantname
    Assistant Telephone Number = assistantphone
    Birthday = birthdate
    Body = description
    Business Fax Number = fax
    Business Telephone Number = telephone1
    Children = childrensnames
    Department = department
    Email1Address = emailaddress1
    Email2Address = emailaddress2
    Email3Address = emailaddresss3
    First Name = firstname
    FTP Site = ftpsiteurl
    Government ID Number = governmentid
    Home Telephone Number = telephone2
    Job Title = jobtitle
    Last Name = lastname
    Mailing Address City = address1_city
    Mailing Address Country = addresss1_country
    Mailing Address Post Office Box = addresss1_postofficebox
    Mailing Address Postal Code = address1_postalcode
    Mailing Address State = addresss1_stateorprovince
    Mailing Address Street = address1_line1; address1_line2; address1_line3
    Manager Name = managername
    Middle Name = middlename
    Mobile Telephone Number = mobilephone
    Nickname = nickname
    Other Telephone Number  = telephone3
    Pager Number = pager
    Spouse = spousesname
    Suffix = suffix
    Title = salutation
    Web Page = websiteurl
    Yomi First Name = yomifirstname
    Yomi Last Name = yomilastname

    Unsynchronized Outlook fields include: Photo, IM Address, Other phone numbers, Office, Profession, NetMeeting Settings, Free/Busy Server Settings

    星期三, 一月 10, 2007

    大家好!最近忙得很,终于完成了个CRM集成的项目。 不知不觉已经在 Wisconsin 生活了几个月了。

    我们公司是微软 CRM 的一个金牌合作伙伴,我们参与了微软下一个版本的CTP。 基本上每个星期我们有 Web Conference,微软 CRM 的 产品组在给我们介绍 CRM 新的功能, 解释新的 SDK。

    下一个版本CRM 名叫 Titan。 Titan 将会有两个版本,一个叫 CRM Live,另外一个叫 CRM On-Premise。 CRM Live 是一个在线 的 CRM, 提供给一些公司需要 CRM 但不想购买或安装硬件或软件。 我想CRM Live 将会是 SaleForce.com 很强的对手。 CRM Live可以跟Office来连接,相信这是微软 CRM Live的卖点。

    另外一个是 CRM On-Premise, 就是普通的 CRM, 但是有了许多的进展。 微软加了很多的功能, 有大家想要的 多种语言的支持 (Multi-Lingo),多个业务部门 (Multi-Organization), 多币种 (Multi-Currency) 等等。 最大的进展就是流程的管理,使用了新的 Windows Workflow Foundation (WWF)。

    SDK也有了进展, 比现在的 SDK 多了很多的东西, 好像 Offline 也可以使用 Callouts 等等。

    Titan 的详细的东西现在不能公开, 但以上的东西好像已经公开在不同的英文网站了。 好了,现在只能公开这么多了。以后会给大家介绍更多 Titan 的资料。

    星期三, 一月 03, 2007

    新年好!

    我终于放完假了。2007 年了!祝大家步步高升,工作顺利,身体健康! 如果大家有什么CRM的问题,请在论坛发问, 我将尽能力解答。