PCF
-
Artikkel
-
- 2 minutter å lese
-
Commands to work with Power Apps component framework.
Parameters
| Property Name |
Description |
Example |
| init |
Initializes the code component project. It has the following parameters: |
pac pcf init --namespace SampleNameSpace --name SampleComponent --template field |
| push |
Pushes the code component to the Dataverse instance with all the latest changes. It has the following parameter:- publisher-prefix: Publisher prefix of the organization.
|
pac pcf push --publisher-prefix dev |
| version |
Updates the component manifest file with the specified patch version. It has the following parameters: - patchversion: Patch version of the code component.
patchversion will only take value of the third part of the version tuple: Major.Minor.Patch. - path: Absolute or relative path of the component manifest file.
- allmanifests: Updates the patch version for all the component manifest files.
- updatetarget: Updates the specified manifest file. It has two values, build and project.
- strategy: Updates the patch version for the manifest files by using specified strategy values. It has the following values:
- gittags: Use Git tags to decide whether a particular component's patch version needs to be updated.
- filetracking: Use a .csv file to decide whether a particular component's patch version needs to be updated.
- manifest: Increments the patch version by 1 for all the components.
|
pac pcf version --patchversion 1.0.0.0 --path c:\Users\Downloads\SampleComponent --allmanifests
pac pcf version --strategy gittags |
See also
Power Apps component framework overview
What is Microsoft Power Platform CLI?