How to create a dynamic URL based on string + attribute value in an Embed Widget

330
4
Jump to solution
11-18-2021 07:00 AM
KeithFraley1
New Contributor II

I am having a devil of time creating what should be really simple and is indeed simple in operations dashboard.  We want to use the embed widget to host dynamic urls (base url + attribute field) that change based selections on a map or table or list...

I cant figure out how to do this, it seems the entire url string must be entered into the attribute field for it to work.

 

Can you anyone help?

0 Kudos
1 Solution

Accepted Solutions
jcarlson
MVP Honored Contributor
  1. Make sure the widget is connected to the data.
  2. Start typing your URL
  3. Click the database icon and select the attribute you want to pipe in.

jcarlson_0-1637248610811.png

That should be all you need. If this doesn't work, please post back what you're seeing, and hopefully we can get to the bottom of it.

- Josh Carlson
Kendall County GIS

View solution in original post

0 Kudos
4 Replies
jcarlson
MVP Honored Contributor
  1. Make sure the widget is connected to the data.
  2. Start typing your URL
  3. Click the database icon and select the attribute you want to pipe in.

jcarlson_0-1637248610811.png

That should be all you need. If this doesn't work, please post back what you're seeing, and hopefully we can get to the bottom of it.

- Josh Carlson
Kendall County GIS
0 Kudos
KeithFraley1
New Contributor II

its really strange, this works as long as the url doesnt have query string parameters,  if it does, it seems to be stripping them out

0 Kudos
jcarlson
MVP Honored Contributor

Is it possible to give an example of the URL you're trying to put into the widget? I can get parameters to work just fine.

Also, what version of Experience Builder are you using? Portal, AGOL, EB Developer?

- Josh Carlson
Kendall County GIS
0 Kudos
KeithFraley1
New Contributor II

apparently it is stripping out the specific term 'token' out of the query string, strange

0 Kudos