how to add custom code like c# in power apps?
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.
https://lialis.com/shareflexbusinessapp/
Hi@pratap,
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,
Qi
Hi@Anonymous,
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,
Qi
Hi @Anonymous,
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: https://docs.microsoft.com/en-us/connectors/custom-connectors/ or with the PCF. If you use however a CDS backend, then you can write server-side logic with C#: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/plug-ins
Hope this helps...
@Anonymous
From powerapps you can only call a flow, flow can call a custom action in CDS through perform bound/inbound action
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1