pacx webresources addReference - neronotte/Greg.Xrm.Command GitHub Wiki
Adds an external web resource to the current webresource project as a reference, without copying it locally.
Aliases
pacx webresources add-reference
pacx wr add-reference
pacx wr add-ref
pacx wr addRef
Usage
Arguments
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
source |
src |
Y | The absolute or relative URL of the web resource to add as reference to the current project. | - | String |
target |
tgt |
Y | The target URL of the webresource, relative to the root of the dataverse WebResources. It must include the publisher prefix. | - | String |
path |
p |
N | The folder containing the .wr.pacx project where the reference should be added. If not specified, the command will find it recoursing up from the current folder. | - | String |
solution |
s |
N | The name of the solution that will contain the WebResources. If empty, the default solution for the current environment is used as default | - | String |