-
Notifications
You must be signed in to change notification settings - Fork 16
pacx solution generateLateBoundConstants
github-actions[bot] edited this page Apr 14, 2026
·
1 revision
Generates C# and/or JavaScript constants files from Dataverse metadata for a solution.
pacx solution constants
pacx solution late-bound
pacx solution lateBoundGenerate C# constants for a solution:
pacx solution constants --solutionName MySolution --outputCs "C:/src/Constants" --namespaceCs "MyApp.Constants"Generate both C# and JavaScript constants:
pacx solution constants --solutionName MySolution --outputCs "C:/src/Constants" --namespaceCs "MyApp.Constants" --outputJs "C:/src/js/constants" --namespaceJs "MyApp"Generate JS only, using the default solution:
pacx solution constants --outputJs "C:/src/js/constants" --namespaceJs "MyApp"| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
solutionName |
sn |
N | The unique name of the solution to extract constants for. Uses the current default solution if omitted. | - | String |
outputCs |
ocs |
N | Output folder path for generated C# constants files. If omitted, no C# files are generated. | - | String |
namespaceCs |
ncs |
N | C# namespace for the generated constants classes. Required when --outputCs is specified. | - | String |
outputJs |
ojs |
N | Output folder path for generated JavaScript constants files. If omitted, no JS files are generated. | - | String |
namespaceJs |
njs |
N | JavaScript root namespace object for the generated constants. Required when --outputJs is specified. | - | String |
jsHeader |
jsh |
N | Header lines to prepend to each generated JavaScript file. Use \n to separate multiple lines. | - | String |
withTypes |
wt |
N | Include attribute type information in C# XML doc comments. | True |
true, false |
withDescriptions |
wd |
N | Include attribute description in C# XML doc comments. | True |
true, false |
- pacx auth
- pacx column
- pacx customapi
- pacx data
- pacx forms
- pacx history
- pacx key
- pacx optionset
- pacx org
- pacx plugin
- pacx project
- pacx publish
- pacx rel
- pacx ribbon
- pacx script
- pacx settings
- pacx solution
- pacx table
- pacx tool
- pacx unifiedrouting
- pacx usersettings
- pacx view
- pacx webresources
- pacx workflow