Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
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

 

  • JasonAlmeida Profile Picture
    96 on at
    Re: OpenDatasetItem resulting in generic error

    @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 🙂

  • Verified answer
    AnqiChen Profile Picture
    on at
    Re: OpenDatasetItem resulting in generic error

    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

     

     

  • Hemant Gaur Profile Picture
    on at
    Re: OpenDatasetItem resulting in generic error

    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 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard