{"id":503432,"date":"2022-04-05T19:59:13","date_gmt":"2022-04-06T02:59:13","guid":{"rendered":"https:\/\/www.esri.com\/about\/newsroom\/?post_type=arcnews&#038;p=503432"},"modified":"2022-04-05T08:54:06","modified_gmt":"2022-04-05T15:54:06","slug":"try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","status":"publish","type":"arcnews","link":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","title":{"rendered":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online"},"author":5752,"featured_media":0,"menu_order":0,"template":"","format":"standard","meta":{"_acf_changed":false,"sync_status":"","episode_type":"","audio_file":"","castos_file_data":"","podmotor_file_id":"","cover_image":"","cover_image_id":"","duration":"","filesize":"","filesize_raw":"","date_recorded":"","explicit":"","block":"","itunes_episode_number":"","itunes_title":"","itunes_season_number":"","itunes_episode_type":"","_links_to":"","_links_to_target":""},"categories":[10532,10392,10842],"tags":[322942,411322,35342,1281,282572],"arcnews_issues":[478332],"class_list":["post-503432","arcnews","type-arcnews","status-publish","format-standard","hentry","category-arcgis-arcade","category-arcgis-online","category-data","tag-coding","tag-pop-ups","tag-scripting","tag-visualization","tag-workflows","arcnews_issues-spring-2022","arcnews_sections-esri-technology"],"acf":{"short_description":"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.","pdf":{"host_remotely":false,"file":"","file_url":""},"flexible_content":[{"acf_fc_layout":"content","content":"ArcGIS Arcade has grown and matured throughout the ArcGIS system over the past few years. This expression language, created by Esri, allows users to write equations that take data, evaluate it, and return results that the map then treats like any other attribute. In its simplest form, users can think of Arcade as an in-map calculator that resembles the Microsoft Excel experience of creating a formula.\r\n\r\nWhile ArcGIS Online supports multiple scripting languages, Arcade is unique. It is geospatial, lightweight, secure, dynamic, and portable across ArcGIS. This means that Arcade can quickly become a key part of efficient workflows in ArcGIS Online."},{"acf_fc_layout":"image","image":503442,"image_position":"right","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>A Unique, Dynamic Scripting Language<\/h2>\r\nWith Arcade, users can create expressions that include spatial operations\u2014functions that generate spatial data from specified input data\u2014like buffers. Arcade understands geometry, features, layers, and maps. Expressions execute quickly, and Arcade works equally well on mobile devices and desktop computers.\r\n\r\nUnlike other scripting languages, Arcade doesn\u2019t require big libraries for the expressions to work. It is also a self-contained scripting language, meaning users can only execute it within specific contexts of the ArcGIS system. This guards it from being injected with malicious code.\r\n\r\nOne of the key benefits of Arcade is that it is portable in two ways. First, users can write an expression once and use it across the ArcGIS system, including in ArcGIS Pro, the ArcGIS Runtime SDKs, ArcGIS API for JavaScript, ArcGIS Online, and many apps. Existing expressions are accessible in the Arcade editor and autopopulate into the expression window when selected. Second, expressions are honored in downstream applications because expressions are stored within the map. For example, an expression written to customize a pop-up in a web map will also appear when the map is added to, say, ArcGIS StoryMaps.\r\n\r\nArcade expressions are dynamic, which is ideal for a world filled with live feeds and web layers that continually get updated. The scripting language adapts to changing data, so users don\u2019t need to perform additional configurations and calculations. Whenever a viewer loads a map, Arcade calculates the values from the expression on the fly, delivering results that reflect the latest features and attributes."},{"acf_fc_layout":"image","image":503452,"image_position":"left","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"The Coral Reefs at Risk of Bleaching dashboard in ArcGIS Living Atlas of the World is a great example of how dynamic Arcade expressions work. The dashboard includes a live feed layer with daily updated data from the National Oceanic and Atmospheric Administration (NOAA) that shows coral reefs around the world experiencing heat stress. Arcade expressions define the layer\u2019s visualization and pop-ups so the color of the points on the map and the text within the pop-ups correspond to concern levels (e.g., no alert, watch, warning, alert level 1, and alert level 2) that are defined by the latest conditions."},{"acf_fc_layout":"content","content":"<h2>Several Ways to Simplify Complicated Workflows<\/h2>\r\nUsers who are familiar with traditional, more manual workflows may be surprised by how powerful and smooth Arcade is. It releases users from some of the constrictions that make it difficult to work with numerous data sources and increases the options available for presenting data on maps, in pop-ups, and more.\r\n\r\nTake a look at several ways Arcade can simplify complicated workflows in ArcGIS Online.\r\n<h3>Freedom from Constraints<\/h3>\r\nTo understand the freedom Arcade provides, consider the following scenario. A map author wants to use a layer from a trusted source, but she needs one field formatted differently, plus one additional field. Historically, she would have had to contact the layer\u2019s owner and ask him to update the layer\u2014and hope that he agreed to do so. Arcade overcomes this challenge by giving users the ability to customize and calculate new data values themselves without editing the database. Because nothing is being written to the database, users don\u2019t need owner capabilities.\r\n<h3>More Options for Visualization<\/h3>\r\nWith Arcade, users can transform data to make distinctive and informative symbols and layers. Based on a calculated field, users can resize, rotate, and set transparency for the symbols in their maps to better fit a map\u2019s scale or represent a particular field. Symbols can also be rotated to indicate direction or status."},{"acf_fc_layout":"image","image":503462,"image_position":"right","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"To create and customize labels with Arcade, users can define label classes, combine fields, and alter text. Label classes employ Arcade expressions to designate values, such as lowest and highest home values. If the data that needs to be showcased in a label is spread across multiple fields, users can employ Arcade to combine them. For instance, if a label reads \u201cred star,\u201d the color can come from one field and the shape from another. Additionally, Arcade can help users alter the text in a label\u2014to add commas and units of measurement, for example, or replace title case with sentence case.\r\n<h3>The Power of Data-Driven Pop-Ups<\/h3>\r\nPop-ups are little windows into additional information. With Arcade, users can deftly turn a default table of elements into an informative, data-driven pop-up. They can even incorporate data from other layers, including layers they don\u2019t own and layers that aren\u2019t in the map.\r\n\r\nArcade performs calculations to bring information from overlapping layers into one pop-up. These more cohesive pop-ups can display information about fields that have intersecting locations, rather than making users toggle through multiple pop-ups in a single location. This could be helpful, for example, if a user wants to display the names of elementary, middle, and high schools along with building footprint information, such as the year each building was constructed.\r\n<h3>Dynamic, On-the-Fly Calculations<\/h3>\r\nInstead of making users add fields to a database, Arcade performs dynamic data calculations on the fly, saving users time and allowing them to explore data in new ways. Arcade can convert field types, calculate new fields, get statistics for a layer, perform spatial calculations, and create categories from numbers.\r\n\r\nWith just a few lines of code written in a map, Arcade can take values that are stored in a text field and quickly transform them into numbers, making it possible to visualize this data even if it\u2019s formatted incorrectly in the table. Expressions can also be used to quickly and easily convert, say, height from meters to feet."},{"acf_fc_layout":"image","image":503472,"image_position":"left","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"Users can also write expressions to calculate percentages, ratios, absolute values, and more. This is useful, for instance, when someone has data on the number of households in a city that don\u2019t own a vehicle but wants to show this as a percentage of total households instead, which can be a more effective way of looking at the data.\r\n\r\nArcade also makes it easier to display statistics for a layer, such as the sum, count, average, and standard deviation. For example, users can calculate the count of each type of tree within a layer to determine the most common tree species in a neighborhood. Arcade performs geometry-based functions as well, such as calculating population density, buffers, intersects, and contains. The scripting language enables users to perform spatial joins and do geoprocessing with layers outside their maps, dynamically, in real time.\r\n\r\nIn addition, users can employ Arcade expressions to turn numeric values into categories. Imagine, for instance, that an employee at a mobility company is tasked with charging electric scooters. To quickly visualize which scooters need to be charged first, the employee could convert the battery level field from a numeric value into categories such as Charge Immediately for scooters with less than 50 percent battery, Charge When Able for scooters with batteries at 50\u201390 percent, and Fully Charged for scooters with batteries that are more than 90 percent charged."},{"acf_fc_layout":"content","content":"<hr \/>\r\n\r\nWith its ability to transform data nimbly and dynamically into impactful visualizations, Arcade can become a key part of anyone\u2019s efficient workflows in ArcGIS Online. To learn more about using Arcade in ArcGIS Online, visit <a href=\"https:\/\/www.esri.com\/arcgis-blog\/?s=#arcade&amp;products=arcgis-online\"><em>ArcGIS Blog<\/em><\/a>."}],"references":null},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022<\/title>\n<meta name=\"description\" content=\"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022\" \/>\n<meta property=\"og:description\" content=\"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online\" \/>\n<meta property=\"og:site_name\" content=\"Esri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/06\/Arcnews-banner-ArcGISOnline-wide.jpg\" \/><meta property=\"og:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/06\/Arcnews-banner-ArcGISOnline-wide.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"824\" \/>\n\t<meta property=\"og:image:height\" content=\"565\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022\" \/>\n<meta name=\"twitter:description\" content=\"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2022\/03\/arcnews-article-tryusing-2.jpg\" \/>\n<meta name=\"twitter:site\" content=\"@Esri\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\/\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online\",\n\t            \"name\": \"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\"\n\t            },\n\t            \"datePublished\": \"2022-04-06T02:59:13+00:00\",\n\t            \"description\": \"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online#breadcrumb\"\n\t            },\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online#breadcrumb\",\n\t            \"itemListElement\": [\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 1,\n\t                    \"name\": \"Home\",\n\t                    \"item\": \"https:\/\/www.esri.com\/about\/newsroom\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 2,\n\t                    \"name\": \"ArcNews Articles\",\n\t                    \"item\": \"https:\/\/www.esri.com\/about\/newsroom\/arcnews\"\n\t                },\n\t                {\n\t                    \"@type\": \"ListItem\",\n\t                    \"position\": 3,\n\t                    \"name\": \"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online\"\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/\",\n\t            \"name\": \"Esri\",\n\t            \"description\": \"Esri Newsroom\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/41c803b2ea8734c36f9c4e9586d1449d\",\n\t            \"name\": \"Amy Ambard\",\n\t            \"image\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/\",\n\t                \"url\": \"https:\/\/secure.gravatar.com\/avatar\/f356480172f8ad0bc8d72b855e84171c52f1944c7c7779f3e425d73bf3efa3c7?s=96&d=blank&r=g\",\n\t                \"contentUrl\": \"https:\/\/secure.gravatar.com\/avatar\/f356480172f8ad0bc8d72b855e84171c52f1944c7c7779f3e425d73bf3efa3c7?s=96&d=blank&r=g\",\n\t                \"caption\": \"Amy Ambard\"\n\t            },\n\t            \"url\": \"\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022","description":"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","og_locale":"en_US","og_type":"article","og_title":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022","og_description":"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.","og_url":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","og_site_name":"Esri","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","og_image":[{"url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/06\/Arcnews-banner-ArcGISOnline-wide.jpg","type":"","width":"","height":""},{"width":824,"height":565,"url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2018\/06\/Arcnews-banner-ArcGISOnline-wide.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_title":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022","twitter_description":"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.","twitter_image":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2022\/03\/arcnews-article-tryusing-2.jpg","twitter_site":"@Esri","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","url":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online","name":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online | ArcNews | Spring 2022","isPartOf":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/#website"},"datePublished":"2022-04-06T02:59:13+00:00","description":"With its ability to nimbly transform data into impactful visualizations, the scripting language can be a key part of efficient workflows.","breadcrumb":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcnews\/try-using-arcgis-arcade-to-enhance-workflows-in-arcgis-online#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/about\/newsroom"},{"@type":"ListItem","position":2,"name":"ArcNews Articles","item":"https:\/\/www.esri.com\/about\/newsroom\/arcnews"},{"@type":"ListItem","position":3,"name":"Try Using ArcGIS Arcade to Enhance Workflows in ArcGIS Online"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/about\/newsroom\/#website","url":"https:\/\/www.esri.com\/about\/newsroom\/","name":"Esri","description":"Esri Newsroom","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/about\/newsroom\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/41c803b2ea8734c36f9c4e9586d1449d","name":"Amy Ambard","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/f356480172f8ad0bc8d72b855e84171c52f1944c7c7779f3e425d73bf3efa3c7?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f356480172f8ad0bc8d72b855e84171c52f1944c7c7779f3e425d73bf3efa3c7?s=96&d=blank&r=g","caption":"Amy Ambard"},"url":""}]}},"sort_order":"6","_links":{"self":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcnews\/503432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcnews"}],"about":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/types\/arcnews"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/users\/5752"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcnews\/503432\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/media?parent=503432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/categories?post=503432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/tags?post=503432"},{"taxonomy":"arcnews_issues","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcnews_issues?post=503432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}