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 / How to use angular 7 i...
Power Apps
Unanswered

How to use angular 7 in PCF Control

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

Is angular 7 is supported for angular I was trying to use angular 7 in pcf control but was nsure how to do it,like how to create component,module,services.

I have the same question (0)
  • Sheldon Copper Profile Picture
    200 on at

    I too had same problem

  • awais Profile Picture
    30 on at

    Guys, did you able to run angular 7 in PCF control?

  • Ben Thompson Profile Picture
    1,400 on at

    The Power Component framework has support for React which is probably a better fit for the User Interface controls it's designed to allow you to create.

     

    I always thought angular was designed for single page apps rather than small pieces within a page.

     

    If you need help getting started with React @rexkenley has created a React starter kit at https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/PCF-React-starter-kit/td-p/439247/jump-to/first-unread-message and there are sample apps in Microsoft's PCF documentation 

  • awais Profile Picture
    30 on at

    Thanks! yes I agree to use react instead of angular for new app. But currently I have app written in Angular and used as web resource in D365. I want to use as it is in PCF control.

     

    I found sample using react in PCF control but nothing like that for angular yet.

  • rexkenley Profile Picture
    203 on at

    In theory you can use my start-up kit with angular if your angular app has an atomic architecture.

     

    You would need to update storybook in my project to handle angular.

    https://storybook.js.org/docs/guides/guide-angular/

    https://www.learnstorybook.com/intro-to-storybook/angular/en/simple-component/

  • Ben Thompson Profile Picture
    1,400 on at

    It's probably also worth taking a step back here and looking at the difference between a web resource and a PCF control

     

    A web resource is displayed in an iframe and has fully control of the resources you give it and the external libraries you add to it.

     

    A PCF control sits within a Powerapps page (it actually sites within an eval statement within the Javascript that generates the page) and has to play nicely with the rest of the page. Any external libraries added to the control create the risk that something within that library may not play will with other items on the page and result in problems that are hard to pin do.

     

     

  • namohant Profile Picture
    Microsoft Employee on at

    HI @Anonymous ,

     

    Are you looking for samples. If you can outline the issue you are facing we can assist in getting it addressed accordingly. As far as samples go we are working on having a sample available and documented. 

     

    Regards

    Nando

  • rexkenley Profile Picture
    203 on at

    Ben

    You can actually "hack" the pcf config to make easy to debug your code.

     

    webpackConfig.js replace mode: buildMode with

    mode: "development",
    devtool: "inline-source-map"

     

    Don't forget to change it back.

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard