Notifications
Announcements
how to add custom code like c# in power apps?
@Anonymous
From powerapps you can only call a flow, flow can call a custom action in CDS through perform bound/inbound action
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...
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@pratap,
Have you solved your issue?
if it solved your issue consider Accept it as the solution to help the others find it more.
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/
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268