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 / PCF Dataset.Columns AP...
Power Apps
Answered

PCF Dataset.Columns API return empty

(0) ShareShare
ReportReport
Posted on by 41

Hi team,

 

I created a PCF control along with Dataset type template, when I use Dataset.columns API to retrieve columns in Test Environment (Debug mode), it shows the column names array. But when I deployed this PCF control into a true Power Apps environment, it returns empty array.

Bug.PNG

 

The Dataset.records and Dataset.sortedRecordIds API works well as expected, just the Dataset.columns API not working as expected.

 

Best Regards,

Kris

I have the same question (0)
  • MichaelFP Profile Picture
    1,999 Moderator on at

    in you target environment did you enable PCF Components on canvas app?

    Michaelfp_0-1718105885161.png

    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as solution ✔️. This is help the community.

  • Dai_Xin Profile Picture
    41 on at

    Hi @Michaelfp ,

     

    Yes. Just as the screenshot I provided, the Dataset.records API could return proper values as expected except the Dataset.columns API

     

    Best regards,

    Kris

  • MichaelFP Profile Picture
    1,999 Moderator on at

    If you deploy the control in other environment it show correct?

  • Dai_Xin Profile Picture
    41 on at

    Hi @Michaelfp ,

     

    Yes, also tried in different environments, same issue.

     

    Best Regards,

    Kris

  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @Dai_Xin , 

    I've noticed the same about 10 days ago with all my Dataset PCFs.
    It's a bug. Microsoft published a workaround in the Platform know issues.

     https://admin.powerplatform.microsoft.com/knownissues/4164502

     

     

     

  • Dai_Xin Profile Picture
    41 on at

    Hi @DianaBirkelbach ,

     

    That's great. Thanks for your sharing, it make sense to me. I also found a workaround for this bug - add columns input property for configuring dataset columns.

     

    Best Regards,

    Kris

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard