arcgis arcade featuresetbyname. To configure the script to your layer, edit the first line to specify the layer you would like to use instead of the example layer. arcgis arcade featuresetbyname

 
 To configure the script to your layer, edit the first line to specify the layer you would like to use instead of the example layerarcgis arcade featuresetbyname Occasional Contributor III

I. Hi Gregory Bacon ,. Since version: 1. 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. My goal is to create a pop-up expression using Arcade to show attribute values from a filtered related table two-relationships deep. You can use attribute rules to perform inserts, updates, and deletes to another feature class by using the edit dictionary keyword. I want to use GroupBy to add up the sections of the same trail name to populate the 'trail_ft' column. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. I created a relationship class in ArcPRO and shared the the feature class and tables as a web layer in ArcGIS Online. The code is supposed to return the attributes of an n-number of features within a container. (Tip: you can even click “Test” to see an example list of records. : else: Indicates the start of a block of statements to execute when a condition defined by a preceding if evaluates to false. Select the expression added in step 5 above. Procedure. 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'. I've been experimenting with Arcade in Field Maps and are loving the use of Intersect and FeatureSetByName for calculating values based on feature intersections with other layers. I noticed that this new feature is available in the Field Maps web application as well. If a definition query is present on the input, only the features or rows matching the definition query will be used in the selection. Let’s take a look. Open the ExploratoryAnalysis—Geo-fence map. e. 8, allowing us to access the FeatureSetByName and FeatureSetByID functions. 1, we have introduced the ability to author geodatabase attribute rules that edit features on other classes using special dictionary keywords and syntax. Update the x attribute of a point geometry. Like other expression languages, it can perform mathematical calculations, manipulate text, and evaluate logical statements. com Count( Intersects( Buffer( Filter( FeatureSetByName ( $map, "public lands", ["class"], true ), "class = 'sensitive'" ), 10, "square-kilometers", ), $feature ) ); The following describes the order of operations in the chain: FeatureSetByName defines the layer or table to query. 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. A function bundle describes a set of functions to include in a profile's implementation of Arcade. It always pays to study the help file when calling functions to understand what they require and output they generate. Click Add expression. You saw in your previous test results that this attribute is called Annual_Electricity_Consumption_. inputGeometry: Geometry - The geometry to convert to an Arcade dictionary. Arcade FeatureSetByName Not Returning What I Expected. This method must be called on the MCT. Jump to solution. Binning aggregates data to predefined cells, effectively representing point data as a gridded polygon layer. In my point feature attribute table, I have multiple rows for each location name that corresponds to a year and total tons delivered. Arcade in dashboards. 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. morrison ,. This widget is available in Map Viewer and app builders such as Experience Builder. Use FeatureSetbyID () to create a FeatureSet of the university drive-time polygons (polygon layer within this same map). But if you are not in an evacuation alert area; I would like it to. To calculate new values for a layer’s field, click the field name in the feature table in the item’s data tab and select Calculate. In the Contents pane, right-click the feature class and click Configure Pop-ups to open the Configure Pop-ups pane. Attribute rule script expression examples. Default Value: system. About FeatureSetByName in ArcGIS docs. If a field calculation in Arcade errors out it locks up the SmartForm and refuses to allow the user to submit the feature because having a. The field is composed of two section : text and number like this (PAT0001 -> PAT (text) and 0001 (numbe. Arcade elements are listed using the code symbol – </> – and titled Arcade. Procedure. Procedure. I am testing the feasibility of the Address Management Solution for my agency. var. It can perform mathematical calculations, manipulate text, and evaluate logical statements. This method requires a layer, a view instance, and two fields. The script should return a Boolean with true indicating the feature meets the constraint criteria or false indicating it does. Each Location has a unique name. I have a number of features with a text field called "Is an Issue Flagged?". For example, assume you enable binning on a point layer representing cities that has a POPULATION field on the layer. Arcade and Attribute Rules FeatureSetByName. You can create an Arcade expression anywhere you can use a data attribute. Open the map in ArcGIS Online Map Viewer. var myFeature = FeatureSetByName ($selection, "my_polygons") if (myFeature. Function bundle: Data Access. Exception Description; InvalidProfileVariableException: Exception thrown when a profile variable is invalid EvaluationException: Exception thrown when the expression. Arcade would be able to extract whatever other features are beneath the feature the user clicked on, but this won't stop ArcGIS to consult the feature below and apply the same Arcade expression to see what other features it can find. The theme of this release is convenience; the new functions allow you do things that were already possible with Arcade, but can now be done in a more scalable, efficient and intuitive way. Return the new FeatureSet that you just created. Specify a name for Field Name. Replace Related Table Name with the name of the related table, Field Name with. Procedure. What I want is to split the values in the 'split' field which are separated by commas while preserving the original ID of each value. Data access. It runs without. I have a colleague who would like me to develop a field map for her that includes a linear feature called tran. But if I use the code like this: var novy = {. This is used in the context of linear referencing hatching of m-aware lines. Arcade 1. Arcade Error: Geometry type or nulle expected. As you may already know, Arcade is the official ArcGIS scripting language and it is getting more powerful with each release. Introduction Arcade is a portable, lightweight, and secure expression language used to create custom content in ArcGIS applications. This is a question on using ARCADE within Portal for ArcGIS. The script expression is constructed using the Arcade scripting language to control the rule behavior. Use case. The angle is measured in a counter-clockwise direction relative to east. Occasional Contributor III. Parameters. This expression works fine both online/offline. . This method must be called on the MCT. The code I've come up with is below. That script works, but I'm having trouble understanding all the prep work that's involved -- for converting the feature's geometry into an array: Feature —> Geometry —> Text —> Dictionary (type) —> Paths array (array is a key/value pair within dict)Calculate layer fields from related records using Arcade. 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. . a chart or an image) popup element. Hello evrybody, i have somme problème on Arcade statement, i want to insert into a field an expression i have à table that containe a field "code_pat" as texte where i put à unique calculated id. Specifies the type of the value used with the renderer argument. You can use Arcade to style and label your map, create informative. 4 and Enterprise 10. Add the values into the new field. I am using ArcGIS Pro v2. In a dashboard, you can take advantage. I got a FeatureServer with 1 layer and 1 table. Reference the ArcGIS Arcade Version matrix and Release notes for more information. These are the names of two layers in a map EVER_FB_basinshorelines_Merge USGS_GEOL_FloridaBayShoals EVER_FB_basinshorelines_Merge has an attribute field, "Island". A Time data type stores and displays time information as hours, minutes, seconds, and milliseconds (i. Let's say I have location points. Adding the whole Map Image service brings layers in as a grouped layer, which can't be interacted with in the same way. Products ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Data Management Geoprocessing ArcGIS Web AppBuilder ArcGIS. First, set the x-axis by pulling categories from Grouped values and set the Category field to week_of_allocation. The FeatureSetByRelationshipName returns a featureset and you can also loop through all related records to gather a list of data and present that in the pop-up as is described here: Using FeatureSetBy. 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. Hussein Nasser. Since this is a group template for the Current Address template, the feature for Current Address is created. Arcade expressions can process dates. The continue statement in Python returns the control to the beginning of the while loop. It also enables accessing features from other layers in the web map, which you will do later in this tutorial. If you’re stuck, try with the classic FeatureSet method and then swap in the new function. 5/Enterprise 10. Function bundle: Geometry. With the Field Calculation profile, expressions can be written to update a field value based on expression logic. The number of selected records will be listed in the. Parse Error:featuresetbyname is not available. A loop is defined using the for or while keyword. If that is not the case, keep in mind that a valid sql expression to filter the data on global id requires son additional formatting. I started off with the code in the below link and tried to modify it a little to make it work for my. . Head to the "Configure Pop-up" dialog and under "Attribute Expressions" hit the "ADD" button. ; In the Calculate Field dialog box, click Arcade. 6. Evaluate Method (ArcadeEvaluator)—ArcGIS Pro. Refer to ArcGIS Online: Use attribute expressions for steps to do this. 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. 8 (Arcade 1. When running calculations on a field in an attribute table or a standalone table, the ArcGIS Arcade FeatureSetByName () and the FeatureSetByPortalItems () functions allow the retrieval of the values from fields in different tables. In the Expression Builder dialog box, do the following: Optionally, add Title text for the custom expression. 1 Solution. 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. 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. I'll use an ACS household income layer in my example. Solved: Hi I tried to use the new function FeatureSetByName in a Demo ArcGIS Online Map, and got below the errors, featuresetbyname is not available. If you look at the Arcade docs, you'll see that it has no property "shape" that can be accessed that way. is_renderer. Click Add content and choose Related records. 1. Under Label field, click Use expression . Hi. addValue: Number - The value to add to the Date in the given units. GetEnvironment - A debugging function that returns information about the execution context of the expression, including the version of Arcade executing the expression, the Arcade runtime engine, locale, and spatial reference for geometry functions. 08-16-2022 07:47 AM. With this week's update to Arcade and ArcGIS Dashboards, date fields in feature set constructors now just work. 309. With the December update of ArcGIS Online, the ability to reference other layers using Arcade Expressions in Pop-Ups was introduced. If you are, however, a coding wizard, A. Reply. Snippet below. The number of point features within the polygon features is displayed in the attribute table of the polygon feature class. The FeatureSet needs to have its geometry type and all fields defined separately from providing data to it. It also supports multi-statement expressions, variables, and flow control statements. 0. Do an intersect with the current sub sector feature. However FeatureSetByName is used in the arcade expressions. The latter works as expected. Hello! I am trying to return the alias field name rather the the actual field name for a pop-up in a hosted feature layer in Arcade. The script expression is constructed using the Arcade scripting language to control the rule behavior. There is not a TableSetByName or anything like that. Generally, if the Arcade context's profile involves a map, or features originating from a map, the value of View. I have figured out how to Count the meters contained in the "zone" as shown below in the map with the pop-up, but I also want to display the total of the field "Consumption" of all the meters contained in that polygon/zone. Hello, I am using the arcade expressions for a popup feature for emergency statuses. field_name == "text 1") { return variable1 } else if (myFeature. configure a point layer's pop-up to display data from a related table. Example. Run. For. ArcGIS Arcade - FeatureSet type. I'm trying to configure a popup for a polygon feature class so that when clicked attributes from a point feature class show up. To create a sequence to reference in. To add a new Arcade content block, click Add content and choose Arcade. 163. 0. Can anyone see what the problem might be with this line of code. Open the map in Map Viewer Classic, click Details, and click Contents. 4. I've been trying to make this work in Arcade, but can't exactly figure out how. field_name ==. 03-20-2023 12:24 PM. I've only just started messing with Arcade, but to me everything seems to be ok, it's just not recognizing the feature set name for some reason. Kendall County GIS. 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. . Yes, spatial relations of some types can be calculated using Python. That is not correct. Before we go further, I think the single most important piece of advice with Arcade is to. To create a data expression, complete the following steps: Create a dashboard or open an existing dashboard. ArcGIS Online Basemaps: description: This group features a variety of basemaps that can be accessed from ArcGIS Online. Sign in to your ArcGIS Online account. Use this expression, edit the polygon feature class's name (first line) and the name field (last line): // load the. Introduction. Query features on a map using an Arcade expression. . 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. ; In the Configure Pop-up pane, configure the pop-up settings as desired. Some Arcade functions are released with a specific Arcade version. ; In the Calculate Field dialog box, click. The Help tab opens the Arcade help webpage. I am trying to use a similar approach that have been suggested by Xander Bakker to use the‌ Filter function to get an array to use later in a chart. Implicit casting. 1 Answer. e. In the Pop-ups pane, click Fields list > Select fields. Use FeatureSetbyID () to create a FeatureSet of the university drive-time polygons (polygon layer within this same map). The faster performance is especially noticeable in very large layers. I have polygon layer and related tables that are related based on these fields: (Global_ID=ReferenceID) In the attribute table for the related table, I'd like to return a field value from related polygon layer Thank you in advance!! Arcade Expression - intersecting feature sets with overlapping/split attribute options. There is an example of how to use it here: Attribute rule script expression examples—ArcGIS Pro | Documentation Here's the solution, scrap the Arcade Filter() function, it simply does not work with globalid while offline. Hi pigili_sreenivasarao ,. // In your map, you can then hide the features where ShowFeature = 0, either // via a definition query or via the symbology settings. It would have helped if the article from @PaulBarker covered it needs to be a Arcade element and not a chart. 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. You can view sample data expressions to help you get started. 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. How do you create an Arcade expression to reach out into other layers in the map to calculate values from another layer's features. ; Loading a new feature class into a FeatureSet will not overwrite the original feature class. I'm new to Arcade expressions. Upper/Lower case globalid wasn't the issue, both FM and map viewer. The code snippet below creates a FeatureSet using the Filter () function and that is passed into Count (), finally you return the result, in my. You can create a field named POPULATION_SUM that calculates the sum of. 説明. I. Arcade - Pull Attributes From Multiple Layers In M. There are a number of attribute rules embedded upon the feature classes that populate fields upon editing. Arcade can save hours that would otherwise be spent updating or processing data. 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. A profile defines the environment and rules for how an Arcade expression is evaluated and interpreted. Arcade is a portable, lightweight, and secure expression language used to create custom content in ArcGIS applications. I would like to configure the popup for "SS Parcels" to also display the zoning code from "SS Zoning". Though, after I add an expression to a layer's form and go over to the mobile application, the layer. ; The Functions tabs lists all the Arcade functions. 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. This is extremely powerful for two main reasons: you don’t need to own the layer, and you don’t have to add the layer into your map. arcgis. 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. I am trying to create an attribute rule in ArcGIS Pro that creates an ID for the feature when it is created as well as choose features with '::' leading the ID and assign a new unique ID. subtype ( Optional ): Number | Text - The coded number or name for the subtype if the feature supports subtyping. With this week's update to Arcade and ArcGIS Dashboards, date fields in feature set constructors now just work. New functions. When the script is evaluated, the return value is cast to the field type of the output value. You'll first review its components. Create an array to hold your lake values, then use Concatenate to format your output string. 7. This blog is going to outline a quick example about. This blog is going to outline a quick. The formula for percentile for. Procedure. Having to do a DateDiff for each date field seems overly complicated. This way, if there // are multiple feature in the same location, only the most recently added // feature is shown. For arrays, dictionaries, and geometry types, comparisons are a pointer check to see if they are the same object. Pushing the limits of Arcade in dashboards. 163. Arcade is a flexible expression language that allows you to work with data in real time in ArcGIS. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have There does not seem to be an Arcade group for some reason so trying here. With ArcGIS Pro 2. 0). All Arcade expressions must return a value. You also make sure that the layer you are using (featureSetByName) loads successfully in Field Maps. Answer. Then I tried Arcade is a portable, lightweight, secure expression language used to create custom content in ArcGIS applications. FeatureSet functions. The November 2022 update of the ArcGIS Online Map Viewer added support for binning as an alternative to clustering and heat maps. In ArcGIS Pro 2. This post will demonstrate how you can use Arcade to create dynamic popup elements summarizing. Like other expression languages, you can use it to perform mathematical calculations, manipulate text, evaluate logical statements, and now with the latest update of ArcGIS Online, you can use FeatureSet functions inside the form builder. Attribute Rules are scripts that can be added to a dataset and executed on certain events such as when a feature is inserted, updated or deleted. Creates a FeatureSet from a Feature Layer based on its name within a map or feature service. The following are examples of script expressions for calculation, constraint, and validation attribute rules. Profile overview. In the first line, replace POLYGON_LAYER with the name of the polygon layer. Instead of:Generate a relationship renderer for a SceneLayer. Script expression for using a sequence named assetid_seq in a file geodatabase: return "Tx-" + NextSequenceValue ('assetid_seq') Script expression for using a sequence owned by the map user named assetid_seq in an enterprise geodatabase: return "Tx. Here is how you can use it. This expression will: Access the Hydrants layer. There is an example of how to use it here: Attribute rule script. An Arcade profile specifies: the execution context - or the environment controlling the expression's execution, the profile variables that can be used as input data values to the expression, the function bundles available, and. So far I have found a lot of examples online of using Arcade FeatureSetByName to call one layer that intersects a polygon layer. Select New Rule and enter the Rule Name. ArcGIS Arcade was introduced to the ArcGIS platform back in 2016 but is somewhat of a hidden gem. Jeff Shaner. Click Expressions to create a new Arcade expression. Refer to ArcGIS Online: Add a field for more information. by KellyGerrow. Add a field with a String data type to the layer. Arcade is a lightweight and secure expression language written for use with ArcGIS. ArcGIS Arcade is an expression language that transforms data on the fly to create meaningful labels, symbology, and pop-ups. I'd like to (eventually) create a WebApp to show the number of points inside each municipality, but that point layer is going to be constantly updated (most likely each week). On the Settings (light) toolbar, click Labels . Since version: 1. The aggregation panel in the map viewer allows you to define aggregate fields summarizing the features contained within a bin based on a set of statistics. Then use this FeatureSet in the script. Connect people, locations, and data using interactive maps. #assign ta. Data Management February 07, 2020. 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. Keeps from having an extra newline character when there's only one value. In Part 1 of this series, we introduced FeatureSets as a way to work with other layers within your map to make more expressive pop-ups by writing just a few lines of code. 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. . 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. 03-20-2023 12:24 PM. Hi, I have a feature class with calculation attribute rules set up. Since version 1. Check out the help documentation to understand the different parameters for this function. Solved! Overlapping Features in Pop-Ups Quick Introduction to Using FeatureSets with Arcade. What’s new with Arcade: Taking a stroll through FeatureSets (Part 1) Mapping December 12, 2018. You ask some good questions @XanderBakker I guess I am trying to get used to these Arcade expressions and am using the Clip function as an example. You can also use Arcade expressions to enhance. Calculations are performed when analysis is run on your ArcGIS. For example, I would like to publish an address service to my Portal and whe. These polygons will be the geometry being intersected. 0. The best way to do this would be to use the "Custom Pop-up" and arcade functions within ArcGIS Online. An immediate calculation rule is created on the assetID field in the transformer feature class and is triggered on insert edit operations. 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. . Thanks for that. In ArcGIS Online or Portal for ArcGIS Map Viewer, open the web map containing the features. The function FeatureSetByName() points to the web map as the first argument. The new editor was introduced in the November 2022 release of ArcGIS Online and brought many powerful new features to enhance your experience with writing Arcade. 22 of the ArcGIS API for JavaScript (ArcGIS JS API), you can summarize point clusters in more detail using Arcade expressions in popups. the profile variables that can be used as input data values to the expression, the function bundles available, and. 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. . If the number of fields in the data is large, click the. 4 and Enterprise 10. I want to return a feature via a given attribute (in this case, it's globalID) and then get one of it's field's value to. Query features on a map using an Arcade expression. attribute. ArcGIS creates a new record in the related table, puts the feature's ID in the field. Any other approaches to overcome the problem outlined above would be greatly appreciated. You are right to asume that a FeatureSet is returned which will have 0 features if there are no records in the related table. Since version 1. I am trying to optimized my arcade var Overlay = Intersects(FeatureSetByName. 12-10-2018 11:08 AM. Time. For example, suppose you authored an expression based on numeric data and classified it into categories. The old Arcade playground. 57895. Navigate to the Expression box to add a custom Arcade expression. 7. Hi, I'm using FeatureSetByID in an arcade expression to display attribute data from a related layer in my pop-ups and in the attribute table. Hi, Can anyone see what the problem might be with this line of code. 11 Function bundle: Core Returns. Workflow for data expression in Arcade - generate elements from concatenated fields. When editing a polygon in the district boundaries feature class, this attribute rule updates any intersecting address. Arcade can be used in ArcGIS Dashboards for advanced formatting in list elements, indicator elements and table elements. job_wo myFeature["job_wo"] However I get a: Execution Error:Runtime Error: Cannot call member property on object of this type. You can add a name for your expression and optionally set a refresh interval if you are working with regularly updating data. ArcGIS Pro ArcGIS Survey123 ArcGIS Online ArcGIS Enterprise Geoprocessing ArcGIS Web AppBuilder ArcGIS Experience Builder ArcGIS Dashboards ArcGIS CityEngine. I am not sure how to return the fields for the popup window? my code so far is. How can I use Arcade in both the Symbology and the Pop-up to display a summary of the total tons de. I'm trying to use Arcade to display table information in a Popup from 2 different layers in the same map. 1. In this example, the rule name is New Rule. - Justin Reynolds, PE Reply. Dictionary (inputGeometry) -> Dictionary. Type the following expression in the expression box. Easy. Hi! I need help with Arcade expression. The == and != operators don't do any coercion of types. 9 were displaying Upper case. On the Settings (light) toolbar, click Pop-ups. I have dataset and I would like to generate dashboard elements based on the concatenation of two fields. ArcGIS Arcade is a portable, lightweight, and secure expression language. The expression returns a value for each feature in the track. This sample demonstrates how to access other features from a layer using the FeatureSet capabilities available in Arcade expressions. When you create an attribute rule, a script expression is used as the foundation of the rule. Hi. 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. This is a question on using ARCADE within Portal for ArcGIS. Example: var sql = "parentglobalid = ' {" + Upper (codeCan anyone help with an Arcade expression to calculate a new field in a point dataset based on whether or not each point feature is within a polygon dataset in ArcGIS Pro ModelBuilder? I have a point dataset of CRM reports, and I want to indicate whether or not each point falls within the 1 in 100 year flood zone. I've used the GetUser(Portal(' ')) to populate the user id, username, name, email etc. (The default value is None) String. Open the layer and explore the content you want to bring into your pop-up. You can use Arcade to style and label your map. 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. Data expressions can be created to power data-driven elements in your dashboard. I just nothing back from it.