Skip to the content.

Polymorphic Lookup

Polymorphic Lookup is a Power Platform ToolBox (PPTB) tool for creating and managing Dataverse polymorphic lookup columns.

A polymorphic lookup is a single lookup column that can reference multiple target tables.

Who this tool is for

Use this tool when you want to:

Prerequisites

Main workflow

  1. Open the tool and connect to your Dataverse environment.
  2. Select an unmanaged Solution.
  3. Select a Table from that solution.
  4. Select an Attribute:
    • Create new lookup to create a new polymorphic lookup
    • an existing polymorphic lookup to update or delete

The tool shows a busy indicator while loading or applying operations.


Create a new polymorphic lookup

  1. In Attribute, choose Create new lookup.
  2. Enter:
    • Lookup display name
    • Lookup schema name (suffix; publisher prefix is shown automatically)
    • optional Description
    • Required Level
  3. Select one or more Referenced tables.
  4. Click Create lookup.

What happens:


Update an existing polymorphic lookup

  1. Select an existing lookup in Attribute.
  2. Change metadata as needed:
    • Display name
    • Description
    • Required level
  3. Update Referenced tables:
    • add new tables,
    • remove tables that should no longer be targets.
  4. Click Update lookup.

What happens:


Delete a polymorphic lookup (full attribute delete)

  1. Select an existing lookup in Attribute.
  2. Click Delete lookup.
  3. Confirm the prompt.

What happens:

Warning: This is destructive. Deleting a lookup removes the attribute and its references.


UI behavior and guardrails

Troubleshooting

Not connected

No tables in solution

Operation fails

Changes do not appear

Support

If you find an issue or want to suggest an improvement, open a GitHub issue in this repository.