[英]Best Practices / Approaches for integrating API with Dynamics CRM
So we are in the process of starting our integration of our SOAP API with Dynamics using OData. 因此,我们正在开始使用OData将SOAP API与Dynamics集成。 I would like to get some ideas on how other have approached such an integration from a Dynamics perspective. 我想从动力学的角度了解其他人如何进行这种集成的一些想法。
How do you manage security for Dynamics so that only a specific authorized application, such as the API, can make modifications to Dynamics data? 您如何管理Dynamics的安全性,以便只有特定的授权应用程序(例如API)才能对Dynamics数据进行修改?
Similarly, how do you manage views? 同样,您如何管理视图? Do you create a copy of an existing view for everything you want to query or is there a better way? 您是否要为要查询的所有内容创建现有视图的副本,还是有更好的方法?
Are there other considerations that I should be taking into account that others have struggled with in the past? 还有其他我过去曾苦苦挣扎的考虑因素吗?
Here's some tips for you: 这里有一些提示给您:
For the security, you can create a non-interactive user. 为了安全起见,您可以创建一个非交互式用户。 It's ment to be a service user that can do operation without connecting to the UI. 成为服务用户可以在不连接UI的情况下进行操作。 It requires no licence. 它不需要许可证。 https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/create-users-assign-online-security-roles#create-a-non-interactive-user-account https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/create-users-assign-online-security-roles#create-a-non-interactive-user-account
Actions can be invoked from Web API and can act as entry-point for external applications. 可以从Web API调用操作,并且可以将其用作外部应用程序的入口点。 You should use those instead of coding something outside of the CRM. 您应该使用这些代码而不是在CRM之外编写代码。 https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/actions https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/actions
For views, I use the Save As button. 对于视图,我使用“另存为”按钮。 When I need to copy views layout I use the XrmToolbox. 当我需要复制视图布局时,可以使用XrmToolbox。 https://www.xrmtoolbox.com/ https://www.xrmtoolbox.com/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.