<?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: Setting a &amp;lt;null&amp;gt; Coded value in My Domain in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431832#M33972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not python expert by any means, perhaps we'll hear from those with much more skill than I ( &lt;A href="https://community.esri.com/people/dkwiens"&gt;dkwiens&lt;/A&gt;‌ &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;‌ ) but &amp;lt;null&amp;gt; is handled as None.&amp;nbsp; Why are you considering this as a python issue?&amp;nbsp; It's real easy to calculate back to &amp;lt;null&amp;gt; in VB; in the field calculator, YourField = Null.&amp;nbsp; I've never really figured out how to do that in python, but surely that doesn't mean it can't be done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as a domain value, I think if you allow &amp;lt;null&amp;gt; values it will appear in the pull-down option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2016 22:27:59 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2016-08-29T22:27:59Z</dc:date>
    <item>
      <title>Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431831#M33971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm creating a large number of coded domains. I have what appears to be an issue for my users, however. They are collecting data about point features. There is a chance they could calculate the value of a field they didn't intend to. When&amp;nbsp;we have coded values set, they can't set the value back to null. Is there a way I can add null to a coded domain?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Deanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 21:57:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431831#M33971</guid>
      <dc:creator>DeannaBurke</dc:creator>
      <dc:date>2016-08-29T21:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431832#M33972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not python expert by any means, perhaps we'll hear from those with much more skill than I ( &lt;A href="https://community.esri.com/people/dkwiens"&gt;dkwiens&lt;/A&gt;‌ &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;‌ ) but &amp;lt;null&amp;gt; is handled as None.&amp;nbsp; Why are you considering this as a python issue?&amp;nbsp; It's real easy to calculate back to &amp;lt;null&amp;gt; in VB; in the field calculator, YourField = Null.&amp;nbsp; I've never really figured out how to do that in python, but surely that doesn't mean it can't be done.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as a domain value, I think if you allow &amp;lt;null&amp;gt; values it will appear in the pull-down option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 22:27:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431832#M33972</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-08-29T22:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431833#M33973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I was clear. I'm sorry.&amp;nbsp;I am creating this feature class in Python and will need to recreate it more than once. The true issue is that the null value is not an option when this feature class is used in a mobile map service for ArcGIS for Windows Mobile. The fields are nullable, but, null doesn't show as an option&amp;nbsp;in the pick list once a domain is applied.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2016 23:31:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431833#M33973</guid>
      <dc:creator>DeannaBurke</dc:creator>
      <dc:date>2016-08-29T23:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431834#M33974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but you've lost me:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Is there a way I can add null to a coded domain...&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;The true issue is that the null value is not an option...&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screen capture of a coded domain I have in one of my feature classes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/218605_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 13:27:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431834#M33974</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2016-08-30T13:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431835#M33975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be specific to ArcGIS Mobile. Here's what the options are within the application:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/218616_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Null is not an option, so, in order to save this record, the user must choose on of the coded domain values. Thank you&amp;nbsp;for your input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2016 14:36:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431835#M33975</guid>
      <dc:creator>DeannaBurke</dc:creator>
      <dc:date>2016-08-30T14:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a &lt;null&gt; Coded value in My Domain</title>
      <link>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431836#M33976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In you mobile app, can you set a domain value/option to "select one" or "not applicable" or some other value that shows the user that if they don't select an option, that is ok.&amp;nbsp; Then once back in the office, run you script to Null them out?&amp;nbsp; I did something similar last week (i.e. set values back to null)...this is the note I made for myself&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;None&amp;nbsp;&amp;nbsp; if using PYTHON_93&amp;nbsp; or&lt;BR /&gt;Null&amp;nbsp;&amp;nbsp; if using VB .....not quotes or spaces&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;similar to what Joe mentioned.&amp;nbsp; My need was a little different&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just as a old-school fyi - I used to have a lot of "999" codes in the data formats that was a holder for some unknown value, "null" on a numeric field that needed to be a null, and not a zero.&amp;nbsp; Sometimes for new technology like some of the mobile apps you need to find workarounds until they are put in place.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I would suggest looking a tthe many ideas re: null values and voting up any that are similar to yours&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/forums/searchpage/tab/message?q=null+domain+values&amp;amp;place=%2Fplaces%2F478947&amp;amp;depth=ALL" target="_blank"&gt;https://community.esri.com/search.jspa?q=null+domain+values&amp;amp;place=%2Fplaces%2F478947&amp;amp;depth=ALL&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example &lt;A href="https://community.esri.com/ideas/11916" target="_blank"&gt;https://community.esri.com/ideas/11916&lt;/A&gt;&amp;nbsp;&amp;nbsp; although that is andrid, there may be one for Windows Mobile (i didn't do thorough search) and if you don't find one, add a comments to one or start a new idea.&amp;nbsp; If you are having issues, others may too.&amp;nbsp; (btw, I do not use Windows Mobile at this time).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:33:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/setting-a-lt-null-gt-coded-value-in-my-domain/m-p/431836#M33976</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2021-06-22T08:33:41Z</dc:date>
    </item>
  </channel>
</rss>

