Skip to content
Scripts to quickly create a PowerApps Component code base
PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
pcf_add_component.ps1
pcf_create.ps1
pcf_create_with_extensions.ps1
pcf_react_create.ps1

README.md

PCF Quick Create Scripts

The following scripts are provided to create PowerApps Components skeletons for a quick start. The scripts are implemented to be self-contained. In other words, there is no need of downloading the repository but only to take the file that is most useful to your use-case.

Script Execute Syntax
pcf_create.ps1 Creates a Plain skeleton for the project
powershell -ExecutionPolicy Unrestricted ./pcf_create.ps1 <solution name> <namespace> <publisher> <publisher prefix> [<comma separated list of component names>]
Exmaple: powershell -ExecutionPolicy Unrestricted ./pcf_create.ps1 Clounce PcfTest Clounce cln Comp1,Comp2,Comp3
pcf_react_create.ps1 Create a React skeleton with Office UI and Cross-Fetch extensions
powershell -ExecutionPolicy Unrestricted ./pcf_react_create.ps1 <solution name> <namespace> <publisher> <publisher prefix> [<comma separated list of component names>]
Exmaple: powershell -ExecutionPolicy Unrestricted ./pcf_react_create.ps1 Clounce PcfTest Clounce cln Comp1,Comp2,Comp3
pcf_create_with_extensions.ps1 Create a skeleton with the specified node modules
powershell -ExecutionPolicy Unrestricted ./pcf_create_with_extensions.ps1 <solution name> <namespace> <publisher> <publisher prefix> [<comma separated list of component names>]
Exmaple: powershell -ExecutionPolicy Unrestricted ./pcf_react_create.ps1 Clounce PcfTest Clounce cln Comp1,Comp2,Comp3 -Extensions react,react-dom
pcf_add_component.ps1 Create and add a component to the solution
powershell -ExecutionPolicy bypass pcf_add_component.ps1 -ComponentName <name> [-Extensions <comma separated list of component names>]
Exmaple: powershell -ExecutionPolicy bypass ../pcf_add_component.ps1 NewComponent -Extensions react,react-dom

Important Note: Names are expected to be provided without spaces

You can’t perform that action at this time.