Showing results for 
Search instead for 
Did you mean: 
New Member

adding custom code to powerapps

how to add custom code like c# in power apps?

Dual Super User II
Dual Super User II


From powerapps you can only call a flow, flow can call a custom action in CDS through perform bound/inbound action

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.
Super User II
Super User II

Hi @pratap

I assume you mean Canvas App and not model-driven app? It is by design for canvas apps. Canvas apps are intended to be a no-code method for building apps without code. You can extend with custom connectors: or with the PCF. If you use however a CDS backend, then you can write server-side logic with C#:

Hope this helps...

Community Support
Community Support


Based on the issue that you mentioned, do you want to create a code component within PowerApps?

You add code components by including them in a solution and then import it into Common Data Service. Once the components are in Common Data Service, system administrators, and system customizers can configure fields, subgrids, views, and dashboard subgrids to use in place of default components. You can add these code components to both model-driven and canvas apps.

First of all, before you start creating code components, make sure that you have installed all the prerequisites that are required to develop components using the Power Apps component framework.

The create your first code component article demonstrates the step-by-step process to create code components.

Code components for canvas apps 

Code components for model-driven apps 

Best Regards,



Community Support
Community Support


Have you solved your issue? 

if it solved your issue consider Accept it as the solution to help the others find it more.

Best Regards,


New Member

Hi, the MS Power platform is no code, so no code 😂.

If you want to code what ever you like then Power is not the way to go.

I suggest to check out Shareflex where the sky is the limit in developing SharePoint Online Business apps.



Helpful resources


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

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

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Users online (18,040)