简体   繁体   English

如何在不引用特定实体的情况下调用 Dynamics web api 绑定自定义操作?

[英]How to call Dynamics web api bound custom action without a reference of a specific entity?

I want to be able to call Dynamics web api action bound to some_entity without a reference to a specific entity record.我希望能够在不引用特定实体记录的情况下调用绑定到 some_entity 的 Dynamics web api 操作。

I can call the action like:我可以这样称呼这个动作:

{{webapiurl}}/some_entity(e922f9f6-03ec-498b-8a3d-0f3fb0fe881b)/Microsoft.Dynamics.CRM.new_someAction7c68ea11a811000d3ab40d73

but I need to be able to call this action before the relevant record saved, so can not use an existing guid.但我需要能够在保存相关记录之前调用此操作,因此不能使用现有的 guid。

In that case it has to be an Unbound (Global) custom Action, so you can invoke it the same way as Entity bound action and without record GUID limitation.在这种情况下,它必须是一个未绑定(全局)自定义操作,因此您可以像实体绑定操作一样调用它,并且没有记录 GUID 限制。

No other way to do it.没有其他方法可以做到。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Dynamics CRM WEB API-从实体参考中选择字段 - Dynamics CRM WEB API- Select field from entity reference 删除 Dynamics 中的实体引用 API - Removing an entity reference in Dynamics API 如何通过API在CRM Dynamics中创建自定义实体本身 - How to create custom entity itself in CRM Dynamics via API 动态-如何获取Web Api为特定用户参加的所有约会 - Dynamics - How to get all appointments that for a specific user attends by Web Api 在C#插件中调用Dynamics Web API - Call Dynamics Web API in C# Plugin 在Dynamics 365 API中,当所有者可以是系统用户或团队时,如何详细参考适当的所有权实体? - In Dynamics 365 API, How to reference proper ownership entity for detail when owner can be systemuser or team? 如何在Microsoft Dynamics CRM 2011中没有额外的IOrganizationService调用的情况下获取新创建的实体? - How to obtain newly created entity without extra IOrganizationService call in Microsoft Dynamics CRM 2011? 使用实体元数据早期绑定调用 Dynamics Web API - Calling Dynamics Web API with Entity metadata early binding 如何使用Web Api操作AddSolutionComponent使用javascript将实体添加到解决方案中? - How to add an entity to a solution with javascript using Web Api action AddSolutionComponent? 如何在MS Dynamics CRM中创建操作和呼叫操作? - How to create Action and Call action in MS Dynamics CRM?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM