DEV Community

loading...

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

cassieview profile image
Cassie Ask Me Anything

You will want the Xrm.WebApi client API:
docs.microsoft.com/en-us/powerapps...

Here are the docs on the methods with the update method selected and sample code:
docs.microsoft.com/en-us/powerapps...

Thread Thread
pavankuram profile image
pavankuram

Can we use xrm.webapi in PCF component?

Thread Thread
cassieview profile image
Cassie Ask Me Anything

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
cassieview profile image
Cassie Ask Me Anything

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