<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can I hide HTML elements of my popup according to a variable? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265137#M12968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as a test, replace the whole expression with just:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return $feature["Asset_Name"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and click on the blue "Test" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should give you the asset name of a feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify this line to show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return Find (XXXX, $feature["Asset_Name"],&amp;nbsp; 0 ) where XXXX is the value returned from the first test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it return -1, 0&amp;nbsp; or some other value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2020 06:23:43 GMT</pubDate>
    <dc:creator>DerrickWong</dc:creator>
    <dc:date>2020-05-04T06:23:43Z</dc:date>
    <item>
      <title>Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265128#M12959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a popup where custom URLs are displayed.&amp;nbsp; The URLs displayed are to pre-populate a Survey123 form based on known data outside of ArcGIS.&amp;nbsp; I have generated the html for the popup based on a spreadsheet that builds the HTML automatically.&amp;nbsp; The spreadsheet has data for all the features.&amp;nbsp; I want to hide/disable some of the URLs based on whether the URL is relevant to the feature that was selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&amp;nbsp; If anyone has any better ideas, I would appreciate it.&amp;nbsp; I've played with Arcade and I can't figure out a good way to make this work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 01:48:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265128#M12959</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T01:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265129#M12960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can add a hidden field in survey123 form, which acts as a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #4c4c4c; "&gt;if(condition, a,&lt;/STRONG&gt;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;&lt;STRONG&gt; b)&lt;/STRONG&gt;, you can set the URL to be blank if the flag is true/flase.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, you can hide fields if they aren't suppose to show anything using the&amp;nbsp;&lt;STRONG&gt;relevant&lt;/STRONG&gt; column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a link for more info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/05/28/the-art-of-hiding"&gt;https://community.esri.com/groups/survey123/blog/2016/05/28/the-art-of-hiding&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Derrick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 02:36:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265129#M12960</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T02:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265130#M12961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derrick&lt;/P&gt;&lt;P&gt;The pop up I’m trying to configure belongs to a table within my map. The URLs within the pop up link to Survey123 survey with prepopulated fields depending on the URL selected. Each URL is relevant to different features in the table, populating fields in Survey123 that are not attributes of the feature layer, they’re attributes of the not-yet-created sub feature. Does this make sense?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the layer that the pop up belongs to is just a table of assets that have not yet been built. The layer being created in Survey123 is a check process during build where values are to be populated from the popup, values which are “planned” but might change during build.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 03:02:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265130#M12961</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T03:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265131#M12962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ah ok. From what you are saying, you are trying to populate the form fields with respect to the selected feature, which then queries some external data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this external data can be queries by REST, perhaps you can consider&amp;nbsp;pulling the required information using the PullData JS function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://proceedings.esri.com/library/userconf../devsummit19/papers/DevSummitPS_102.pdf" title="https://proceedings.esri.com/library/userconf../devsummit19/papers/DevSummitPS_102.pdf"&gt;https://proceedings.esri.com/library/userconf../devsummit19/papers/DevSummitPS_102.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you would then do is pass in a unique value to your survey123 form, and have the javascript function query the relevant external URL and get the required information?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 03:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265131#M12962</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T03:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265132#M12963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derrick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, I will read that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve tried uploading the CSV to my map but Arcade wouldn’t talk to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Outlook for iOS&amp;lt;https://aka.ms/o0ukef&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 03:45:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265132#M12963</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T03:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265133#M12964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was referring to querying the web external service from Survey123 via a JS function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reading from CSV will work too but it's not as dynamic (requires you to populate the csv and update it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the JS approach, it will pick up the changes for every new query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming the end goal is for the user to see the populated fields in the survey123 form based on selected feature? i.e. does it matter what the URL what is displayed in the popup, or as long as the form populates the right fields?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 03:52:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265133#M12964</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T03:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265134#M12965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thanks - that is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ve not used js in a popup before so I’ll look into it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uploading a csv to a map is not particularly an issue as there would only be 1 per map which would be part of the project setting up phase. Regardless, when I tried to use Arcade to find the value I couldn’t do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Outlook for iOS&amp;lt;https://aka.ms/o0ukef&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 04:07:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265134#M12965</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T04:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265135#M12966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just did a bit of testing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might be the quicker approach you were looking for, but it requires bit of 'hardcoding' of logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="490812" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/490812_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="490810" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/490810_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/490764_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify / append the if/else statements to suit your needs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 04:25:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265135#M12966</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T04:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265136#M12967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much.&amp;nbsp; I tried this code and put the expression tag as the URL in the popup but it always returns null&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/490801_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 06:14:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265136#M12967</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T06:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265137#M12968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as a test, replace the whole expression with just:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return $feature["Asset_Name"]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and click on the blue "Test" button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should give you the asset name of a feature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then modify this line to show:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;return Find (XXXX, $feature["Asset_Name"],&amp;nbsp; 0 ) where XXXX is the value returned from the first test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does it return -1, 0&amp;nbsp; or some other value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 06:23:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265137#M12968</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T06:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265138#M12969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - this shows -1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 08:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265138#M12969</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T08:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265139#M12970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;return $feature["Asset_Name"] when you hit Test button?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 10:06:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265139#M12970</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T10:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265140#M12971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It returns null, but thats because the first feature in the table has no asset name.&amp;nbsp; When I enter the name manually to test it returns the name as I entered.&amp;nbsp; But when I apply that to the original code it still returns null.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/490829_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/490830_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 10:33:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265140#M12971</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T10:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265141#M12972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derrick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the == 1 to == 0 and now it works.  Thank you so much for your help.  I can work with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Disclaimer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This email has been scanned for viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business. Providing a safer and more useful place for your human generated data. Specializing in; Security, archiving and compliance. To find out more visit the Mimecast website.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 11:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265141#M12972</guid>
      <dc:creator>MattCreaney</dc:creator>
      <dc:date>2020-05-04T11:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can I hide HTML elements of my popup according to a variable?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265142#M12973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/397688"&gt;Matt Creaney&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should probably use != -1 or &amp;gt;= 0&amp;nbsp; instead of == 1 or == 0. This should cover all cases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did that test hastily and so it was an oversight on my part. My bad.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated the screenshot to reflect this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate if you can mark the answer as correct if it solved your issue; helps others quickly find the answer too &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 11:13:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/can-i-hide-html-elements-of-my-popup-according-to/m-p/265142#M12973</guid>
      <dc:creator>DerrickWong</dc:creator>
      <dc:date>2020-05-04T11:13:14Z</dc:date>
    </item>
  </channel>
</rss>

