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 / Dynamic Table() from s...
Power Apps
Unanswered

Dynamic Table() from sharepoint

(0) ShareShare
ReportReport
Posted on by 60

Hey,

 

I'm trying to get dynamic push pins on a bings map based on a sharepoint list. My way of thinking is making a dynamic table and replacing the latitude and longitude based on the table or sharepoint list. The format for a pushpin is:

 

pp=latitude,longitude;1;name

 

Getting a dynamic table however is hard and I can't figure out how to do it. Can someone show some example codes?

Categories:
I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Hi @ThomasDC ,
     
    Could you please tell me if you want to use SharePoint as the data source to display this pushpin on the map when a new item is updated?
    I have made a test for your reference:
    1.Set up data sources:
    vliweimsft_0-1652088401898.png

     

    2.Add an image control to the screen and enter this formula in the image property:
    "https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/47.619048,-122.35384/15?mapSize=500,500&"&
    Concat(map,"pp"&"="&latitude& ","&longitude&";"&yangshi&";"&name,"&")&
    "&key=Your key Url"
    The Concat function connects the items in the data source as a string. I think this link will help you a lot :Concat and Concatenate functions in Power Apps - Power Apps | Microsoft Docs.
     

     
    vliweimsft_1-1652088401904.png

     

     
    Beat Regards,

    Levi

     
  • ThomasDC Profile Picture
    60 on at

    @v-liwei-msft,

     

    Thanks for getting back to me. I've tried the concat function however it failed to work as it simply does not display the map for me. I'm using the following code;

     

     

    "https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/" &Substitute(DCVLatitude.Text;",";".")&","&Substitute(DCVLongitude.Text;",";".")& "/15?mapSize=500,500&"&
    Concat(Locations;"pp"&"="&Latitude& ","&Longitude&";1;"&Id;"&")&
    "&key={MyKey}"

     

     

     

    However the image returns blank. The key is working, since I've got a map up with 1 singular pushpin. These are my Sharepoint columns:

     

    ThomasDC_0-1652105423108.png

     

     

     

    EDIT: Found out the issue! Latitude and Longitude were saved with a comma (,) instead of a (.). This can be fixed with either the substitute formula or simply by changing the data in the list!

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard