0% found this document useful (0 votes)
5 views1 page

PCF Commands

The document outlines the steps to create and deploy a PCF control named UXInternationalAddressInline, including initializing the project, installing dependencies, writing code, and building the project. It also details the deployment process, including creating a solution, adding references, and using msbuild for building the project. Additionally, it mentions the use of PCF Builder for Visual Studio and authentication for Dynamics CRM.

Uploaded by

mvjayanth88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

PCF Commands

The document outlines the steps to create and deploy a PCF control named UXInternationalAddressInline, including initializing the project, installing dependencies, writing code, and building the project. It also details the deployment process, including creating a solution, adding references, and using msbuild for building the project. Additionally, it mentions the use of PCF Builder for Visual Studio and authentication for Dynamics CRM.

Uploaded by

mvjayanth88
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Create

========================
1. Create a dir to save the control.

2. pac pcf init --namespace Protech.UX.Control --name UXInternationalAddressInline


--template field

3. npm install

4. Write the control code.

5. npm run build

6. npm start (to preview and debug on browser)

msbuild /t:restore

msbuild

Deploy
========================
mkdir HarmonyControls
cd HarmonyControls

pac solution init --publisher-name AllianceByProtech --publisher-prefix pa

pac solution add-reference --path C:\Viswa\PCF\UW_ResponseOptions

msbuild /t:restore

msbuild

If building the PCF project through msbuild: msbuild /p:configuration=Release

If building the PCF project through npm: npm run build -- --buildMode production

Add on for visual studio -> PCF Builder

pac auth create --url https://pt-uxstage.crm.dynamics.com

/////////// PCF BUILDER //////////////

Add on for visual studio -> PCF Builder

pac pcf push --publisher-prefix pa

You might also like