Select to view content in your preferred language

Adding a button or link to another page within popup in experience builder

2156
9
10-20-2023 07:39 AM
Labels (2)
Rgehman
Occasional Contributor

Is there a way to add a button or a link to a popup that takes the user to another page within Experience Builder? For context, I have a map page where users can select points and view a pop-up. I would like a button at the bottom of the pop-up that links to another existing page in the app where they can view more detailed information. It seems like the only place I am able to configure the pop-up is in the Web Map Viewer, but I'm not able to link to a page from there as it is outside of Experience Builder. Any ideas to get around this would be appreciated.

9 Replies
ChristinaToth
Regular Contributor

Similar to this, it would be nice to be able to launch the edit window from the pop-up similarly to how it is launched in a web map.

ZacharyPetsch
Emerging Contributor

Did you ever find another solution to this? I would also like the ability to launch the edit window from the pop-up window.

0 Kudos
ChristinaToth
Regular Contributor

I have not, but it is still something that we would love to have.

Currently, we set up a list widget that has a button to launch a View or Edit Window. The View Window has a Feature Info Widget and then buttons we added to launch the Edit Window.

0 Kudos
ZacharyPetsch
Emerging Contributor

Very surprised at the lack of response on items like this from Esri. They're deprecating WAB in favor of more unified "experiences." But the only experiences my users are able to have so far are disappointment and frustration because of everything missing from EB.

JeffreyThompson2
MVP Regular Contributor

If you can make your pages predictably named based on some aspect in the feature layer, you can configure your webmap with a link something like this.

JeffreyThompson2_0-1697816888973.png

 

 

GIS Developer
City of Arlington, Texas
0 Kudos
jcarlson
MVP Esteemed Contributor

An internal EB link just appends ?page=<your-page-name> to the URL. You can try using that with @JeffreyThompson2 's approach, and I think it would work all right.

Another option is to just put that link into a button or something in your EB app. Does the link change per feature? Or is it always linking to the same page? If it's not coming from the specific feature, I don't really see why the link needs to be in the popup at all.

- Josh Carlson
Kendall County GIS
0 Kudos
Rgehman
Occasional Contributor

The link changes per feature. Because of this, it doesn't look like adding the link in the pop-up would work. Doing so only links to one specific page.

For further clarification, the points represent plants in a garden, and the detailed information page is a page that provides additional information about the specific species which is pulled from other fields within the feature. 

0 Kudos
KenBuja
MVP Esteemed Contributor

You can built the link using information gathered from the fields from the feature. The example @JeffreyThompson2 shows is one way of doing that, but you can also built the link with more complex code in Arcade and put that result into an Arcade element to make it clickable.

If you have trouble constructing the code, if you provide some information about the fields and the link you'd like to build, we can help with that.

0 Kudos
JeffreyThompson2
MVP Regular Contributor

If I do {Name} like above in a webmap url, it will grab the value from the {Name} column in my feature layer, so if you have a column called SpeciesName in your table and you make pages that match your species names, you can build links like www.mysite.com?page={SpeciesName} and get a working link for each species.

GIS Developer
City of Arlington, Texas
0 Kudos