This folder contains Arcade expression templates and functions that may be used in the Form Calculation Profile. Calculated expressions automatically calculate and populate data in the form, saving time for mobile workers in the field or data editors in the office. Forms and form calculations are supported in Field Maps, Map Viewer, and any other web application that uses the Feature Form widget.
Many of these are included in the Common Calculated Expressions for ArcGIS Field Maps blog post.
Each expression lives in a Markdown file, which contains a general description of the concept and one or more specific examples with code.
See the list below for sample expressions:
- Spatial Inheritance (Fetch an attribute from an underlying polygon)
- Fetch an attribute from a related record
- Store a users's name or email address
- Calculate the current time
- Store geometry as an attribute
- Calculate a value from other fields
- Store info about a nearby feature
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Copyright 2022 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's LICENSE file.