openDatasetItem
Open dataset item for a given EntityReference. It checks if there's 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 is opened. |
Related articles
Dataset
Power Apps component framework API reference
Power Apps component framework overview