Select to view content in your preferred language

Smart Editor Widget - Presets for Existing Features

2188
16
07-28-2020 11:26 AM
Status: Open
dgray
by
Regular Contributor

Allow you to create a preset/default value for an existing feature that doesn't have a value yet.  It seems like only new features fill in preset values, and existing features, even if you give them preset values using Attribute Actions, do not actually fill these attributes in.  For example, an existing feature that has a date field preset to today's date for a field inspector (if date is currently blank) when they edit that feature, etc.#

16 Comments
Laura
by MVP Regular Contributor

For the lead lines - a majority of our older records are missing info, but a few do have that missing piece. So, it would be easier to automatically populate some unknown fields, but be able to change it for the few times we have that information. A lot of our lines are public and private owned, but again you may have a few occasions where that isn't the case. Things like that. 

 

Is there a way to calculate based off of previous answers? Like if I say a line is lead it will auto population the ever lead? field to yes. 

AlixVezina

@Laura Thank you for sharing those details!

Is there a way to calculate based off of previous answers? Like if I say a line is lead it will auto population the ever lead? field to yes. 

Yes, an example somewhat similar is available in the web map , where the value for the field "Is there a High School in this area?" is calculated based on the value found in the field "Which schools are found within the area?".

AlixVezina_0-1691179302476.png

 

There are many different ways to achieve this and lots of possible nuances you can define in the Arcade script you define in your smart form. 

Laura
by MVP Regular Contributor

@AlixVezina I need this done in the editor of web app builder, not a map itself. I am struggling to find a way to do it there. 

AlixVezina

@Laura This will not be available in Web AppBuilder. But if you configure the Smart Forms in the Map Viewer you will also be able to use them in Experience Builder through the Edit widget.

See the Experience Builder example provided here From the Smart Editor to Smart Forms (esri.com).

Experience Builder is planned to eventually replace Web AppBuilder: ArcGIS Web AppBuilder retirement—ArcGIS Web AppBuilder | Documentation

Laura
by MVP Regular Contributor

The lead line solution is built on web app builder which is why I am using it. So I can't calculate fields or have preset values? 

AlixVezina

@Laura 

In Web AppBuilder, you will only be able to use the Smart Editor widget with Preset Attribute Action on new features you create, not when updating features. If you want to leverage the new functionality we've been discussing you would need to create a new app using the Instant Apps or Experience Builder, or edit directly in Map Viewer.

The Lead Service Line Solution will be updated to use the latest technology some time in the future. Most Solutions are gradually being updated to use newer apps.