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

Notifications

Announcements

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

 

I have the same question (0)
  • Hemant Gaur Profile Picture
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard