Tag: crm

ExecuteMultipleResponse; 如何从rest中读取和存储Guids

我正在使用ExecuteMultipleResponse方法使用SSIS一次插入10个帐户记录。 List _Accounts = new List(); // Check the batch size and process public override void InputAccount_ProcessInput(InputAccountBuffer Buffer) { //List personIDs = new List(); int index = 0; while (Buffer.NextRow()) { _Accounts.Add(InputAccountFromBuffer(Buffer)); //personIDs.Add(int.Parse(Buffer.sPersonID)); index++; if (index == 10) { ImportBatch(); index = 0; } } ImportBatch(); } private void ImportBatch() { if (_Accounts.Count > 0) […]

连接到CRM

我需要我的网站连接到CRM这是我的代码 var organizationUri = new Uri(ConfigurationManager.AppSettings[“CRMServerUrl”]); //Client credentials var credentials = new ClientCredentials(); credentials.UserName.UserName = @””; credentials.UserName.Password = “”; // Use the Microsoft Dynamics CRM Online connection string from the web.config file named “CrmConnectionStr”. using (OrganizationServiceProxy _service = new OrganizationServiceProxy(organizationUri, null, credentials, null)) { Response.Write(“Connected”); } 这是在我的web.config中 <add key="username" value="” /> <add key="password" value="” /> […]

插件不参与CRM 2011的参考

我创建了一个插件,并使用了对我创建的另一个项目(DLL)的引用。 问题是当我尝试运行插件时,我收到CRM错误说: 无法加载文件或程序集“XXX,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = a760feb9ec7271a9”或其中一个依赖项。 该系统找不到指定的文件。 有没有人有任何想法解决这个问题?

如何使用crm sdk和C#从CRM 2011中的实体字段中获取选项集

如何使用crm sdk和C#从CRM 2011中的实体字段中获取选项集? 我只想与您分享一个直接的方法来获取实体中的字段选项集。