Select to view content in your preferred language

Experience Builder - building expressions

3005
6
Jump to solution
12-16-2021 10:12 AM
Labels (1)
HelenCooper
Frequent Contributor

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

6 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
Frequent Contributor

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

rachelm
Regular Contributor

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
Frequent Contributor

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

0 Kudos
RyanBohan
Frequent Contributor

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

 

JackDrost
Occasional Contributor

Can someone tell me what the language is for these expressions, so I can find some documentation for it?  It doesn't appear to be Arcade.

0 Kudos