cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ScottDurow
Level 8

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
Power Apps Staff AnqiChen
Power Apps Staff

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
Power Apps Staff AnqiChen
Power Apps Staff

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

ScottDurow
Level 8

Re: Using dataset.opendatasetitem

Ok great - thanks for the update.

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,126)