Select to view content in your preferred language

Link images in a list to different Views?

151
4
Jump to solution
Tuesday
Labels (1)
DebSF
by
Regular Contributor

I have a list widget with dynamic images and text shown using a connected dataset containing the image URLs and text.

What I want to do now is link the images to a view within the Experience Builder app, so that clicking each image opens up a different View. 

If I go to the first image>Set Link I can choose to link to a View, but this applies the same View to all 5 other images in the list widget. But I want it to be dynamic and each link to a different View.

I thought I'd found a way around it by adding another field into my dataset for "View URL" and using that as the Attribute in Set Link (as described here: https://community.esri.com/t5/arcgis-experience-builder-questions/individual-links-to-different-url-...), but this refreshes the whole app, which I don't want to happen - I want it to just switch views within the app as it would do if I could use Link to View dynamically.

Is there any way around this?

0 Kudos
1 Solution

Accepted Solutions
DebSF
by
Regular Contributor

Hi @NicoleJohnson, thank you for the response. Each view is different. Actually I realised because the map viewer is public I can just share it on here!

https://experience.arcgis.com/experience/f7af4d60802d4539b59f12f2ba995d64/

What I want to do is make the items in the About section List (below) clickable to open each of the corresponding vies. E.g. Click on the Layers icon below and it opens the corresponding Layers view (from the top toolbar):

DebSF_0-1759308620758.png

 

 

View solution in original post

0 Kudos
4 Replies
NicoleJohnson
Frequent Contributor

Just checking: are you actually wanting to make each view different (beyond just showing dynamic data)? Or would sending the selected data to the view work?

If you just want to show dynamic data, you could put two views inside a section: 1) the list, and 2) whatever dynamic data you want to show for the selection. Have a button in the list view list widget link to the view that has the dynamic data (or just use your image widget).

NicoleJohnson_1-1759247706399.png

NicoleJohnson_3-1759247829301.png

Then on your dynamic view, make sure you're always using the "selected" data view:

NicoleJohnson_5-1759248108854.png

Then when you use the list to see the dynamic view, that record's data will be selected:

NicoleJohnson_6-1759248137309.png

DebSF
by
Regular Contributor

Hi @NicoleJohnson, thank you for the response. Each view is different. Actually I realised because the map viewer is public I can just share it on here!

https://experience.arcgis.com/experience/f7af4d60802d4539b59f12f2ba995d64/

What I want to do is make the items in the About section List (below) clickable to open each of the corresponding vies. E.g. Click on the Layers icon below and it opens the corresponding Layers view (from the top toolbar):

DebSF_0-1759308620758.png

 

 

0 Kudos
NicoleJohnson
Frequent Contributor

@DebSF, is there a benefit to using the list widget for this purpose? It seems like you could accomplish the same thing without a list, but I could definitely be missing something.

If you had a structure like this, you could link to different, non-dynamic views:

  • Section
    • About view 
      • Column
        • Layers row (or card)
          • Layers image
          • Layers explanation
        • Legend row (or card)
          • Legend image
          • Legend explanation
        • etc
    • Layers view
    • Legend view
    • etc

I forgot to mention in my initial post, but I have also not found a way to do internal linking by URL without the experience refreshing.

DebSF
by
Regular Contributor

@NicoleJohnson That's a great point, I was focusing on the list widget as that's the way I set it up originally, but actually the structure using rows works just as well, plus lets me link the images to the views.

Thanks for your help!

0 Kudos