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 / Custom code inside Pow...
Power Apps
Unanswered

Custom code inside Power Apps

(0) ShareShare
ReportReport
Posted on by 287

Hello,

 

I'm wondering if there's a way to implement custom code such as JavaScript inside a Power App? I saw one video (https://www.youtube.com/watch?v=uC4XBktbHjg) of a guy inserting their custom code inside Power Apps but I don't seem to have that option.

 

Is writing Javascript supported in Power Apps in any way?

 

Thanks,

 

Ville

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @VilPel 

    You cannot use Javascript or any other code in PowerApps - it is a No-Code platform.

     

    You can, however, create Custom components with the PowerApps Component Framework.  

    They are still considered experimental.

     

    I hope this is helpful for you.

  • timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @VilPel 

    The custom component technique that Scott Durow describes in his video is the only way to add custom JavaScript code that can run in a canvas app.

    You have to enable the 'code components' setting in your environment, so if you're trying to follow this but you don't see that option, that's one reason. You will also need to have built and installed a component with your JavaScript, so that's the other reason why the option doesn't appear.

    The JavaScript support in custom components isn't designed to customise the functionality of a canvas app in the way that I imagine you require. For practical purposes, I would avoid going down this route.

    Is there anything specifically that you want to do that you can't do with the built-in canvas app functions?

    Note that there is also a post here in the ideas forum that you can vote for.

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Power-Apps-Javascript-jquery/idi-p/10954

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard