cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CivilNJ
Level: Powered On

Field as part of a Hyperlink

Is there a special method of formatting a hyperlink to include a field as part of the link?

 

In other words, can you do something like this?

"https://maps.googleapis.com/maps/api/staticmap?center=[latlong]&zoom=18&size=600x600&key=B2zaSyCsIp-gVr7aaH98n21tEBtYq43fY&markers=color:red%7Clabel:A%7C[latlong]"

 

 (google dev code intentionally polluted)

 

That was my best guess at the format....

 

1 ACCEPTED SOLUTION

Accepted Solutions
CivilNJ
Level: Powered On

Re: Field as part of a Hyperlink

ok - we figured out the required characters to string it together.

 

"https://maps.googleapis.com/maps/api/staticmap?center=" &  LatLong & "&zoom=18&size=600x600&key=BynmlPoxagVr123456tEBtYh_YThnksqNbY&markers=color:red%7Clabel:A%7C" &  LatLong & ""

View solution in original post

3 REPLIES 3
PK_Hong
Level 8

Re: Field as part of a Hyperlink

Hi @CivilNJ

 

As my experience and actuall application months ago, yes it definitely can.

You [latlong] can be replaced by:

- TextInput.Text (if you manually key in), or

- Label.Text (is the data is generated from Location.Longitude, and Location.Latitude which is automatically generated]

 

Hope this helps.

TQ

CivilNJ
Level: Powered On

Re: Field as part of a Hyperlink

There must be some kind of delimeter between the URL and field like '&' or something???  In other words, how do you concatenate the strings?  I am pulling it from a TextInput box.

 

"https://maps.googleapis.com/maps/api/staticmap?center=latlong.Text&zoom=18&size=600x600&key=Byongo-gVr123456_GHWrKqNbY&markers=color:red%7Clabel:A%7Clatlong.text"

 

This doesn't seem to work.

CivilNJ
Level: Powered On

Re: Field as part of a Hyperlink

ok - we figured out the required characters to string it together.

 

"https://maps.googleapis.com/maps/api/staticmap?center=" &  LatLong & "&zoom=18&size=600x600&key=BynmlPoxagVr123456tEBtYh_YThnksqNbY&markers=color:red%7Clabel:A%7C" &  LatLong & ""

View solution in original post

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,719)