<?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 Required fields not working due to an error in publishing in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190004#M4022</link>
    <description>&lt;P&gt;I had posted this here&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969" target="_blank"&gt;https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969&lt;/A&gt;&amp;nbsp;but it is an old post so no one is seeing it.&amp;nbsp; I have tried all the tricks on this post but they do not work.&lt;/P&gt;&lt;P&gt;Field Maps - Required Fields Not Working as Expected. Maps we had for a few years now no longer forcing the required fields all of a sudden.&amp;nbsp; I am using all Map Viewer Classic. I have not touched anything in Field Maps web.&amp;nbsp; Just a straight publish from a GDB in ArcMap.&lt;/P&gt;&lt;P&gt;I tried the process posted to update the template but it did not make a change.&lt;/P&gt;&lt;P&gt;I see the space in templates.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1657130544169.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45336i23F54B99A87BE2A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1657130544169.png" alt="DougBrowning_0-1657130544169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I go to fix it in templates it has no space.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_1-1657130544196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45335iF9224CE5103FD22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_1-1657130544196.png" alt="DougBrowning_1-1657130544196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried adding and then removing a space and a few other things but it still stays with the space in the JSON.&lt;/P&gt;&lt;P&gt;Nullable is set correctly&lt;/P&gt;&lt;P&gt;LOCAL_ID (type: esriFieldTypeString, alias: LOCAL_ID, SQL Type: sqlTypeOther, length: 255, nullable: false, editable: true)&lt;/P&gt;&lt;P&gt;I then tried the linked script but we have 2 factor so it fails.&amp;nbsp; Not sure why it would ask for a un/pass when it can just use the Pro login.&lt;/P&gt;&lt;P&gt;Unable to generate token.&lt;BR /&gt;Invalid username or password.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;So now I am stuck.&amp;nbsp; Only some of my services are doing this.&amp;nbsp; Maybe a diff between publishing with Pro or ArcMap.&amp;nbsp; All my publishing from ArcMap seems ok but not Pro. Is this some new bug?&amp;nbsp; If so is it getting fixed?&amp;nbsp; Is there to at least fix this for this year?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 18:05:11 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2022-07-06T18:05:11Z</dc:date>
    <item>
      <title>Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190004#M4022</link>
      <description>&lt;P&gt;I had posted this here&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969" target="_blank"&gt;https://community.esri.com/t5/arcgis-field-maps-questions/field-maps-required-fields-not-working-as-expected/m-p/1187403#M3969&lt;/A&gt;&amp;nbsp;but it is an old post so no one is seeing it.&amp;nbsp; I have tried all the tricks on this post but they do not work.&lt;/P&gt;&lt;P&gt;Field Maps - Required Fields Not Working as Expected. Maps we had for a few years now no longer forcing the required fields all of a sudden.&amp;nbsp; I am using all Map Viewer Classic. I have not touched anything in Field Maps web.&amp;nbsp; Just a straight publish from a GDB in ArcMap.&lt;/P&gt;&lt;P&gt;I tried the process posted to update the template but it did not make a change.&lt;/P&gt;&lt;P&gt;I see the space in templates.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_0-1657130544169.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45336i23F54B99A87BE2A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_0-1657130544169.png" alt="DougBrowning_0-1657130544169.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I go to fix it in templates it has no space.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DougBrowning_1-1657130544196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/45335iF9224CE5103FD22D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DougBrowning_1-1657130544196.png" alt="DougBrowning_1-1657130544196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried adding and then removing a space and a few other things but it still stays with the space in the JSON.&lt;/P&gt;&lt;P&gt;Nullable is set correctly&lt;/P&gt;&lt;P&gt;LOCAL_ID (type: esriFieldTypeString, alias: LOCAL_ID, SQL Type: sqlTypeOther, length: 255, nullable: false, editable: true)&lt;/P&gt;&lt;P&gt;I then tried the linked script but we have 2 factor so it fails.&amp;nbsp; Not sure why it would ask for a un/pass when it can just use the Pro login.&lt;/P&gt;&lt;P&gt;Unable to generate token.&lt;BR /&gt;Invalid username or password.&lt;BR /&gt;(Error Code: 400)&lt;/P&gt;&lt;P&gt;So now I am stuck.&amp;nbsp; Only some of my services are doing this.&amp;nbsp; Maybe a diff between publishing with Pro or ArcMap.&amp;nbsp; All my publishing from ArcMap seems ok but not Pro. Is this some new bug?&amp;nbsp; If so is it getting fixed?&amp;nbsp; Is there to at least fix this for this year?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 18:05:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190004#M4022</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-07-06T18:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190025#M4025</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;Hard to troubleshoot this for Field Maps as you haven't used the web app, but, if this is in Online, you can invite the "craig_sp" user to the group and I can take a look at why "Field Maps - Required Fields Not Working as Expected."&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 18:55:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190025#M4025</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2022-07-06T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190059#M4029</link>
      <description>&lt;P&gt;Ok added.&amp;nbsp; Please use the training service and not the production for any testing.&amp;nbsp; thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 19:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190059#M4029</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-07-06T19:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190648#M4048</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;I'll reply to you in a DM.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 22:36:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1190648#M4048</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2022-07-07T22:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1278718#M5757</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;did you manage to solve this?&amp;nbsp; I'm running into the same problem.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 12:15:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1278718#M5757</guid>
      <dc:creator>Lee_Butler</dc:creator>
      <dc:date>2023-04-14T12:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Required fields not working due to an error in publishing</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1278769#M5759</link>
      <description>&lt;P&gt;I had forgot but I looked and this is what he sent me and it worked.&amp;nbsp; You can edit it in the field maps viewer and map view classic still worked.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Ok, I think I have a workaround for you.&amp;nbsp; I was able to remove the spaces/" " for the default values used in the PFC_Points feature layer by using Field Maps and removing them from the Templates tab.&lt;/P&gt;&lt;P&gt;I had to create a new feature layer, based on your PFC_Points layer to do this.&amp;nbsp; I then tested it in Field Maps mobile - and I am blocked from submitting because the 2 fields are empty.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Then I see that we had this for on premise services and got back "&lt;SPAN&gt;The bug which isn't displaying all the fields under the Default Values tab in Field Maps will be fixed for the Fall release of Online."&amp;nbsp; But you would need 11.1 or whatever is current for that.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 13:58:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/required-fields-not-working-due-to-an-error-in/m-p/1278769#M5759</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-04-14T13:58:35Z</dc:date>
    </item>
  </channel>
</rss>

