简体   繁体   中英

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.

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.

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.

No other way to do it.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM