I want to harvest an ID from one of the layers in a secure map service in order to populate a field in an editable layer in a Field Maps map. Arcade is a simple scripting language built on JavaScript that helps you calculate new data values on-the-fly, and is available throughout the ArcGIS Platform. Service Location (Point feature) --> Service Account (Table) --> Meters (Table) I am able to create an pop-up expression for the Service Location that returns attributes from the related Service Account table, but. I'm new to both Arcpro and Arcade but capable enough with code to get myself stuck halfway to a solution with the help of google. Time values are created with the Time () function. Determining the number of point features located within the polygon features is important when analyzing the spatial relationship. I created a relationship class in ArcPRO and shared the the feature class and tables as a web layer in ArcGIS Online. Step 2. (or) Can we get the perpendicular distance between the Line Feature and Point Feature in ArcGIS pro using attribute rule (arcade expression). The script should return a Boolean with true indicating the feature meets the constraint criteria or false indicating it does. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS CityEngine ArcGIS Spatial Analyst All. See continue for more information. This example prints out the second item in the array. I've only just. For additional details, including known limitations for the version of the ArcGIS product you use to consume and author Arcade expressions, please visit the documentation for the relevant product listed below. Right now I see the only option to re-run the calculations periodically. 482. Go to the Living Atlas website and browse thousands of feature services. ArcGIS Arcade. Parse Error:featuresetbyname is not available Is it possible to incorporate a separate featureset from the map into the symbology expression for a layer? The featureset functions appear to be greyed out an labelled 'Not Available" within the function list. ArcGIS Maps SDK for JavaScript; ArcGIS Maps SDK for Kotlin; ArcGIS Maps SDK for Swift; ArcGIS Maps SDK for . The number of point features within the polygon features is displayed in the attribute table of the polygon feature class. You can create an Arcade expression anywhere you can use a data attribute. Copy and paste the expression found in the expression template below to the Arcade editor in ArcGIS Online, the relevant location in ArcGIS Pro, or the relevant location in a custom app. It all works fin. Click Layers on the Contents (dark) toolbar, and select the layer with the pop-up for editing. All profiles allow you to use functions in the Core bundle, but may include other function bundles depending on the execution context. 27 ArcGIS API for JavaScript released support for accessing data from multiple data sources inside a single feature’s popup. 0. Hello, I would like to add features in a featureSet, I initialize a featureSet and depending on other features I would like to push elements of these features on conditions : var myFeatureSet = FeatureSet({ layerDefinition: { objectIdField: "FID", geometryType: "esriGeometryPol. Possible values include any time zone that may be set on the View. You saw in your previous test results that this attribute is called Annual_Electricity_Consumption_. Data expressions can be created to power data-driven elements in your dashboard. var lookupField = "Kategorie_Gruppe" var commonField = "Art_wissenschaftlich" var. What I am looking for next is when there's a parcel that intersects both PC_FHA_NonTidal And PC_FHA_Floodway_NonTidal, I want it to return the option with a higher risk for instance PC_FHA_NonTidal. When you create an attribute rule, a script expression is used as the foundation of the rule. The help file on Count () says you need to feed into it a FeatureSet. Like other expression languages, it can perform mathematical calculations, format text, and evaluate logical statements. GetResult Method. ArcGIS Arcade - FeatureSetByName. 11 meters. Evaluate Method (ArcadeEvaluator)—ArcGIS Pro. Profiles. Hello, I am using the arcade expressions for a popup feature for emergency statuses. Esri Frequent Contributor. Feature functions A set of functions for working with features. Navigate to the Expression box to add a custom Arcade expression. Most people still work with Arcade Expressions. This widget is available in Map Viewer and app builders such as Experience Builder. /MapServer/0), it treats it like a Feature Layer. In ArcGIS Online, open the feature layer containing the related table in Map Viewer. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS. -FeatureSetByName-Intersects : No Arcade function. In the Contents pane, right-click the feature layer to be drawn > Data Design > Attribute Rules. . Keyword Instruction; break: Breaks or stops the execution of statements in a for loop. Arcade FeatureSetByName Not Returning What I Expected. . -FeatureSetByName-Intersects : No Arcade function for nearest feature. Assume you have a user called "gdb" and you connected to the workspace with "gdb" user , you can create the attribute rule using FeatureSetbyName ( "gdb. job_wo myFeature["job_wo"] However I get a: Execution Error:Runtime Error: Cannot call member property on object of this type. To create a sequence to reference in an attribute rule, use the Create Database Sequence. On the Select a layer screen, click New data expression. . I got a FeatureServer with 1 layer and 1 table. I noticed that this new feature is available in the Field Maps web application as well. Refer to the specific Arcade profile for attribute rules to learn more about the usage, profile variables, return types, and more. This will come at a cost (performance) and you will still see the "1 of 2" and "2 of 2" (although in this case. In the Layers pane, click the hosted feature layer. The basic lines is var sql = "GlobalID = '" + globalId + "'"; var featureLocation = Filter(fs_location, sql); where the golbalID change in a loop. : else: Indicates the start of a block of statements to execute when a condition defined by a preceding if evaluates to false. dateValue: Date - The input Date to which to add time. If the input is a feature class or dataset path, this tool will automatically create and return a new layer with the result of the tool applied. Take a look at the sample service of the USA: Hi, I'm trying to convert a dictionary to a FeatureSet in an Arcade data Expression. FeatureSet functions. Arcade can perform mathematical calculations, manipulate text, and evaluate logical statements. All Communities. So I am creating a new FeatureSet definition, and the attribute ZONE I would like to use in LEFT function. Infinity. 2. Introduction Arcade is a portable, lightweight, and secure expression language used to create custom content in ArcGIS applications. ) Step 4. 22 of the ArcGIS API for JavaScript (ArcGIS JS API), you can summarize point clusters in more detail using Arcade expressions in popups. timeZone should be set here. If you look at the Arcade docs, you'll see that it has no property "shape" that can be accessed that way. Report Inappropriate Content. Let’s take a look. inputFeature: Feature - The feature with a field that has a domain. Next to the Field drop-down menu, click the Set an expression button . You can use Arcade in a Field Calculation (static) that accesses data from the related table and includes it as fields so that you can use multiple fields to visualize the results in the web map. Create an Attribute Expression for the field you wish to hide by clicking the 3-dot button next to the layer within the Web Map > Configure Pop-up. In particular, I'm going to get the percentile rank of a given census tract based on the attribute B19053_002E, which is the number of households reporting self-employment income. The object passed into the input json parameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. It does not contain time zone information. Area - AreaGeodetic - Attachments - Average - Count - Crosses - Distinct - Domain - DomainCode - DomainName - EnvelopeIntersects - Expects -. . This was done primarily to access the tools available such as FeatureSetbyName. But if you are not in an evacuation alert area; I would like it to. We have been through a few workarounds. It does not contain time zone information. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS CityEngine ArcGIS Spatial Analyst All Products Communities. This uses FeatureSetByPortalItem to access the data, so I assume that it a matter of time it will be able to use data from different data sources in an Arcade expression to calculate a field. The parcel referenced is within both areas. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS CityEngine. Then the feature is sent to the underlying ArcGIS service. The following are examples of script expressions for calculation, constraint, and validation attribute rules. Update a buffer location accordingly when a point feature's location is updated. Create a buffer around a created point feature. I have recently upgraded ArcServer,, Portal, and DataStore to 10. If you’re stuck, try with the classic FeatureSet method and then swap in the new function. Any z-coordinates are ignored. Or, if you were using data owned by a different person, you'd end up in an endless waiting game either hoping or begging them to update their service with a new data field. The image below shows the intersected area of the two polygons is 5643. I would then like to see if those intersected address points are also in a separate flat table also in my web map. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. I am trying to use the schema function but ke. Notice in the screenshot below that now an image is added to the media content in the map's pop-up. The following table shows a sample of available operations. 8 has been released as part of the recent ArcGIS Online update, bringing new functions to try. Arcade is a lightweight and secure expression language written for use with ArcGIS. Arcade and Attribute Rules FeatureSetByName. You wrote your first Arcade expression! Now, let’s reuse this expression in the pop-up. Products ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS. It always pays to study the help file when calling functions to understand what they require and output they generate. ; In the Configure Pop-up pane, configure the pop-up settings as desired. Use case. On the Contents (dark) toolbar, click Layers to open the Layers pane and select the layer with the pop-up to be configured. 8 (Arcade 1. When a script expression references a dataset name with an Arcade function, such as FeatureSetByName. Procedure. Using the FeatureSet as input to a tool or function that modifies the input, such as Calculate Field or UpdateCursor, will modify the original feature class. job_wo. Though, after I add an expression to a layer's form and go over to the mobile application, the layer. I'm having little luck and wanted to confirm whether it's because my data is served as a map service thr. 57895. Under Expressions, select the newly created Arcade expression and click Done. 4 and Enterprise 10. It can perform mathematical calculations, manipulate text, and evaluate logical statements. Learn more about JSON renderers and JSON definition objects. I am attempting to utilize FeatureSetByAssociation within the Attribute Rule profile to obtain a group of associated features and then possibly update (using the edit attribute rule dictionary keyword) an associated feature based on a specific field value of the. [field_name] } You're correct, it's pulling through a value, but it's not pulling through the correct related value. You're using "status = in service", which is invalid, because status seems to be a text field, so the text value should be enclosed in single quotes. The goal is to create a field in the FeatureSet which recalculate the ZONE filed but keeps the first two chars only - so the result for this example would be P6. This #1 Field Maps idea voted on by customers in the Esri Community, was built and released in our 2022 November release! Now mobile users can filter layers in the mobile app to control which features they see on the map. You can now author an Arcade expression to calculate a value within the Arcade editor component. 7. ArcGIS Arcade is a portable, lightweight, and secure expression language. ArcGIS Arcade is a portable, lightweight, and secure expression language. Press F5 to start. in a big long string, but I only want the username. Click Add Rule. Point features can overlap or coincide with polygon features on a map. addValue: Number - The value to add to the Date in the given units. Click Add content and choose Related records. ; In the Calculate Field dialog box, click. 7. The popup element profile allows map authors to write expressions that return a dictionary representing either a rich text, fields table, or media (i. It looks like it doesn't accept the generic field "*" as 'onStatisticField'They are project locations for different groups with basic attribute information like Project ID, Name, Type, Description, Project Manager, Estimated Begin and End date. I google around and find out that there is this function called FeatureSetByName that does just that. Use FeatureSetbyID () to create a FeatureSet of the university drive-time polygons (polygon layer within this same map). The Expression window is where you write the code. Under Label field, click Use expression . Today we’ll look at how we can use Arcade FeatureSets to connect a. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. Select a primary symbology. I'm new to both Arcpro and Arcade but capable enough with code to get myself stuck halfway to a solution with the help of google. Hello, I am wondering if it is possible to do the workflow I am imagining. Arcade is a portable, lightweight, and secure expression language used to create custom content in ArcGIS applications. ; The Profile variables tab offers a list of predefined variables, including attribute fields and geometry for the layer features. That is not correct. . 説明. I have a parcel pop-up and would like to include Flood Zone information from the FEMA Rest Service The FEMA Rest Service is huge 3,981,995 records, and seems to slow down when demand peaks, taking up to a minute to return. In the Pop-ups pane, click Fields list > Select fields. Arcade elements are listed using the code symbol – </> – and titled Arcade. Arcade expressions can be written to calculate fields in records captured with ArcGIS QuickCapture. When writing expressions in web apps using the ArcGIS Maps SDK for JavaScript, this function also logs messages in the browser's console window. NET; ArcGIS Maps SDK for Java; ArcGIS Maps SDK for Qt; ArcGIS API for Python; ArcGIS Maps SDK for Unity; ArcGIS Maps SDK for Unreal Engine; Open Source APIs. NET; ArcGIS Maps SDK for Java; ArcGIS Maps SDK for Qt; ArcGIS API for Python; ArcGIS Maps SDK for Unity; ArcGIS Maps SDK for Unreal Engine; Open Source APIs. FeatureSetByName() 関数は最初の引数として Web マップをポイントします。 レイヤー名が渡され、関数内の引数はカンマで区切られます。 この関数の詳細については、「FeatureSetByName」をご参照ください。 さらに 2 つの引数を追加します。Refer to ArcGIS Pro: Access the Field Calculator for more information. This blog is going to outline a quick. Jeff Ward: the thing with views is they work great for enterprise to enterprise (SDE) databases. 16, which corresponds to ArcGIS Pro 2. Before going in to the Arcade expression you have, I would like to emphasize that there is something called a "sequence" which can create a unique number: Create Database Sequence (Data Management)—ArcGIS Pro | Documentation . Arcade Expression - intersecting feature sets with overlapping/split attribute options. Kendall County GIS. 4. I point that out because it is really important to state what version of ArcGIS and Arcade software is being used since code written with newer functions won't run on older versions. 1 Answer. This method requires a layer, a view instance, and two fields. In your case the expression contains a loop and you use the return inside the loop. The easiest way to solve this would be using the normal geoprocessing window, specify all the parameters there and validate the Arcade expression and run it. When you click on the land parcel of interest, if the parcel intersects with the evacuation polygon it will say the Type field: 'Evacuation Alert'. Can anyone see what the problem might be with this line of code. Using the new FeatureSet capability within the arcade language, you can build a pop-up that queries other layers from your map and returns information from those layers to show in your pop-up. Taking into account the recommendations made by PBarker-esristaff here: What’s new with Arcade: Taking a stroll through FeatureSets Part 2 . Then set Statistic to Sum and Field to count_of_doses to display the total number of doses. There are a number of attribute rules embedded upon the feature classes that populate fields upon editing. All three layers must have Global IDs for the attribute rules to work. When the sequence hits the return, it will exit the arcade expression. You can try to create the FeatureSet, the constructor takes as an argument a GeoJSON. Any other approaches to overcome the problem outlined above would be greatly appreciated. Implicit casting. ArcGIS Arcade is an expression language that transforms data on the fly to create meaningful labels, symbology, and pop-ups. 08-16-2022 07:47 AM. For those who have used it, t here’ s no secret that it is changing the way people make their maps and work with data. With the Attribute Rule Constraint profile, expressions can be written to evaluate whether or not a feature meets the criteria defined in the expression. Click the curly braces { } next to the URL field. My goal is to create a pop-up expression using Arcade to show attribute values from a filtered related table two-relationships deep. I have two features in an AGOL map, "SS Parcels" and "SS Zoning". 1. Hi! I need help with Arcade expression. Here's the solution, scrap the Arcade Filter() function, it simply does not work with globalid while offline. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS CityEngine ArcGIS Spatial Analyst All Products Communities. The function can be a user-defined function or a core Arcade function defined with the following parameter:Arcade is a lightweight and secure expression language used in ArcGIS products and APIs. In a dashboard, you can take advantage. It was designed specifically for creating custom visualizations and labeling expressions with ArcGIS, allowing users to write, share, and execute custom. I have a hosted Feature Layer (Points) with. 8 is any update you make to the feature will trigger the attribute rule, which might not be a desired. The Arcade expression editor appears. Procedure. I'm trying to get the currently logged in username in an Arcade expression in ArcPro 2. Data access. You can also use Arcade expressions to enhance. Click the ellipsis button of the layer and select Configure Pop-up. a chart or an image) popup element. For the trueValue, specify None . . This way, if there // are multiple feature in the same location, only the most recently added // feature is shown. The faster performance is especially noticeable in very large layers. When declaring a for loop to run a block of code a specific number of times, you. Arcade can be used in ArcGIS Dashboards for advanced formatting in list elements, indicator elements and table elements. Yes, I am applying this to a popup. They can also be used to iterate through items in an Array or a FeatureSet. Click Done. For Input Table, ensure the desired point layer is selected in the drop-down list. The script loops through polyline vertices and updates the M-Values. The FeatureSet needs to have its geometry type and all fields defined separately from providing data to it. Creates a FeatureSet from a Feature Layer based on its name within a map or feature service. I set up the Arcade function (FeatureSetByRelationshipName) within the custom attribute expression following the documentation online. You can use Arcade to style and label your map, create informative. :// get the count for all sites in the grid var s. I am new to Arcade Data Expressions and I would like to return a Feature Set that contains all of the "Fire Numbers" and the corresponding "District" (polygon) that it falls within. On the Settings (light) toolbar, click Pop-ups . I have recently upgraded ArcServer,, Portal, and DataStore to 10. Give the expression a title and set the expression. e. The attribute rule is assigned to a polygon feature class (Terminal Serving Areas) so that when a polygon is created or edited it calculates the number of features form another point feature class (Service Points) that intersect the. 20. Traditionally, if you had multiple layers in your web map, you would need a separate pop-up for each layer or you would need to go back and re-process. var lakes_list = [] for (var f in lakes_list){ Push(lakes_list, f. This sample demonstrates how to access other features from a layer using the FeatureSet capabilities available in Arcade expressions. With this week's update to Arcade and ArcGIS Dashboards, date fields in feature set constructors now just work. Procedure. With ArcGIS Pro , you can explore, visualize, and analyze data; create 2D maps and 3D scenes; and. I am able to use an Intersects expression in a popup, e. . I wanted to take this a step further with labels in ArcGIS Pro (though would be good in ArcOnline too) where a feature is labeled. It runs without. . Arcade expressions can process dates. The introduction of Arcade allowed you to work with a feature and manipulate its information to create rich new attributes on the fly. Click Add. . Through a Web Map in ArcGIS Online, I'm creating a field in Feature #1 and Feature #1 is related to Feature #2. There is an internal issue logged with the ArcGIS Runtime which must be addressed for the New Line token to work correctly. Arcade is a flexible expression language that allows you to work with data in real time in ArcGIS. Then use this FeatureSet in the script. Default Value: system. The December 2021 update of ArcGIS Online added performance updates for the user experience when styling layers using Arcade expressions. For these arcade expressions I am using FeatureSetByName to access the tables for the same features instead of a related table in the original raw data. Mark as New; Bookmark; Subscribe; Mute; Subscribe to RSS Feed; Permalink; Print;ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience. David, Including support for Arcade featureset in runtime apps is schedule for this fall, if all goes to plan, should be in released product Q1 2020. If you already know what clustering is, feel free. Click Expressions, and click New. Return the new FeatureSet that you just created. ; In the Expression dialog box, insert the appropriate Arcade expression, as described below. The script expression is constructed using the Arcade scripting language to control the rule behavior. We were using the Join Feature method (which doesn't work offline so we had to create an offline replica of the feature service using a dodgy ArcPro model), then we started using a mix between a scheduled ArcPro model and Geoevent Server to keep a cached feature. We previously were achieving this with. The second options allows you retain feature level data, in case collapsing data by groups is not intended. Field Maps, FeatureSetByRelationshipName, Arcade, Related Tables. The FeatureSetbyName function is added to the Expression window. 1, we have introduced the ability to author geodatabase attribute rules that edit features on other classes using special dictionary keywords and syntax. Database. The number of selected records will be listed in the. What’s new with Arcade: Taking a stroll through FeatureSets (Part 1) Mapping December 12, 2018. Specify the point layer in. Reply. Update the x attribute of a point geometry. Represents a value greater than any other number. :// get the count for all sites in the grid var s. These polygons will be the geometry being intersected. The parcel referenced is within both areas (hatched and. 0). Hi Ming, After a first quick investigation, it seems this service doesn't answer as expected to a statistic query. It is strange that you get this unexpected behavior. If the number of fields in the data is large, click the. I've been experimenting with Arcade in Field Maps and are loving the use of Intersect and FeatureSetByName for calculating values. FeatureSetByName FeatureSetByName(featureSetCollection, title, fields?, includeGeometry?) -> FeatureSet. On the Settings (light) toolbar, click Labels . To return multiple features, you will need to use a variable that you populate with the results and return that. (it didn't go as planned for Runtime update 6) Mark. From the List tab, we can enable Arcade and create an expression that controls the formatting properties of the list. Arcade. Visualization. 7. Since Arcade is a young-ish language, it continues to evolve with new releases happening every few months on average. ArcGIS Pro opens. The relationship class goes as follows: Main Table is connected to Activity class through a field called PI_ID The Following tables are connected to Activity class through a fiel. morrison ,. Start ArcGIS Pro and open the project. I just nothing back from it. Geometry. When a script expression references a dataset name with an Arcade function, such as FeatureSetByName. On the left I attempt to add a polygon using the Feature Service, on the right using the Feature Class. In this blog post, we’ll walk through some of the most common use cases and provide sample code to get you up and running with. Hi. Sign in to your ArcGIS Online account. With the latest version of ArcGIS Dashboards, you can create featuresets on the fly with Arcade and use them as data source. Documentation site for ArcGIS Maps SDK for JavaScript on ArcGIS Developers. I am trying to optimized my arcade var Overlay = Intersects(FeatureSetByName. Map authors set up which layers and fields can be filtered in the web component, Field Maps Designer. 5. When the user taps a button in the project, a feature is captured and the app subsequently uses the Arcade expression to populate the value of one of the fields. Since version 1. Open the ExploratoryAnalysis—Geo-fence map. Starting with the December 2021 update of ArcGIS Online and version 4. I finally got this working today. For example, an angle of 90 degrees points due north. 04-10-2022 12:49 AM. Arcade in dashboards. Profiles. Since version 1. ArcGIS APIs and SDKs. Arcade expressions can be authored in web maps for pop-ups, styles, and labels and are supported in the dashboard's map and details elements. Loops allow you to run a block of statements over and over again as long as a given condition with an incrementing value evaluates to true. ArcGIS APIs and SDKs. You can work with map services, but to have full functionality you will need to add each layer separately. STarea ()"], otherwise the dot in the middle will throw it off. Jeff Shaner. e True) then I'd like to count them. if diameter in (24, 30, 36): Reply. I've been trying to make this work in Arcade, but can't exactly figure out how. 3 Kudos by XanderBakker. Calculations are performed when analysis is run on your ArcGIS. 163. 11-30-2022 10:13 AM. All Arcade expressions must return a value. Article ID:000029915. The November 2022 update of the ArcGIS Online Map Viewer added support for binning as an alternative to clustering and heat maps. 10-23-2022 10:04 PM. I am able to use an Intersects expression in a popup, e. 7. Since version 1. Basically I am searching my feature layer for any field that has the value "Yes" and want to return a list of fields. Here are three examples of how to use Arcade as an expression builder. You can create a view in the database that is basically a saved sql query of the columns you need. Use the expression just created in the pop-up by highlighting {sst}, clicking the plus sign, and choosing the expression. Enter a title for the related records shown in the pop-up. When the popup opens, the expression will execute. Solved: I wrote an Arcade expression to calculate the zip code of an address point from its intersecting zip code polygon, and it works just fine: var fsZip =ArcGIS Online. e. Solved: Hello I have created a Arcade expression to look if a point intersects a polygon and return the name of the polygon within the pop up if if finds anything,In the blog Introducing Data Expressions in ArcGIS Dashboards, my colleague Vivek Malleshappa explains how you can now use an Arcade FeatureSet to pull additional data into your dashboards. The image below shows the count of different point features in a selected polygon through a. Implicit casting occurs when the Arcade language automatically casts data values from one type to another on behalf of the script author. Any quick help on the above requirement would be. It is best practice to handle casting. The field is composed of two section : text and number like this (PAT0001 -> PAT (text) and 0001 (numbe. by JohannesLindner. Having to do a DateDiff for each date field seems overly complicated. Hi, I have a feature class with calculation attribute rules set up. return f. The sections below include examples of using a calculated field expression. Open the web map in Map Viewer. So far I have found a lot of examples online of using Arcade FeatureSetByName to call one layer that intersects a polygon layer.