pacx script all - neronotte/Greg.Xrm.Command GitHub Wiki
Generates PACX scripts for all entities with specified custom prefixes.
Usage
This command generates PACX scripts for all entities with the specified custom prefixes.
If requested, the generated CSV file will contain only the statecode and statuscode fields for each entity, for documentation purposes.
Example usage:
pacx script all --customPrefixs "custom_" --output "C:/output" --scriptFileName "myscript.ps1" --stateFileName "state-fields.csv" --includeStateFields
Arguments
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
customPrefixes |
cp |
Y | Comma-separated custom prefixes for entities and fields. | - | String |
output |
o |
N | Output directory for generated files. | - | String |
scriptFileName |
script |
N | Name for the generated PACX script file. | pacx_datamodel_script.ps1 |
String |
stateFileName |
state |
N | Name of the CSV file that will contain the state fields. | state-fields.csv |
String |
includeStateFields |
i |
N | If true, exports the statecode and statuscode fields as CSV. | False |
true, false |