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 / Map and Gallery Sharin...
Power Apps
Unanswered

Map and Gallery Sharing Datasource?

(0) ShareShare
ReportReport
Posted on by 48

Suppose you want to use a Gallery and a Map to both show the same data source. 

 

What's the most efficient way to do this? The data source is a Connector/API, which is delegable.

 

Should I use a Screen's OnVisible property to add the Datasource to a Collection/Variable? 

Categories:
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @oguruma ,

     

    What is the problem? If you want to use data from the same data source in a gallery and a map this is okay, there is no need to create a collection.

     

    If the connector is a custom connector, you could create the collection at the app's OnStart property or a screen's OnVisible property.

     

    Best Regards,

    Bof

  • oguruma Profile Picture
    48 on at

    If both the Gallery and the Map call the API, isn't that twice as much data going across the wire? 

  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @oguruma ,

     

    You could create the collection at the app's OnStart property or a screen's OnVisible property.

     

    Best Regards,

    Bof

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 234 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard