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

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

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

Ok great - thanks for the update.

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Users online (6,953)