web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / adding custom code to ...
Power Apps
Unanswered

adding custom code to powerapps

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

I have the same question (0)
  • Mira Ghaly Profile Picture
    11,415 Moderator on at

    @Anonymous

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

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    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...

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    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

     

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    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

  • MartenVosmer Profile Picture
    12 on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 404

#2
timl Profile Picture

timl 344 Super User 2026 Season 1

#3
WarrenBelz Profile Picture

WarrenBelz 320 Most Valuable Professional

Last 30 days Overall leaderboard