All,
I am trying to use the location from a button flow I am creating. The button appears to give me the latitude and longitude. With a compose function I want to obtain a hyperlink of something like the below:
https://www.google.co.uk/maps/@51.5042969,-0.0892836
The hyperlink will then be saved to the SharePoint list in a multiple lines of text field that has the enhanced rich text radio button selected. When I go into the list I should be able to look at the location where I was at the time.
The only issue is using the right expression to use the latitude and longitude in the flow. The rest of the flow works really well.
Regards,
Andrew
Solved! Go to Solution.
Hi @WDRC,
Do you want to generate a Hyperlink with the format you provided and save it into SharePoint list in a multiple lines of text field?
Please check the following for a reference.
Add the button trigger.
Add two compose actions for Latitude and Longitude separately.
Add Compose 3 and input the following code to generate the Hyperlink:
concat('https://www.google.co.uk/maps/@',outputs('Compose'),',-',outputs('Compose_2'))
Then create item with corresponding value for each field. TestA is a column of type multiple line of text and output of Compose 3 will be saved into it.
Please take a try with it on your side.
More details about concat function for your reference:
Best regards,
Mabel
Hi @WDRC,
Do you want to generate a Hyperlink with the format you provided and save it into SharePoint list in a multiple lines of text field?
Please check the following for a reference.
Add the button trigger.
Add two compose actions for Latitude and Longitude separately.
Add Compose 3 and input the following code to generate the Hyperlink:
concat('https://www.google.co.uk/maps/@',outputs('Compose'),',-',outputs('Compose_2'))
Then create item with corresponding value for each field. TestA is a column of type multiple line of text and output of Compose 3 will be saved into it.
Please take a try with it on your side.
More details about concat function for your reference:
Best regards,
Mabel
Thanks after a few hicups it worked a treat and I got a green tick all the way.
And in the SP list everything works well in storing the location but I needed to change the colum designation to a true hyperlink to make it work on a PC, but on a mobile it seemed to work by any method. In fact the mobile phone worked better when it came to pinpointing the true location and I was able to see a location to within 5m or 15ft which is close enough for me.
So in terms of this specific query I am marking as solved.
Thanks once again.
Regards,
Andrew
User | Count |
---|---|
86 | |
71 | |
44 | |
26 | |
25 |
User | Count |
---|---|
43 | |
25 | |
23 | |
23 | |
18 |