create_model_relationship
Creates native 1:N (with new lookup) or N:N Dataverse relationships; previews metadata and eligibility checks, validating publisher, managed properties, and duplicate names before execution.
Instructions
Create native 1:N (with a new Lookup) or N:N relationship. Default preview runs metadata reads and read-only POST eligibility checks, then exposes cascade rules and native create body. Checks publisher, managed properties and duplicate names. No implicit publish, form editing or update of existing relationships.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ||
| dryRun | No | Default true performs reads/eligibility checks and returns a native request preview. Set false to execute. | |
| lookup | No | ||
| cascade | No | ||
| dry_run | No | Default true performs reads/eligibility checks and returns a native request preview. Set false to execute. | |
| entity1 | No | ||
| entity2 | No | ||
| entity_1 | No | ||
| entity_2 | No | ||
| schemaName | No | ||
| schema_name | No | ||
| referencedEntity | No | ||
| referenced_entity | No | ||
| referencingEntity | No | ||
| referencing_entity | No | ||
| solutionUniqueName | No | Existing unmanaged solution; its publisher prefix is validated for new schemas. | |
| intersectEntityName | No | ||
| solution_unique_name | No | Existing unmanaged solution; its publisher prefix is validated for new schemas. | |
| intersect_entity_name | No |