openDatasetItem

Open data-set 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 apps

Syntax

context.parameters.dataset.openDatasetItem(entityreference)

Return Value

Type: Entityreference

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