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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Trying to wrap my head around PCF Controls .. some questions

(0) ShareShare
ReportReport
Posted on by 262

So we're going from on prem to online very soon, and I'm trying to learn more about PCF Controls.  I've seen where Node.JS is required, yet I see many who also use React JS.  Is Node.JS baked in yet some can choose to use React or other frameworks as needed?  We will probably need to heavily depend on PCF Controls for customizations, so I really want to learn this.  Catch is I know very little about Javascript.  Most of my experience to date with CRM/D365 is interacting with it through SDK with C# through plugins and so forth.  This has mostly been in the background, but we do foresee lots of new UI changes as we go online.  Example we need a custom search where we create a custom form users fill out search criteria and a grid at the bottom will return results. It's my goal to write something like this, but I don't really know where to start.  Node JS seems to have some grids I can use, but I'm still fuzzy on where to start. 

Also I've read that PCF Controls use CDS to get data which works, but I will need to put lots of logic into what gets pulled back.  I just haven't seen many examples with PCF Controls with lots of coding -- most seems to be focused on what to display on screen.  So if I need to fetch data from multiple entities (or tables I guess they're called now) then merge them or exclude some data then add fields before presenting on the grid -- I can't find where something like this would be done on a PCF control.  

Thanks.

I have the same question (0)
  • Suggested answer
    Stefan Cojocaru Profile Picture
    on at

    Hi there!

    NodeJS is an execution/compilation environment for JavaScript and is therefore used to compile your code into an actual PCF control which can be packaged into a solution.

    The PCF code will be Typescript which is basically JavaScript but with type checking for variables. Yes, you can use React for PCF components but it's not mandatory, you can stick to regular Typescript.

    Found a few articles which might be able to help you get a better understanding:

    Classic Typescript:

    dynamics-chronicles.com/.../deep-dive-pcf-powerapp-control-framework-step-step-tuto

    PCF using React:

    www.inogic.com/.../

    Hope this helps!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans