cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Users online (3,740)