Hi. I'm new to scripting and agol notebooks so I hope this is an easy answer.
My script uses feature.get_value to retrieve attribute values. Like this:
layerid = feature.get_value('LayerID')
layername = feature.get_value('LayerName')
lastiserror = feature.get_value('NewError')
For some fields, a value is returned every time. For others, "None" is returned every time. All attributes have a value. And all field names used exist in the feature layer.
![MaryEllenPerko_1-1675969103994.png MaryEllenPerko_1-1675969103994.png](https://community.esri.com/t5/image/serverpage/image-id/62466i2947F74DED77392E/image-size/medium?v=v2&px=400)
I cannot identify a pattern why some work and some don't. I'd appreciate any ideas on where to look.
Thanks.