web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / OpenDatasetItem result...
Power Apps
Answered

OpenDatasetItem resulting in generic error

(0) ShareShare
ReportReport
Posted on by 96

Hello!

 

I'm attempting to use the openDatasetItem function but i'm hitting a generic error -  "Loading chunk 5 failed. " (screenshot attached)

 

here's the code i'm using:

var recordRef: ComponentFramework.EntityReference = {
 entityType: recType,
 id: recId,
 name: recName
 };
context.parameters.mapDataSet.openDatasetItem(recordRef);

I also noticed that the url that's generated may have an error in it (attached image) - the entity type (the 'etn' parameter) is listed as undefined as opposed to 'account'

 

cheers

J

 

2019-10-01_20-47-58.png
2019-10-01_20-44-38.png
I have the same question (0)
  • Hemant Gaur Profile Picture
    Microsoft Employee on at

    Seems you are hitting a bug reported here - https://powerusers.microsoft.com/t5/PowerApps-Component-Framework/Using-dataset-opendatasetitem/m-p/362928#M890

     

    Can you please check ? I am folowing up with engneering on the fix plan.

     

    Hemant 

  • Verified answer
    AnqiChen Profile Picture
    Microsoft Employee on at

    hi,

     

    We are fixing this openDataSetItem and it will use entityType and will be released at about early November, depending on our release plan.

     

    Meanwhile, please try some work-around like context.navigation.openForm

     

     

  • JasonAlmeida Profile Picture
    96 on at

    @HemantG - I think Scott's posts contradicts what i'm experiencing. The documentation to use EntityReference for OpenDataSetItem matches what i had to supply, but there seems to be a bug in the actual function.

     

    @AnqiChen Thanks for confirming the bug! I'll use openForm for now 🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard