<?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: Default values for Inbox surveys in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861921#M25952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/12477"&gt;Doug Browning&lt;/A&gt;&amp;nbsp;that helps.‌&amp;nbsp; Most of the questions where always shown, I put a relevant on all the groups which contain defaults, once the first question is answered they all become relevant and the defaults get calculated.&amp;nbsp; Looking at all your posts and those of others it seems like I had better keep an eye on things to make sure it keeps working - I guess the guy filling out the survey will let me know pretty quick if it doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2020 21:47:00 GMT</pubDate>
    <dc:creator>JamesBain</dc:creator>
    <dc:date>2020-10-08T21:47:00Z</dc:date>
    <item>
      <title>Default values for Inbox surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861919#M25950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the Inbox for a daily site inspection survey. Some of the answers are prefilled using data from the SCADA system.&amp;nbsp; I have an overnight process which uploads a small JSON snippet to the REST API to add a survey record with several answers prefilled with the SCADA&amp;nbsp;readings.&amp;nbsp; Each morning the site supervisor retrieves the waiting survey from the inbox and completes the rest of the questions.&amp;nbsp; Lots of the questions are required and have default answers but because they are editing an existing survey the defaults don't get populated.&amp;nbsp; This takes extra time and annoys the person filling out the survey and I want to keep them happy &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way trigger default values for existing records when the current value is null?&amp;nbsp; The survey defines the fields as Required and specifies a default value of 0 (Zero) they are all integer fields. Yet if I look at the field definitions in the feature layer they allow NULLs and have no default value.&amp;nbsp; And I don't seem to be able to set the default field values on the feature layer via AGOL.&amp;nbsp; It would be very cumbersome to modify the nightly process to build a JSON string which includes all the fields which have a default value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ideally I would like to be able to either set the defaults on the underlying feature layer, or be able to recalculate defaults for unanswered questions when a survey loads from the Inbox.&amp;nbsp; Any ideas? thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 06:36:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861919#M25950</guid>
      <dc:creator>JamesBain</dc:creator>
      <dc:date>2020-10-02T06:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Default values for Inbox surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861920#M25951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default values also do not work when a field appears from a relevant.&amp;nbsp; Not sure if this is related.&amp;nbsp; That one had been a bug for a number of years now.&amp;nbsp; (well 2.5 years&amp;nbsp; &amp;nbsp;&lt;A href="https://community.esri.com/thread/215348-setting-a-default-value-on-a-field-with-a-relevant"&gt;https://community.esri.com/thread/215348-setting-a-default-value-on-a-field-with-a-relevant&lt;/A&gt;&amp;nbsp;)&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been using calc to get around it.&amp;nbsp; It is a little weird because a recal button will appear if they change the value.&amp;nbsp; But is does work.&amp;nbsp; In other words add your default to the calculation column.&amp;nbsp; Note at times I have seen this be an issue when coming back from drafts but still trying to figure that one out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps. I hope they fix this one at some point.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2020 14:53:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861920#M25951</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-10-02T14:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Default values for Inbox surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861921#M25952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/12477"&gt;Doug Browning&lt;/A&gt;&amp;nbsp;that helps.‌&amp;nbsp; Most of the questions where always shown, I put a relevant on all the groups which contain defaults, once the first question is answered they all become relevant and the defaults get calculated.&amp;nbsp; Looking at all your posts and those of others it seems like I had better keep an eye on things to make sure it keeps working - I guess the guy filling out the survey will let me know pretty quick if it doesn't.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2020 21:47:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/861921#M25952</guid>
      <dc:creator>JamesBain</dc:creator>
      <dc:date>2020-10-08T21:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Default values for Inbox surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/1218329#M45130</link>
      <description>&lt;P&gt;For calculations&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/survey123-tricks-of-the-trade-calculation-modes/ba-p/1206967" target="_self"&gt;Calculation modes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:57:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/default-values-for-inbox-surveys/m-p/1218329#M45130</guid>
      <dc:creator>Polesig</dc:creator>
      <dc:date>2022-10-03T16:57:40Z</dc:date>
    </item>
  </channel>
</rss>

