DEV Community

Discussion on: Get Started with Power Apps Component Framework (PCF)

 
pavankuram profile image
pavankuram

Can we use xrm.webapi in PCF component?

Thread Thread
 
cassiebreviu profile image
Cassie Breviu

Should be able to. Here is an example of a web api pcf component. docs.microsoft.com/en-us/powerapps...

Thread Thread
 
pavankuram profile image
pavankuram

Thanks for your direction on this Cassie.. I have implemented webapi and tried to create a record . Though i impemented createrecord() after i deployed and got the component into canvas app , It throws an error that CreateRecord method is not implemented. Not sure where did i do the mistake.

Thread Thread
 
cassiebreviu profile image
Cassie Breviu

Is the source on github? Can you send me a link?