cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Using dataset.opendatasetitem

Currently the dataset sample doesn't use opendatasetitem

Is there any reason for this? Using opendatasetitem has the advantage that if there is a CommandBar Command for Mscrm.OpenRecordItem - it will use that instead.

 

Also - the documented API isn't quite correct it seems. It is documented as accepting an EntityReference 

but in fact it needs something like:

 

var entityRef = {
                LogicalName:logicalName,
                id:id
};
this._context.parameters.sampleDataSet.openDatasetItem(entityRef);

cc/ @HemantG 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: Using dataset.opendatasetitem

hi Scott,

 

Regarding the bug about openDataSetItem input argument, we will fix this and we expect it will release to North America at end of October. Thanks for reporting!

 

Your suggestion on openDataSetItem should be in sample is correct. I do not remember details, but I feel it should be:

1) We need to present 'context.navigation.openForm' sample in whole sample suite, which we thought is a more significant API than openDataSetItem

and 2) The bug you mentioned 

That made us choose the 'openForm'.

View solution in original post

2 REPLIES 2
Highlighted
Power Apps
Power Apps

Re: Using dataset.opendatasetitem

hi Scott,

 

Regarding the bug about openDataSetItem input argument, we will fix this and we expect it will release to North America at end of October. Thanks for reporting!

 

Your suggestion on openDataSetItem should be in sample is correct. I do not remember details, but I feel it should be:

1) We need to present 'context.navigation.openForm' sample in whole sample suite, which we thought is a more significant API than openDataSetItem

and 2) The bug you mentioned 

That made us choose the 'openForm'.

View solution in original post

Re: Using dataset.opendatasetitem

Ok great - thanks for the update.

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Users online (6,993)