????? ?????? ?????????? ?? ??? ???????? ????? ??? ????????? ??? ????? ????? ?????? ?????????? ???? ??????? ?? Microsoft Dynamics CRM

?????? ????????? ?????? ?????????
???? ???????: 911520 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ????? ?????? ?????????? ???? ??????? ?? Microsoft Dynamics CRM ?? ??? ????? ????? ?????? ?????????? ???????? ??? ?????????. ????? ?? ???? ??? ??? ?? ???? ?????? ??????????. ??? ???? ????? ??? ????? ?? ???? ?????? ?????????? ??????.

????

?? ????? ??? ??????? ?? Microsoft Dynamics CRM 3.0 ??????? ???????? 1. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
922815????? ??????? ???????? 1 ?? Microsoft Dynamics CRM 3.0
?? ????? ??? ??????? ?? ??????? ???????? 1 ?? Microsoft Dynamics CRM 3.0 Professional Edition ?????? ????. ????? ?? ?????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
935731????? ??????? ???????? 1 ?? Microsoft Dynamics CRM 3.0 Professional Edition ?????? ????

??????? ???????

??? ??? ?????? ?? ????? ?? ?????? ??? ????? ?????? ?? ????? ????? ???????. ??? ???? ?? ???? ?????? ????? ?? ???? ????? ????? ?????? ??? ?????. ????? ???? ?? ???? ??????? ??????? ??????. ?????? ??? ??????? ??????? ??? ???? ???????? ?? ????? ??? ??????. ?? ????? ??????? ????? ?? ???? ???? ?????. ?????? ??? ???? ?? ????????? ??? ????? ??? ???? ???????? ?? ????? ????????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
322756????? ??? ???? ???????? ? ??????? ??????? ?? Windows


??? ????? ??? ??????? ???????? ??? ????? ????? ????? ??? ???? Microsoft Dynamics CRM ?????? CampaignSendEmail. ?????? ????? ???? ??????? ???????:
  1. ???? ??? ???? ?? ???? ??? ????? ????? regedit ?? ???? ??? ?????.
  2. ?? "???? ???????" ? ??? ???? ????? ??????? ?????? ??????:
    HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\MSCRM
  3. ????? ????? ???????. ?????? ????? ???? ??????? ???????:
    1. ???? ??? ?????? ?????? ??? MSCRM ? ??? ??? ???? ?? ???? ??? ???? DWORD.
    2. ?? ????? ??? ???? CampaignSendEmail.
    3. ???? ????? ??????? ??? ????? ??????? ??? ?? ???? 1 ?? ????? ????.

      ?????? ??? ??? ?????? 1 ?? ????? ???? CRM ???????? ???? ????? ?????? ?????????? ???? ???????. ??? ??? ?????? 0 ?? ????? ???? CRM ?? ???????? ???? ?????? ?????????? ???? ?? ??????? ?? ??????

???? ??????

??????? ?????? ??? ??? ??????? ????? ?? ????? ??? ??????? ?????? ????? ????? .NET ??? ????? ?????? ????? ?????? ?????????? ????????.

?????? ?? ???? Microsoft CRM 3.0 ?? ??????? .NET ????? ???? ?????? ???????:
  • ????? ????? .NET ???????? ?????? Microsoft Visual Studio .NET 2005 .NET Framework ??????? 2.0.
  • ???? ?? ????????? ????? .NET ????? ????? ??? ?? ????? ??? ???.
?????? ????? .NET ??? ????? "? ???? ??????? ???????:
  1. ????? ??? ?? ??? ???? ??? ?????? ?????????? CRM Microsoft ??????? ?????? ???? ?????? ?????????? ???? ???????:
    1. ?? Microsoft CRM ???? ??? ???????? ??? ? ??? ??? ??????? ? ???? ??? ????? ? ???? ??? ??????? ???? ?? ????? ? ???? ??? ???? ????????, ???? ??? ???? ?? ????????? ?? ?? ???? ??? ?????.
    2. ???? ??? ???? ?? ???? ??? ????.
    3. ?? ????? ??? ?????? ???? ?????. ?????? ??? ?????? ??? "?????????? ????."
    4. ?? ??????? ?????? ???? ??? ??.
    5. ?? ??????? ?????? ??????????? ???? ??? "??" ?? ???? ??? ??? ??????.
    6. ???? ??? ??????? ???? ?????.
    7. ???? ??? ????? ???? ??? ??????? ?????? ?? ???? ??? ?????.
    8. ???? ??? ????? ???? ???? ??? ????? ?????? ???? ??? ??????? ???? ??? ????? ? ?? ???? ??? ??? ??????.
    9. ?? ???? "?????? ??????" ???? ??? ??????? ? ???? ??? ??? ?? ???? ??? ??? ??????.
  2. ????? ????? .NET ?????? ????? ?????? ??????????. ??????? ??????? ????? ????? ??? ????? ???? AutoSend ???????? Microsoft Visual Studio .NET 2003:
    1. ??? ????? Visual Studio .NET 2003 ?? ???? ??? ????? ????.
    2. ???? ??? Visual C# ?????? ???? ??? ????? ?????? ???? AutoSend ???? ?? ???? ??? ?????.
    3. ?? "?????? ??????" ???? ??? ?????? ?????? ??? ????? ??? ?? ???? ??? ????? ???? ???.
    4. ?? ????? "URL" ? ???? ???? ??? Crmservice.asmx. ?? ?????? ??????? localhost:5555 ?????? ?????? ???? ???? Microsoft CRM ??? ???:
      http:// localhost:5555 /mscrmservices/2006/crmservice.asmx
    5. ?? ?????? ?????? ?? ????? ??? ???? ??? ??? CrmSdk.
    6. ???? ??? ????? ????.
    7. ????? ??????? ???????? ???????.
       using AutoSend.CrmSdk; 
    8. ????? ????? ????? ???? ????? Guid ???? ActivityId ?????? ??????????.

      ?????? ??? ??????? ???? GUID ?????? ?? ??? service.CallerIdValue.CallerGuid ???? GUID ?? ????? SystemUserId ???????? ?? ?????? Microsoft CRM ???? ???????? ???????? ?????? ????? ?????? ??????????.

      ????? ??????? ??????? "????? ??????? ??? ????????. ????? ????? ??? ???? ?? ???. ??????
       
      public void SendEmail(Guid campaignActivityID)
      		{
      			CrmService service = new CrmService();
      			service.Credentials = System.Net.CredentialCache.DefaultCredentials;
      
      			service.CallerIdValue = new CallerId();
      			// Replace the GUID with the GUID of 
         the Microsoft CRM Administrator.
      			service.CallerIdValue.CallerGuid = new 
         Guid("FD80F8E8-C852-DA11-B1FB-0007E94D105B");
      
      			SendEmailRequest req = new SendEmailRequest();
      			req.EmailId = campaignActivityID;
      			req.TrackingToken = "";                                                                   
      			req.IssueSend = true;      
      
      			try 
      			{
      				SendEmailResponse res = (SendEmailResponse)service.Execute(req);
      			}
      			catch (System.Web.Services.Protocols.SoapException er)
      			{
      				// Process any error messages here.
      			}
      
      		} 
    9. ??? ????? ?? service.CallerIdValue.CallerGuid ???? ??? ????? ?? ???? ??? ???? ????.
    10. ?? ???? ????? AutoSend.dll ?????? ?????? ????? ?? ???? Bin\Debug ???? ????? ?? ??? ?????? ??????:
      CRM\Server\Bin\Assembly Files\Microsoft ????????
  3. ????? ??????? ??????? ?? ??? Workflow.config:
    1. ???? ??? ???? ???? ??? ???????? ???? ??? ????? ?????? ? ?? ???? ??? ?????.
    2. ?? ?????? "???????" ? ???? ??? ?????? ?????? ??? ???? ??? ????? Microsoft CRM ?? ???? ??? ?????.
    3. ??? ???? ????? Workflow.config ?? ?? ???? ??? ????? ?? "???????". ?????? ???? ??????? ??? ???:
      CRM\Server\Bin\Assembly\Workflow.config Files\Microsoft C:\Program
    4. ??? ????????? ??????? ?? ???? ??????.
       
      <method name="E-mail"
      		assembly="AutoSend.dll"
      		typename="AutoSend.Class1"
      		methodname="SendEmail">
      		<parameter name="E-mailId" datatype="lookup" 
      entityname="email"/>
      </method> 
      
    5. ????? ????? ????? ?? ????? Workflow.config ??????.
       
      <workflow.config xmlns="http://microsoft.com/mscrm/workflow/" 
      allowunsignedassemblies="true"> 
      
    6. ??? ????? ??? ?? ??????.
    7. ?? ?????? "???????" ? ???? ??? ?????? ?????? ??? ???? ??? ????? Microsoft CRM ?? ???? ??? ????.

      ?????? ??? ?? ??? ???? ????? a? ?????? ???? ???????.
  4. ????? ????? ??? ??? ???? ?????? Microsoft .NET ??????? ?????? ????? ?????? ??????????:
    1. ??? ???? Microsoft CRM ??? ???? ??? ???? ???? ??? ??????? ? ??? ??? Microsoft CRM ?? ?? ???? ??? ????? ??? ?????.
    2. ?? ??????? ??? ?????? ???? ??? ???? ???????? ?? ???? ??? ????.
    3. ?? ????? ??? ???? ????? ???? ???????? ????. ?? ?????? ??????? ??? ????? ????? ?? ???? ??? ??????.
    4. ???? ??? ????? ??? ??? ?? ???? ??? ?????? ?? ??????.
    5. ???? ??? ????? ???? ??? ???? ??? ????? ??? ?? ?? ???? ??? ?????? ?? ???? ??????.
    6. ?? ??????? ?????? ???? ??? ???? ???????? ???? ???? ??? ????? ?? ?? ???? ??? ???? ???.
    7. ?? ??????? ?????? ??????? ???? ??? ??? ?? ???? ??? ????? ?????.
    8. ???? ??? ????? ??? ?? ???? ??? ???? ????? ??????.
    9. ?? ??????? ?????? ???? ??? ????? ???? ??? ????? ?? ?? ???? ??? ???? ???.
    10. ?? ??????? ?????? ??????? ???? ??? ?????? ?? ???? ??? ????? ?????.
    11. ???? ??? ????? ??????? ??? ???? ??? ????? ????? ??? ??? ?????? ??????? ?? ???? ??? ???? ????????.
    12. ?? ?????? ??? ????? ???? ????? ???? ???????? ????.
    13. ???? ????? ??????? ??? ??????? mailId E ???? ??? ???? ?????????? ??? ?????? ?????????? ?????? ?? ?????? ???? ? ?? ???? ??? ????? ?????.
    14. ???? ??? ???.
    15. ???? ??? ?????? ?????? ??? ??????? ??????? ???? ?? ??????? ??? ?? ???? ??? ?????.
  5. ?????? ???????. ?????? ????? ????? ???? ?????? ???????? ???? ????? ?? ?? ?????? ??? ???? ?????? ??? ???:
    1. ?? Microsoft CRM ????? ??? ???? ?????? ???? ??? ????? ???? ?????? ?? ???? ??? ?? ??????? ???????.
    2. ???? ??? ?????? ? ????? ?? ?? ?????? ???? ?????? ?? ???? ???? ?????.
    3. ???? ??? ?????? ? ???? ??? ???? ???????? ?? ???? ??? ??????.
    4. ?? ?????? ???????? ???? ?????? ?????????? ?????? ????? ?????? ?? ???? ??????? ?????? ??????????.
    5. ?? ????? ???? ?????? ???? ??? ??? ?? ???? ??? ??????.
    6. ???? ??? ????? ?? ?? ???? ?? ????? ???? ?????? ??????????.

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???".?? ????? ??? ??????? ?? Microsoft Dynamics CRM 3.0 ??????? ???????? 1 ? ?? ??????? ???????? 1 ?? Microsoft Dynamics CRM 3.0 Professional Edition ?????? ????.

?????

824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft
887283???? ??????? ?????? ????? Microsoft CRM ???? ????? ?????? ?????? ???????

???????

???? ???????: 911520 - ????? ??? ??????: 07/?????/1428 - ??????: 8.2
????? ???
  • Microsoft CRM 3.0
  • Microsoft Dynamics CRM 3.0 Professional Edition for Service Providers
????? ??????: 
kbmt kbmbsemail kbhotfixserver kbqfe kbmbsworkflow kbmbsmigrate KB911520 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????911520

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com