Dynamics CRM 为客户获取信息
我正在开发一个 ASP.NET (C#) 站点,该站点使用 Microsoft 的 CrmService SDK 通过 SOAP 从 Dynamics CRM 中提取大部分数据。
我现在的查询已返回一个具有 Customer 类型属性的实体。我需要获取该客户记录的名称字符串,但不知道如何执行此操作。
通过做一些猜测工作,我发现我拥有的是客户的 GUID。如何使用此 GUID 来获取客户姓名字符串?
相关链接:
I'm working on a ASP.NET (C#) site that pulls most of its data from Dynamics CRM over SOAP using Microsoft's CrmService SDK.
I'm at the point where a query has returned an entity with a property of the type Customer. I need to get the name string of that customer record, but cannot figure out how to do so.
By doing a little guess work I figured out that what I have is GUID for the customer. How can I use this GUID to get the customer's name as a string?
Relevant Links:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我没记错的话,您应该能够获取客户的姓名:
以下代码将为您提供 GUID:
If I remember correctly to get the name of the Customer you should be able to do:
The following code would give you the GUID: