I am using Powerapps component framework to retrieve data from an entity using retrivemultiple but was thrown with below error.
"Your control is trying to retrieve multiple records. This is not yet supported."
Please see my sample code below for reference
let queryString="?$select=revenue&$filter=contains(name,'Sample')&$top=2";
You don't really need to deploy each time - you can use fiddler as I describe here for Canvas Apps- https://www.develop1.net/public/post/2020/04/30/debugging-canvas-app-pcf-components-with-fiddler
or here for Model driven - https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/streamline-javascript-development-fiddler-autoresponder
So we would have to deploy it to CRM every time we make a small change to test?? That would slow things down majorly. When is this going to be supported?
Thank you Scott!!
That makes sense. I am debugging my control in test harness 😞
This is the error that you get when using the WebApi inside the PCF Test Harness that you get using npm start watch.
The webApi is not yet supported in the test harness - you will need to deploy to PowerApps to test the webapi calls.
Also - it's worth noting that the WebApi is also only supported in Model Driven Apps and not Canvas Apps at this time.
Hope this helps
Hi @Goutham ,
Do you create a Field type or Dateset type PCF control?
Based on the issue that you mentioned, I do not have the issue that you mentioned.
The context.webAPI.retrieveMultipleRecords() method is only supported for Model-Driven App rather than canvas app. Please check and see if the following blog would help in your scenario:
https://www.briteglobal.com/blogs/community/create-naics-pcf-control-webapi/
If the issue still exists, please consider submit an assisted support ticket through the following link:
https://powerapps.microsoft.com/en-us/support/pro
Best regards,
WarrenBelz
109
Most Valuable Professional
Michael E. Gernaey
82
Super User 2025 Season 1
MS.Ragavendar
72