Showing results for 
Search instead for 
Did you mean: 
Solution Sage
Solution Sage

How to call custom actions using PCF

How do I make calls to custom actions from PCF ? Any suggestions , please help.



Advocate I
Advocate I

I'm unable to call a custom action following the ms documentation on using custom actions and this thread. The following is my query I append to the url:


const query = `/api/data/v9.0/incidents(${this._entityId})/Microsoft.Dynamics.CRM.my_CustomAction`;



I'm now getting this error:

{"error":{"code":"","message":"No HTTP resource was found that matches the request URI ''."}}

What am I missing?



let response = await fetch(query, {
			method: 'post',
			headers: headers,
			body: body



HI @tvd_nzi ,


If you are able to make custom action call from D365 , I would suggest solution by @ben-thompson , I used the same xmlhttp call as I was not sure about Xrm.Webapi being suppported for custom action call.



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (25,446)