pacx rel poly add - neronotte/Greg.Xrm.Command GitHub Wiki
Adds a new parent to an existing many-to-one polymorphic relationship between Dataverse tables
Aliases
pacx rel poli add
Arguments
| Long Name | Short Name | Required? | Description | Default value | Valid values |
|---|---|---|---|---|---|
child |
c |
Y | The child table (N side of the relationship) | - | String |
lookup |
l |
Y | The lookup column that represent the relationship to update. | - | String |
parent |
p |
Y | The parent table to add to the relationship | - | String |
relNameSuffix |
suff |
N | The suffix to append to the relationship name. If not provided, will be set equal to the display name of the lookup attribute (only letters, numbers, or underscores, lowercase). | - | String |
cascadeAssign |
caass |
N | The behavior to apply to child records when the parent record is assigned to another owner (values: Cascade, Active, UserOwned, NoCascade) (default: NoCascade) | - | see description |
cascadeArchive |
caarc |
N | The behavior to apply to child records when the parent record is archived (not available via UI) (default: NoCascade) | - | see description |
cascadeShare |
cas |
N | The behavior to apply to child records when the parent record is shared (values: Cascade, Active, UserOwned, NoCascade) (default: NoCascade) | - | see description |
cascadeUnshare |
cau |
N | The behavior to apply to child records when the parent record is unshared (values: Cascade, Active, UserOwned, NoCascade) (default: NoCascade) | - | see description |
cascadeDelete |
cad |
N | The behavior to apply when the parent record is deleted (values: Restrict, RemoveLink) (default: Restrict) | Restrict |
see description |
cascadeMerge |
cam |
N | The behavior to apply to child records when the parent record is merged to another one (not available via UI) (default: NoCascade) | - | see description |
cascadeReparent |
car |
N | The behavior to apply to child records when the parent record is reparented (values: Cascade, Active, UserOwned, NoCascade) (default: NoCascade) | - | see description |
solution |
s |
N | The name of the unmanaged solution that contains the table (used to get the publisher prefix). If not provided, the default table for the environment will be used. | - | String |