Customize Popups in the New Viewer

688
2
Jump to solution
03-10-2022 12:41 PM
Labels (2)
RonaldVanderpool
Occasional Contributor II

Greetings!

In the Classic Map Viewer it is fairly easy to add buttons in the popup to link to a Survey123 form that is auto-populated with specifics from the feature layer. The popup view can also be easily configured to show specific fields and their attributes with a bolded title using a custom attribute display.

If the Classic Viewer is use to build the custom attribute display it will migrate correctly to the New Viewer but I am unable to find how this workflow can occur within the New Viewer interface.

Anyone have suggestions? Seems counter intuitive to build in the Classic if we are supposedly moving toward the New Viewer.

Custom Attribute Display.jpgNew Viewer popup.jpg

Tags (1)
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

You can add a text element and click the html source button 

RussellRoberts1_0-1646946985841.png

 

and try this

<p>
<a href="https://www.esri.com/en-us/home"><img src="https://www.esri.com/content/dam/esrisites/en-us/media/social-media/social-sharing-image-default.jpg"></a>
</p>

 

Clicking on the source button again shows the html in the text element and click ok.

 

View solution in original post

0 Kudos
2 Replies
RussRoberts
Esri Notable Contributor

You can add a text element and click the html source button 

RussellRoberts1_0-1646946985841.png

 

and try this

<p>
<a href="https://www.esri.com/en-us/home"><img src="https://www.esri.com/content/dam/esrisites/en-us/media/social-media/social-sharing-image-default.jpg"></a>
</p>

 

Clicking on the source button again shows the html in the text element and click ok.

 

0 Kudos
RonaldVanderpool
Occasional Contributor II

Sweet!

Thanks Russell.