Skip to main content

ppds_metadata_update_relationship

Updates an existing Dataverse relationship's cascade configuration. Only the provided optional fields are changed; omitted fields remain unchanged. Supports dry-run mode.

Input schema

NameTypeRequiredDescription
solutionStringyesUnique name of the solution containing the relationship.
schemaNameStringyesSchema name of the relationship to update.
cascadeDeleteStringnoCascade behavior for delete: 'Cascade', 'NoCascade', 'RemoveLink', 'Restrict' (optional).
cascadeAssignStringnoCascade behavior for assign: 'Cascade', 'NoCascade', 'Active', 'UserOwned' (optional).
dryRunBooleannoIf true, validates without persisting changes.

Output

Returns Task<MetadataUpdateRelationshipResult>.