Experience Builder - building expressions

1933
5
Jump to solution
12-16-2021 10:12 AM
Labels (1)
HelenCooper
Occasional Contributor III

Hi, 

I'm trying to use a button to link to a URL and pass a value from a data source.  I'm struggling to find any documentation on how to do this, and my random guesses at how to build the expression are not fruitful!

Could anyone point me in the right direction?

Many thanks, 

Helen

 

HelenCooper_0-1639678176430.png

 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Esteemed Contributor

You have to put that first bit in quotes.

"https://mapitout.co.uk/" + {globalid}
- Josh Carlson
Kendall County GIS

View solution in original post

5 Replies
jcarlson
MVP Esteemed Contributor

You have to put that first bit in quotes.

"https://mapitout.co.uk/" + {globalid}
- Josh Carlson
Kendall County GIS
HelenCooper
Occasional Contributor III

Thank you @jcarlson , that sorted it - really appreciated!

rachelm
New Contributor III

I'm trying to build an expression that will include multiple field values based on selected map features.  So it would look something like: https://mylink/....objectids=186,171

So far what happens is my string only takes the last objectid of all the features selected. is this possible?

0 Kudos
JJ_Reyes
Occasional Contributor

@rachelm - did you ever figure out if this was possible?

0 Kudos
RyanBohan
Occasional Contributor III

You can include multiple attributes with the plus sign.  The Expression below gets the lat/long from the attribute and links to google maps walking directions.

RyanBohan_0-1701890206842.png

 

0 Kudos