<?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>idea Calculated Default Values in ArcGIS Field Maps Ideas</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idi-p/1168326</link>
    <description>&lt;P&gt;We are now implementing form calculations in Field Maps on several projects and these have been a big help... some bugs to work through, but overall pretty good so far.&lt;/P&gt;&lt;P&gt;By design, a form calculation renders the field un-editable from within the form. This leaves me wanting a little bit as I have use cases for a calculation that fires once and only once on insert/creation but allows the field to remain editable. Call this &lt;STRONG&gt;calculated default values&lt;/STRONG&gt;. Separate from a database default value of the underlying feature service and those set in feature templates which are both examples of static default values.&lt;/P&gt;&lt;P&gt;The classic use case is a date field (not a system date field like editor tracking)...&lt;/P&gt;&lt;P&gt;On insert set the date to today. e.g. &lt;FONT color="#3366FF"&gt;return Today()&lt;/FONT&gt;; or &lt;FONT color="#3366FF"&gt;return Now();&lt;/FONT&gt;. However, allow the field to remain editable so that a user can make a change. 90% of the time the user would need Today's date and when this event fires the user can ignore the field, but in the event that they are recording an inspection/event that occurred yesterday, today, then allow the user to manipulate the date.&lt;/P&gt;&lt;P&gt;By design it could be a different category of a form's field capabilities.&lt;/P&gt;&lt;P&gt;Currently we have&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Calculated Expressions&lt;/LI&gt;&lt;LI&gt;Conditional Visibility&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Can an option be added for these types of cases? Calculated Default Value Expressions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 14:02:16 GMT</pubDate>
    <dc:creator>JustinReynolds</dc:creator>
    <dc:date>2022-04-27T14:02:16Z</dc:date>
    <item>
      <title>Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idi-p/1168326</link>
      <description>&lt;P&gt;We are now implementing form calculations in Field Maps on several projects and these have been a big help... some bugs to work through, but overall pretty good so far.&lt;/P&gt;&lt;P&gt;By design, a form calculation renders the field un-editable from within the form. This leaves me wanting a little bit as I have use cases for a calculation that fires once and only once on insert/creation but allows the field to remain editable. Call this &lt;STRONG&gt;calculated default values&lt;/STRONG&gt;. Separate from a database default value of the underlying feature service and those set in feature templates which are both examples of static default values.&lt;/P&gt;&lt;P&gt;The classic use case is a date field (not a system date field like editor tracking)...&lt;/P&gt;&lt;P&gt;On insert set the date to today. e.g. &lt;FONT color="#3366FF"&gt;return Today()&lt;/FONT&gt;; or &lt;FONT color="#3366FF"&gt;return Now();&lt;/FONT&gt;. However, allow the field to remain editable so that a user can make a change. 90% of the time the user would need Today's date and when this event fires the user can ignore the field, but in the event that they are recording an inspection/event that occurred yesterday, today, then allow the user to manipulate the date.&lt;/P&gt;&lt;P&gt;By design it could be a different category of a form's field capabilities.&lt;/P&gt;&lt;P&gt;Currently we have&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Calculated Expressions&lt;/LI&gt;&lt;LI&gt;Conditional Visibility&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Can an option be added for these types of cases? Calculated Default Value Expressions?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:02:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idi-p/1168326</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-04-27T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168336#M642</link>
      <description>&lt;P&gt;We are still on Enterprise 10.8.1 and have not been able to take advantage of the awesome calculated field functionality just yet. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did not realize this was not already the case, however. This &lt;EM&gt;absolutely&lt;/EM&gt; would be needed for every one of our team's use cases. I can't think of a time where I would want to calculate a field for the user and lock it, making them unable to change it if needed. Calculations, to me, serve as a convenience to users. As you mentioned - 90% of the time, the value will be what they want it to be, but there are always exceptions where they may need to change the value manually.&lt;/P&gt;&lt;P&gt;Hope to see this implemented soon, ready for my team's next upgrade!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168336#M642</guid>
      <dc:creator>lah</dc:creator>
      <dc:date>2022-04-27T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168349#M643</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148752"&gt;@lah&lt;/a&gt;&amp;nbsp;Yea it was a disappointment to see that the field must not allow editing (from within the form) if it is calculated.&amp;nbsp; I see why the did it though.&amp;nbsp; The edit context is set to "UPDATE", so what is happening is that anytime any field in your form is updated all fields with calculations are recalculated... so if a user were to change something it would just overwrite their change with the&amp;nbsp; recalculation.&amp;nbsp; There are some options in the Form Calculations Arcade Profile that may help mitigate that, but for now at least, from within the form, the field is enforced as not editable. It is editable outside the form, however, in the table view and it looks to be editable in Field Maps when editing a feature; as the configured form is not displaying when editing a feature (outside of the cached session) or editing multiple features (regardless of the session)... the form not being honored while editing an existing feature might be a bug (Android) or an undocumented limitation right now.&lt;/P&gt;&lt;P&gt;We use ArcGIS Online and ArcGIS Enterprise depending on the nature of the project and the client.&amp;nbsp; We are about to complete our migration from 10.7.1 to 10.9.1 in about 10 days.&amp;nbsp; Sadly, based on ESRI's documentation, form field calculations are not supported in Enterprise at all, even as of 10.9.1.&amp;nbsp; My hunch is that they won't be supported until 11.0.0 or 11.0.1. So it remains an ArcGIS Online only feature probably until the ESRI UC or the end of the year.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:51:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168349#M643</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-04-27T14:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168381#M645</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;&amp;nbsp;that does make sense.&lt;/P&gt;&lt;P&gt;and, ahhhhhh - that stings. Us Enterprisers getting left in the dust again &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate the info!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 15:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1168381#M645</guid>
      <dc:creator>lah</dc:creator>
      <dc:date>2022-04-27T15:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1169374#M658</link>
      <description>&lt;P&gt;I posted this in the early adopters Field Maps forum as well and got a interesting response.&amp;nbsp; Field Maps mobile technically supports this (though it is a bit of a different idea, the result is the same).&lt;BR /&gt;&lt;BR /&gt;This is not directly supported/exposed yet in Field Maps web authoring, so it is a bit more technical to implement.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Based on the dev's response, I reviewed the relevant constraint profile documentation:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/arcade/guide/profiles/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/guide/profiles/&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/arcade/#forms" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/arcade/#forms&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/editing-featureform-fieldvisibility/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/editing-featureform-fieldvisibility/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm inferring that I can appropriately modify the web map's json to include this functionality and Field Maps mobile will support it. I should be able to define a new expression in the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;ExpressionInfos&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;section that evaluates to true or false as suggested (either by checking the value of a helper field or meeting some other condition presented in the form) and then just pass that expression by name to the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;editableExpression&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;property of a field or set of fields. This is analogous to the&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;visibilityExpression&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;requiredExpression&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;properties.&amp;nbsp; I could in theory have a single "user enabled override switch" or form condition that would enable or disable all form calculations at once.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The expression that comes to mind for the date field is to just check if its value is null.&amp;nbsp; If it is not null, then my editable expression would evaluate to true, rendering the field editable and therefor disabling form calculations on that field since fields will only calculate if the editability&amp;nbsp;is false. My hope is that since it would be null on insert, the field would calculate today's date, then it would no longer be null and thus the edibility&amp;nbsp;would become true.&amp;nbsp; The field would no longer calculate and would be editable by the user.&amp;nbsp; This might break down if the field were to become null again.&amp;nbsp; I plan on testing this out and following up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This won't be exposed in Field Maps web form authoring (Either in Map Viewer or the Field Maps web app).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2022 16:00:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1169374#M658</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-04-29T16:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1169787#M664</link>
      <description>&lt;P&gt;Following up again.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I can confirm that this works great on iOS, but does not work completely on Android.&amp;nbsp; On Android, the editability is toggled successfully, but the form fails to calculate the date when the field's editability is toggled to false (there is also no "calculating" animation, it just disables the field). I'm seeing similar behavior on some other fields that calculate fine in iOS and the web map (chrome), but won't calculate on Android unless I shift the field up in the order of fields.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Android || Galaxy S10+ || App Version 22.1.2 || Build 1128&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;iOS|| iPhone 13 Pro || App Version 22.1.0 || 690&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example map json snippet (See line 25):&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;...
"formElements": [
    {
        "description": "Toggle the switch to manually override the service date",
        "label": "Service Date - Override",
        "type": "field",
        "editable": true,
        "fieldName": "service_date_override",
        "inputType": {
            "type": "switch",
            "offValue": 0,
            "onValue": 1
        }
    },
    {
        "description": "Enter the date the test was performed.",
        "label": "Service Date",
        "type": "field",
        "editable": false,
        "fieldName": "service_date",
        "inputType": {
            "type": "datetime-picker",
            "includeTime": false
        },
        "editableExpression": "constraint/edt/cond/service_date_override",
        "requiredExpression": "constraint/req/cond/is_required",
        "valueExpression": "expr/now"
    }
...
"expressionInfos": [
    {
        "expression": "true",
        "name": "constraint/req/cond/is_required",
        "returnType": "boolean",
        "title": "is_required"
    },
    {
        "expression": "// editability_service_date_override\r\n// if switch is off (0) -&amp;gt; Editability = false =&amp;gt; Calc will execute\r\n// if switch is off (1) -&amp;gt; Editability = true =&amp;gt; Calc will not execute\r\nif ($feature[\"service_date_override\"] == 0) {\r\n    console('Manual Override is off');\r\n    return false;\r\n} else if ($feature[\"service_date_override\"] == 1){\r\n    console('Manual Override is on');\r\n    return true;\r\n} else {\r\n    console('Manual Override is null or invalid');\r\n    return false;\r\n};",
        "name": "constraint/edt/cond/service_date_override",
        "returnType": "boolean",
        "title": "service_date_override"
    },
    {
        "expression": "return Now();",
        "name": "expr/now",
        "returnType": "date",
        "title": "Now"
    }
...&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 17:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1169787#M664</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-05-02T17:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1175043#M699</link>
      <description>&lt;P&gt;Agree that being able to change a calculated field if needed is essential. Our use-case is for dates too. The majority of the time the form will be completed for the current date, but on the occasions it's not the user needs to be able to choose a different date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;A field being editable or read-only is already controlled via the feature layer's attribute settings, so ideally this would be honoured even when a calculated expression is used.&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 14:01:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1175043#M699</guid>
      <dc:creator>DebHSF</dc:creator>
      <dc:date>2022-05-18T14:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1175220#M700</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/506084"&gt;@DebHSF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is supported by Field Maps Mobile (ArcGIS Online) currently.&amp;nbsp; You just can't author the solution via Field Maps Web App yet.&amp;nbsp; You would need to do it by modifying the web maps json. I pasted an example above.&lt;BR /&gt;&lt;BR /&gt;To show case what this feels like in the app, review the GIF below.&amp;nbsp; My Service Date and Service Number fields are both calculated values.&amp;nbsp; I've tied editability of the Service Date to an override switch and the editability of the Service # field to itself (if it has a value, then it becomes editable... if I null that field it will briefly become un-editable, recalculate, then become editable again.... it happens almost faster than you can see it happen) You can't see it, but I'm hitting the x button on the service # field to null that value, which forces a recalculate... which is partially based on the service date field.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Calculated Default Values Example" style="width: 600px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41630i1213A99C209D88A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="ezgif.com-gif-maker (7).gif" alt="Calculated Default Values Example" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Calculated Default Values Example&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 18:01:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1175220#M700</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2022-05-18T18:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1177552#M721</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;. I'm not sure if the json method will be possible for us due to the way the layers are set up (and we're on Android), but will give it a go.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1177552#M721</guid>
      <dc:creator>DebHSF</dc:creator>
      <dc:date>2022-05-26T14:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1221163#M906</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;. I'm looking into this again just now and have almost got things to work, but I find when I null a field (tap the X button), the value is not recalculated, it just remains as an editable field. Trying to work out what could be different to your set-up - are the fields you're doing this on set to allow null values or not?&lt;/P&gt;&lt;P&gt;Also I find if I make any changes to the Field Maps form in the AGOL Field Maps web app, even to different fields, the json gets reset and I have to go into ArcGIS Assistant and edit the json again. Do you find this too?&lt;/P&gt;&lt;P&gt;Thanks for figuring all this out by the way!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2022 16:11:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1221163#M906</guid>
      <dc:creator>DebHSF</dc:creator>
      <dc:date>2022-10-12T16:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1229515#M933</link>
      <description>&lt;P&gt;This feature would definitely be useful. We have a calculated expression for fetching the name of the&amp;nbsp;user. It works fine, but in case of offline use, the field won't populate, and since the field is mandatory, you can't submit the feature. For now we had to remove the calculated expression from the form altogether, but the ability to edit a calculated field would be much better.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 14:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1229515#M933</guid>
      <dc:creator>SakariHautala</dc:creator>
      <dc:date>2022-11-08T14:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1241371#M981</link>
      <description>&lt;P&gt;I hope this feature would be added to field maps, allowing us to manually edit the calculated values are essential since sometimes the values are not correct,&lt;/P&gt;</description>
      <pubDate>Wed, 14 Dec 2022 21:50:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1241371#M981</guid>
      <dc:creator>ChristyFung</dc:creator>
      <dc:date>2022-12-14T21:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1263436#M1095</link>
      <description>&lt;P&gt;A calculated default value that remains editable (if the field is editable) is absolutely a requirement. The field calculations are generally there to speed up and simplify data collection, but should not prevent the user overriding them if required.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 09:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1263436#M1095</guid>
      <dc:creator>JohnFannon</dc:creator>
      <dc:date>2023-03-02T09:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1306527#M1306</link>
      <description>&lt;P&gt;This has been implemented in AGO and AGE @&amp;nbsp;11.1.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jul 2023 14:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1306527#M1306</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-07-07T14:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314322#M1350</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;&amp;nbsp;Could you specify what feature has been implemented in AGE 11.1? Is it just the toggle switch logic you showed in your gif along with edits to the source JSON? Or is there an actual feature to allow for users to overwrite calculated values that I am missing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 21:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314322#M1350</guid>
      <dc:creator>LanceKirby2</dc:creator>
      <dc:date>2023-08-01T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314342#M1352</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/325832"&gt;@LanceKirby2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ability to natively author editable expressions and Form Calculations in Field Maps Designer are what I am referring to. In my previous post with the GIF, I was implementing this without native support.&amp;nbsp;&lt;/P&gt;&lt;P&gt;You no longer need to make edits to the JSON directly in order to deploy the editable expressions. Editable Expressions are the piece you need in order to allow users to edit (overwrite) calculated values.&amp;nbsp; There isn't a specific feature that will "allow users to overwrite". You will need to setup the logic using Arcade to make it work, but now you have the tools that you need to make it work without having to deal with AGO Assistant.&lt;/P&gt;&lt;P&gt;I just so happened to tie that previous example to a switch, but you don't need the switch to make it work.&amp;nbsp; In other cases I simply calculate the field if it is null | Empty... otherwise if it is already calculated, then the user can edit it.&amp;nbsp; This is the idea around calculated default values... on INSERT the field is null, so it get calculated... but after it is calculated the user can edit the field.&amp;nbsp; This is possible because of the editableExpression.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 21:28:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314342#M1352</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-08-01T21:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314345#M1353</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;&amp;nbsp;I am also not getting this ability in AGE 11.1. Are you working with hosted feature layers?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 21:34:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314345#M1353</guid>
      <dc:creator>lah</dc:creator>
      <dc:date>2023-08-01T21:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314366#M1354</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"I just so happened to tie that previous example to a switch, but you don't need the switch to make it work.&amp;nbsp; In other cases I simply calculate the field if it is null | Empty... otherwise if it is already calculated, then the user can edit it.&amp;nbsp; This is the idea around calculated default values... on INSERT the field is null, so it get calculated... but after it is calculated the user can edit the field.&amp;nbsp; This is possible because of the editableExpression."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is exactly how I would like some of my editable fields to be configured but I don't seem to be allowed to have a calculated expression while also being allowed to edit the field. Could you provide some screenshots of your form configuration?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Aug 2023 21:49:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314366#M1354</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2023-08-01T21:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314396#M1355</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/160149"&gt;@MarkEastwood&lt;/a&gt;&amp;nbsp;Well, ESRI seems bent on making me out a liar.&amp;nbsp; As I went to create an example for you on this something as clearly changed recently; probably with the June release as Forms that were working as expected no longer do. The field calculates (in some cases) and the user can change the value, but if they null the field again it no longer re-calculates.&lt;/P&gt;
&lt;P&gt;If I had to guess it has something to do with them deprecated "editable" and replacing it with "editableExpression" or the execution logic.&amp;nbsp; ESRI reads your Form and builds an execution map or tree of sorts so that the Form execution is as efficient as possible.&lt;BR /&gt;&lt;BR /&gt;I works great if my editable logic is based on a different field (e.g. using a switch to toggle editability), but is unstable or flawed if the editable expression is based on itself (e.g. checking for null on itself).&lt;/P&gt;
&lt;P&gt;Here is how it worked a month or so ago.&lt;/P&gt;
&lt;P&gt;The overall setup... Shown using AGO.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="The overall setup" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77044iAF0AFA42AF408258/image-size/large?v=v2&amp;amp;px=999" role="button" title="JustinReynolds_0-1690928177457.png" alt="The overall setup" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;The overall setup&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The editableExpression&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinReynolds_1-1690928202754.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77045iC95A120C5DFD96FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinReynolds_1-1690928202754.png" alt="JustinReynolds_1-1690928202754.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinReynolds_2-1690928604846.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77046iBA7F2213B663BE3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinReynolds_2-1690928604846.png" alt="JustinReynolds_2-1690928604846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The form calculation&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinReynolds_3-1690928673685.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77047i33B48F430D056574/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinReynolds_3-1690928673685.png" alt="JustinReynolds_3-1690928673685.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JustinReynolds_4-1690928694326.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77049iC94208C2DBAE243F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JustinReynolds_4-1690928694326.png" alt="JustinReynolds_4-1690928694326.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 13:07:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314396#M1355</guid>
      <dc:creator>JustinReynolds</dc:creator>
      <dc:date>2023-08-02T13:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Calculated Default Values</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314568#M1357</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183291"&gt;@JustinReynolds&lt;/a&gt;,&amp;nbsp;I really appreciate the time you spend answering these questions.&lt;/P&gt;&lt;P&gt;Very frustrated with ESRI's recent development, nothing ever seems to work as it is advertised.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 14:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-ideas/calculated-default-values/idc-p/1314568#M1357</guid>
      <dc:creator>MarkEastwood</dc:creator>
      <dc:date>2023-08-02T14:19:37Z</dc:date>
    </item>
  </channel>
</rss>

