{"id":76682,"date":"2019-02-06T13:34:20","date_gmt":"2019-02-06T21:34:20","guid":{"rendered":"https:\/\/www.esri.com\/about\/newsroom\/?post_type=arcuser&#038;p=76682"},"modified":"2024-08-02T15:35:06","modified_gmt":"2024-08-02T22:35:06","slug":"why-you-need-and-want-arcade","status":"publish","type":"arcuser","link":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade","title":{"rendered":"Why You Need (and Want) Arcade"},"author":1432,"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":[10832,25022],"tags":[178702,281,1281],"arcuser_issues":[47772],"class_list":["post-76682","arcuser","type-arcuser","status-publish","format-standard","hentry","category-developer-technology","category-hands-on","tag-analysis","tag-location-intelligence","tag-visualization","arcuser_issues-spring-2017"],"acf":{"short_description":"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.","pdf":{"host_remotely":false,"file":76712,"file_url":""},"flexible_content":[{"acf_fc_layout":"content","content":"If you aren't yet familiar with Esri's new scripting language ArcGIS Arcade, you may be thinking, why do I need another scripting language? The short answer is that you may not need Arcade, but once you find out all the nifty things you can do with this simple expression language, you are going to want to use (and reuse) it."},{"acf_fc_layout":"image","image":76692,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"Arcade is not a full programming or scripting language for creating stand-alone apps. It is not a replacement for automation.\r\n\r\nIt is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling. Think of it more like a spreadsheet formula.\r\n\r\nBecause the ArcGIS platform is all about sharing\u2014it runs on everything from desktops to mobile devices\u2014coming up with an expression language that could run across the platform was challenging. To run on mobile devices, the language had to be lightweight. It also had to be secure. Some fully functional scripting languages introduce security issues.\r\n\r\nTo meet these requirements, Esri developed Arcade. Named for the covered passageway, not the video game haven, Arcade follows in the Esri tradition of naming scripting languages after streets and roads (like Avenue) and including an Arc in the name.\r\n\r\nThe result is a focused, secure, and portable language. An Arcade expression cannot be injected with executable code outside of its intended context. With Arcade, you can create expressions you can use without modification across the ArcGIS platform in ArcGIS Pro, ArcGIS Online, and applications developed with the ArcGIS Runtime SDKs and the ArcGIS API for JavaScript. For example, you could base visualizations off values returned from custom calculations in ArcGIS Pro, save them as web map items, and share those custom visualizations so that they can be consumed by other web, desktop, and mobile applications."},{"acf_fc_layout":"image","image":76702,"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"With Arcade, you can easily perform calculations with layer fields and use the result for label expressions or data-driven visualizations. This means that when you are making a map and the layer you are using doesn't contain the exact attribute field you need, you can generate that data on the fly without editing source data, adding a field, or permanently calculating values.\r\n\r\nWith this capability, you can turn counts into percentages, derive new values from provided data, and otherwise turn the raw data behind your map features into information for your map reader. Arcade expressions can also set rendering properties such as transparency and rotation. This is especially useful for ArcGIS Online maps. Simply choose Change Style &gt; New Expression, and construct your expression in the scripting window.\r\n\r\nArcade is purposefully simple. Instead of the many programming constructs found in other languages, it has a rich library of data, logical, mathematical, geometry, date, and text functions that make it easy to do complex calculations. The Arcade team at Esri will continue to extend the language with requested functions that meet use case needs.\r\n\r\nBecause it is case insensitive, it does not matter if you mix the case of variable and function names. Arcade's type system implicitly casts between types where appropriate using a predefined set of rules.\r\n\r\nUse Arcade for single-line or multiline expressions. Either way, it will return the last statement even if the keyword return is not used (except in the case of custom functions). With Arcade, geospatial is a first-class citizen. Geometries can be created and referenced. Arcade has profiles for visualization, labeling, and alias. A profile is the context in which an Arcade expression is evaluated. Each profile expects different inputs and produces different outputs.\r\n\r\nThere are\u00a0<a href=\"http:\/\/developers.arcgis.com\/arcade\/\">lots of resources<\/a>\u00a0for learning Arcade. In addition to the guide and function reference, the site has a playground section for testing and fooling around with Arcade expressions. Visit the site today and start learning Arcade, a simple-to-write and quick-running language that will help you easily create more powerful information products."}],"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>Why You Need (and Want) Arcade | Spring 2017 | ArcUser<\/title>\n<meta name=\"description\" content=\"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.\" \/>\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\/arcuser\/why-you-need-and-want-arcade\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why You Need (and Want) Arcade\" \/>\n<meta property=\"og:description\" content=\"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade\" \/>\n<meta property=\"og:site_name\" content=\"Esri\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-02T22:35:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2019\/09\/topography-dark-grey-card.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Esri\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\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\/arcuser\/why-you-need-and-want-arcade\",\n\t            \"url\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade\",\n\t            \"name\": \"Why You Need (and Want) Arcade | Spring 2017 | ArcUser\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/#website\"\n\t            },\n\t            \"datePublished\": \"2019-02-06T21:34:20+00:00\",\n\t            \"dateModified\": \"2024-08-02T22:35:06+00:00\",\n\t            \"description\": \"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.\",\n\t            \"breadcrumb\": {\n\t                \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade#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\/arcuser\/why-you-need-and-want-arcade\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"BreadcrumbList\",\n\t            \"@id\": \"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade#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\": \"Why You Need (and Want) Arcade\"\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\/b7332d419608ac1a0291ec30de119efb\",\n\t            \"name\": \"April Mann\",\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\/28d21cf04453f95cd2d8a0f053e5cd18ccf684320f6a4974f358b8109264e80b?s=96&d=blank&r=g\",\n\t                \"contentUrl\": \"https:\/\/secure.gravatar.com\/avatar\/28d21cf04453f95cd2d8a0f053e5cd18ccf684320f6a4974f358b8109264e80b?s=96&d=blank&r=g\",\n\t                \"caption\": \"April Mann\"\n\t            },\n\t            \"url\": \"\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Why You Need (and Want) Arcade | Spring 2017 | ArcUser","description":"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.","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\/arcuser\/why-you-need-and-want-arcade","og_locale":"en_US","og_type":"article","og_title":"Why You Need (and Want) Arcade","og_description":"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.","og_url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade","og_site_name":"Esri","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-08-02T22:35:06+00:00","og_image":[{"url":"https:\/\/www.esri.com\/about\/newsroom\/app\/uploads\/2019\/09\/topography-dark-grey-card.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@Esri","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade","url":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade","name":"Why You Need (and Want) Arcade | Spring 2017 | ArcUser","isPartOf":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/#website"},"datePublished":"2019-02-06T21:34:20+00:00","dateModified":"2024-08-02T22:35:06+00:00","description":"[Arcade] is a focused, intuitive, and JavaScript-like language for creating expressions that customize visualization and labeling.","breadcrumb":{"@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/about\/newsroom\/arcuser\/why-you-need-and-want-arcade#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/about\/newsroom"},{"@type":"ListItem","position":2,"name":"Why You Need (and Want) Arcade"}]},{"@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\/b7332d419608ac1a0291ec30de119efb","name":"April Mann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/about\/newsroom\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/28d21cf04453f95cd2d8a0f053e5cd18ccf684320f6a4974f358b8109264e80b?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28d21cf04453f95cd2d8a0f053e5cd18ccf684320f6a4974f358b8109264e80b?s=96&d=blank&r=g","caption":"April Mann"},"url":""}]}},"sort_order":"0","_links":{"self":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/76682","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser"}],"about":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/types\/arcuser"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/users\/1432"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser\/76682\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/media?parent=76682"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/categories?post=76682"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/tags?post=76682"},{"taxonomy":"arcuser_issues","embeddable":true,"href":"https:\/\/www.esri.com\/about\/newsroom\/wp-json\/wp\/v2\/arcuser_issues?post=76682"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}