본문 바로가기
ICT/Microsoft Dynamics 365

[D365] Setting up PCF Environment

by NeoSailer 2025. 1. 22.

This will guide you how to set up PCF(Power app Component Framework) environment.

 

[Prerequisite]

Two applications are required for PCF environement set up

1. Visual Studio Code with Power Platform Tools as extension

2. Microsoft Power Platform CLI

https://aka.ms/PowerAppsCLI

 

 

1. Run command prompt > create a folder in the c: drive

 

 

2. Move to the folder just created then run below command as to create PCF project

pac pcf init --namespace PL400namespace --name PL400component --template field

 

Then files and folders are created in the path

 

 

3. Input "npm install" for JavaScript note package manager installation

 

 

** If npm command is not working in command prompt, go and install node.js

www.nodejs.org/en/download/ 

 

Node.js — Download Node.js®

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

nodejs.org

 

4. Input "npm run refreshTypes" 

** commands are case-sensitive

 

5. Input "code ." to run Visual studio code with the project just created

 

 

 

반응형

댓글