Select to view content in your preferred language

Individual links to different URL in Lists

488
5
Jump to solution
11-24-2024 03:34 PM
Labels (2)
mtuffy
by
Emerging Contributor

Hi community,

I had an experience builder product that shows a large amount of applications and referrals for different types of land situations. When users zoom in, information will be displayed in a chart, count and a list widget. 

What I am hoping to do is, have each of the different referrals in the list be linked to their individual reports. So, if users see the referral they need, they can click on the button in the list and it'll go to its corresponding referral page. Is this possible?

The image below shows the list next to the map, and the 'Link to MARA' button is what I want to link to the individual and corresponding report. Each of the reports have the same URL link except for the end where the report number is added. 

For example -

Report 1: www.Landreport.ID123.com

Report 2: www.Landreport.ID456.com

Report 3: www.Landreport.ID789.com 

Screenshot 2024-11-25 092221.png

I assume this can be set up in the 'Set Link' section - but how would I do it so each individual button links differently? 

Screenshot 2024-11-25 092249.png

0 Kudos
1 Solution

Accepted Solutions
ChristopherCounsell
MVP Regular Contributor

When setting the link change the URL drop-down from attribute to </> expression.

ChristopherCounsell_2-1732515429841.png

You can then create the link to launch externally using the builder

ChristopherCounsell_3-1732515527864.png

ChristopherCounsell_4-1732515581055.png

Hovering over you can check the link. 

ChristopherCounsell_5-1732515633309.png

Linking a .jpg is a bad example but you can replace it with whatever you want. mailto, etc

https://doc.arcgis.com/en/experience-builder/latest/build-apps/add-widgets.htm#ESRI_SECTION1_0F7788F...

 

 

View solution in original post

5 Replies
ChristopherCounsell
MVP Regular Contributor

When setting the link change the URL drop-down from attribute to </> expression.

ChristopherCounsell_2-1732515429841.png

You can then create the link to launch externally using the builder

ChristopherCounsell_3-1732515527864.png

ChristopherCounsell_4-1732515581055.png

Hovering over you can check the link. 

ChristopherCounsell_5-1732515633309.png

Linking a .jpg is a bad example but you can replace it with whatever you want. mailto, etc

https://doc.arcgis.com/en/experience-builder/latest/build-apps/add-widgets.htm#ESRI_SECTION1_0F7788F...

 

 

mtuffy
by
Emerging Contributor

Awesome! Thanks so much Christopher - that set up worked! There was an ID results in the original data that I added to the weblink (example "www.mywebsite.com" + {referralID}) which worked! 😄 The buttons link to their individual referrals sites which is perfect. 

I knew it should be easy enough; just couldnt understand why it didnt work haha. But thanks so much for your help! It's greatly appreciated 🙂 

mtuffy
by
Emerging Contributor

Actually Chris, I do have another question that you might know of, that's similar to my previous question.

If it possible to link the individual graphics in the list to different pages within the experience builder project? I saw that you can just add a page, but what if I want each button to go to a different page? Is that possible?

ChristopherCounsell
MVP Regular Contributor

Here's a list of supported URL parameters for experience builder 

https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm

There's one for pages.

I haven't tried from within the experience itself. If it works, test it to see what the end users experience will be like as it may reset other things like filters or current map extent.

mtuffy
by
Emerging Contributor

Excellent, thanks heaps Chris! I'll check this out today and if I get it to work, I'll let you know 🙂 Thanks again for sticking with me and helping me out! 

0 Kudos