<?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 AGOL Notebooks feature.get_value returns None in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/agol-notebooks-feature-get-value-returns-none/m-p/1256639#M50270</link>
    <description>&lt;P&gt;Hi.&amp;nbsp; I'm new to scripting and agol notebooks so I hope this is an easy answer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script uses feature.get_value to retrieve attribute values.&amp;nbsp; Like this:&lt;/P&gt;&lt;P&gt;layerid = feature.get_value('LayerID')&lt;BR /&gt;layername = feature.get_value('LayerName')&lt;BR /&gt;lastiserror = feature.get_value('NewError')&lt;/P&gt;&lt;P&gt;For some fields, a value is returned every time.&amp;nbsp; For others, "None" is returned every time.&amp;nbsp; All attributes have a value.&amp;nbsp; And all field names used exist in the feature layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaryEllenPerko_1-1675969103994.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62466i2947F74DED77392E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaryEllenPerko_1-1675969103994.png" alt="MaryEllenPerko_1-1675969103994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I cannot identify a pattern why some work and some don't.&amp;nbsp; I'd appreciate any ideas on where to look.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2023 19:04:36 GMT</pubDate>
    <dc:creator>MaryEllenPerko</dc:creator>
    <dc:date>2023-02-09T19:04:36Z</dc:date>
    <item>
      <title>AGOL Notebooks feature.get_value returns None</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/agol-notebooks-feature-get-value-returns-none/m-p/1256639#M50270</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; I'm new to scripting and agol notebooks so I hope this is an easy answer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My script uses feature.get_value to retrieve attribute values.&amp;nbsp; Like this:&lt;/P&gt;&lt;P&gt;layerid = feature.get_value('LayerID')&lt;BR /&gt;layername = feature.get_value('LayerName')&lt;BR /&gt;lastiserror = feature.get_value('NewError')&lt;/P&gt;&lt;P&gt;For some fields, a value is returned every time.&amp;nbsp; For others, "None" is returned every time.&amp;nbsp; All attributes have a value.&amp;nbsp; And all field names used exist in the feature layer.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MaryEllenPerko_1-1675969103994.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/62466i2947F74DED77392E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MaryEllenPerko_1-1675969103994.png" alt="MaryEllenPerko_1-1675969103994.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I cannot identify a pattern why some work and some don't.&amp;nbsp; I'd appreciate any ideas on where to look.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2023 19:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/agol-notebooks-feature-get-value-returns-none/m-p/1256639#M50270</guid>
      <dc:creator>MaryEllenPerko</dc:creator>
      <dc:date>2023-02-09T19:04:36Z</dc:date>
    </item>
  </channel>
</rss>

