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 / Fetching dataverse col...
Power Apps
Unanswered

Fetching dataverse columns in powerapps

(0) ShareShare
ReportReport
Posted on by 91

I would like to fecth column names from dataverse and use in a gallery. I have fetched column names of a dataverse entity correctly. Please check the following code.

 

ClearCollect(
 DetailQuestions,
 Distinct(
 Ungroup(
 MatchAll(
 JSON(
 First(Details),
 JSONFormat.IgnoreBinaryData & JSONFormat.IgnoreUnsupportedTypes
 ),
 "([^""]+?)""\s*:"
 ).SubMatches,
 "SubMatches"
 ), Value)
)

 It works well on development mode. 

ynaing_0-1675054953543.png

 

But it doesn't work in published application. The gallery has no item.
I have put a timer and wait for 15 seconds. It still shows nothing.

Categories:
  • Bilakanti Profile Picture
    1,226 on at

    @ynaing Instead of gallery, can you load the collection inside dropdown control and see if that works in published mode.

  • ynaing Profile Picture
    91 on at

    Unfortunately, the same result.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard