openDatasetItem

Open dataset item for a given EntityReference. It checks if there is a command with command button id Mscrm.OpenRecordItem. If exists, it executes the command, otherwise it just navigates to the associated form of the EntityReference.

Available for

Model-driven and canvas apps

Syntax

context.parameters.dataset.openDatasetItem(entityReference)

Parameters

Parameter Name Type Required description
entityReference Entityreference Yes Reference that will be opened.

Dataset
Power Apps component framework API reference
Power Apps component framework overview