Hi @hugobernier ,
Thank you for your response.
My use case is calling custom actions using Portals Web API.
I can make the call from Portals and it does succeed with a 200 OK. However, I get an empty response.
appAjax('Calling Custom Action...', {
type: "POST",
url: "/_api/contacts(" + recordObj.id + ")/Microsoft.Dynamics.CRM.bulldogs_PortalCustomAction",
contentType: "application/json",
data: JSON.stringify({"InputArg": "Hello"}),
success: function(res) {
console.log(res)
}
});
This behavior is documented in this blog post Call custom action using WebApi in PowerApps portals/ dynamics 365 portals which seems to indicate that this feature while functional is not really Preview or GA nor can I find it in Microsoft documentation.
Also, I had to bind it to an entity when I prefer to use an unbound action.
Kind regards,
Irvin
