<?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 Where to update fieldInfos in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/where-to-update-fieldinfos/m-p/1083638#M6403</link>
    <description>&lt;P&gt;I'm learning to use python Notebooks on ArcGIS Online, trying to automate some manual web map updates that I do.&lt;/P&gt;&lt;P&gt;In python, I add a layer to a web map and access the popupInfo JSON in order to change field labels, set decimal places, the digit separator, and remove some fields from the popup view.&amp;nbsp; I see in the layer's JSON that the popupInfo object has its own fieldInfos, but it also has a popupElements object, which, if type is "field", it also has a fieldInfos property.&lt;/P&gt;&lt;P&gt;In which place should I be updating the field properties for the popup window display?&lt;/P&gt;&lt;P&gt;Also, if a newly added layer does not have in its JSON a popupElements property with its own fieldInfos, should I create it, and how?&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jul 2021 14:33:19 GMT</pubDate>
    <dc:creator>KevinMayall</dc:creator>
    <dc:date>2021-07-29T14:33:19Z</dc:date>
    <item>
      <title>Where to update fieldInfos</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/where-to-update-fieldinfos/m-p/1083638#M6403</link>
      <description>&lt;P&gt;I'm learning to use python Notebooks on ArcGIS Online, trying to automate some manual web map updates that I do.&lt;/P&gt;&lt;P&gt;In python, I add a layer to a web map and access the popupInfo JSON in order to change field labels, set decimal places, the digit separator, and remove some fields from the popup view.&amp;nbsp; I see in the layer's JSON that the popupInfo object has its own fieldInfos, but it also has a popupElements object, which, if type is "field", it also has a fieldInfos property.&lt;/P&gt;&lt;P&gt;In which place should I be updating the field properties for the popup window display?&lt;/P&gt;&lt;P&gt;Also, if a newly added layer does not have in its JSON a popupElements property with its own fieldInfos, should I create it, and how?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2021 14:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/where-to-update-fieldinfos/m-p/1083638#M6403</guid>
      <dc:creator>KevinMayall</dc:creator>
      <dc:date>2021-07-29T14:33:19Z</dc:date>
    </item>
  </channel>
</rss>

