AnsweredAssumed Answered

Can I hide HTML elements of my popup according to a variable?

Question asked by mcreaney on May 3, 2020
Latest reply on May 4, 2020 by DWongesriaustralia-com-au-esridist

I have a popup where custom URLs are displayed.  The URLs displayed are to pre-populate a Survey123 form based on known data outside of ArcGIS.  I have generated the html for the popup based on a spreadsheet that builds the HTML automatically.  The spreadsheet has data for all the features.  I want to hide/disable some of the URLs based on whether the URL is relevant to the feature that was selected.

 

I cannot simply load these values into the database because the data belongs to a related table and by uploading it to this table I would have duplicate entries once the Survey123 form is submitted.  If anyone has any better ideas, I would appreciate it.  I've played with Arcade and I can't figure out a good way to make this work.

Outcomes