{"id":878991,"date":"2020-06-10T11:11:30","date_gmt":"2020-06-10T18:11:30","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=878991"},"modified":"2024-11-01T00:17:42","modified_gmt":"2024-11-01T07:17:42","slug":"your-arcade-questions-answered","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered","title":{"rendered":"Your Arcade Questions Answered"},"author":6461,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[777102,23851],"tags":[32551,673891,230422,611331,176452],"industry":[],"product":[36571,36831,36551,36561],"class_list":["post-878991","blog","type-blog","status-publish","format-standard","hentry","category-arcade","category-data-management","tag-arcade","tag-arcgis-arcade","tag-data","tag-expression","tag-mapping","product-arcgis-enterprise","product-js-api-arcgis","product-arcgis-online","product-arcgis-pro"],"acf":{"short_description":"Are you starting to learn how to use Arcade in your maps? If so, you might want to check out these commonly asked questions. ","flexible_content":[{"acf_fc_layout":"content","content":"<p><span data-contrast=\"none\">ArcGIS Arcade was introduced\u00a0<\/span><span data-contrast=\"none\">to the ArcGIS platform back in\u00a0<\/span><span data-contrast=\"none\">2016 but<\/span><span data-contrast=\"none\">\u00a0is somewhat of a hidden gem. For those who have used it,\u00a0<\/span><span data-contrast=\"none\">t<\/span><span data-contrast=\"none\">here&#8217;<\/span><span data-contrast=\"none\">s no secret that\u00a0<\/span><span data-contrast=\"none\">it\u00a0<\/span><span data-contrast=\"none\">is changing the way people make their maps and work with data.\u00a0<\/span><span data-contrast=\"none\">What is incredible, is that y<\/span><span data-contrast=\"none\">ou don\u2019t have to be a \u201ccoder\u201d to do amazing things with Arcade. If you are, however, a coding wizard, A<\/span><span data-contrast=\"none\">rcade is a powerful way to enhance your maps in new ways.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"none\">I\u00a0<\/span><span data-contrast=\"none\">regularly\u00a0<\/span><span data-contrast=\"none\">get questions about Arcade and what it can do.<\/span><span data-contrast=\"none\">\u00a0This made me realize that many people\u00a0<\/span><span data-contrast=\"none\">might\u00a0<\/span><span data-contrast=\"none\">have similar questions, so a ton of my Arcade wizard teammates and I compiled the most common questions we get about Arcade.<\/span><span data-contrast=\"none\">\u00a0While there are\u00a0<\/span><a href=\"https:\/\/www.esri.com\/arcgis-blog\/?s=#arcade\"><span data-contrast=\"none\">blogs<\/span><\/a><span data-contrast=\"none\">,<\/span><span data-contrast=\"none\">\u00a0<\/span><a href=\"https:\/\/learn.arcgis.com\/en\/paths\/try-arcade\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Learn resources<\/span><\/a><span data-contrast=\"none\">, and\u00a0<\/span><a href=\"https:\/\/developers.arcgis.com\/arcade\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">documentation pages<\/span><\/a><span data-contrast=\"none\">\u00a0to get you started, not everyone has the time to spend on tutorials.<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">In this article, my fellow Arcade enthusiast Gee <\/span><span data-contrast=\"none\">Fe<\/span><span data-contrast=\"none\">rnando<\/span><span data-contrast=\"none\">\u00a0and I offer easy-to-understand answers<\/span><span data-contrast=\"none\">\u00a0and examples<\/span><span data-contrast=\"none\">\u00a0to the<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">questions<\/span><span data-contrast=\"none\">\u00a0we get the most<\/span><span data-contrast=\"none\">. Feel\u00a0<\/span><span data-contrast=\"none\">free to use this resource if you are just getting started with Arcade, or if you are familiar with Arcade and have some nagging questions. <\/span><span data-contrast=\"auto\">You can also find the official\u00a0<\/span><span data-contrast=\"auto\">ArcGIS\u00a0<\/span><span data-contrast=\"auto\">Arcade FAQ\u00a0<\/span><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/faq\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">here<\/span><\/a><span data-contrast=\"auto\">, which contains some of the same questions<\/span><span data-contrast=\"auto\">.<\/span><span data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335551550&quot;:1,&quot;335551620&quot;:1,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a name=\"menu\"><\/a>Jump to a question:<\/p>\n<ul>\n<li><a href=\"#what-is-arcade\">What exactly is Arcade? <\/a><\/li>\n<li><a href=\"#change-table\">Does Arcade change the underlying data table? <\/a><\/li>\n<li><a href=\"#own-layer\">Do I have to own a layer to use Arcade? <\/a><\/li>\n<li><a href=\"#find-it\">Where do I find Arcade? How can I use it? <\/a><\/li>\n<li><a href=\"#expression\">What is an expression? What does it do? <\/a><\/li>\n<li><a href=\"#expression-window\">I just opened the expression window. What am I seeing exactly? <\/a><\/li>\n<li><a href=\"#compliant\">Is the new Arcade Editor WCAG Compliant? <\/a><\/li>\n<li><a href=\"#global\">What are globals? <\/a><\/li>\n<li><a href=\"#dollar-feature\">What is $feature? <\/a><\/li>\n<li><a href=\"#function\">What do functions do? <\/a><\/li>\n<li><a href=\"#reuse-expression\">Can I reuse an expression I\u2019ve already written? <\/a><\/li>\n<li><a href=\"#examples\">Where can I find examples of Arcade? <\/a><\/li>\n<li><a href=\"#data-changes\">My data changes behind-the-scenes regularly. Will my map show those changes if I use Arcade? <\/a><\/li>\n<li><a href=\"#variables\">Can I create variables? <\/a><\/li>\n<li><a href=\"#return\">I see something about \u201creturns\u201d in the documentation and examples. What does this mean exactly? Do I need to have one? <\/a><\/li>\n<li><a href=\"#debug\">What\u2019s the best way to debug an Arcade expression? <\/a><\/li>\n<li><a href=\"#if-else\">How do I write if\/else logic? <\/a><\/li>\n<li><a href=\"#format\">Can I format text using Arcade?<\/a><\/li>\n<li><a href=\"#newline\">Why isn\u2019t the newline text formatting showing up on my labels? <\/a><\/li>\n<li><a href=\"#nulls\">Is there a way I can handle null values in my popups? <\/a><\/li>\n<li><a href=\"#categories\">How can I turn numeric values into categories? <\/a><\/li>\n<li><a href=\"#convert\">Can I convert field types using Arcade? <\/a><\/li>\n<li><a href=\"#unit\">Can I do a unit conversion with Arcade? <\/a><\/li>\n<li><a href=\"#dates\">Can I work with date fields using Arcade? <\/a><\/li>\n<li><a href=\"#featureset\">What is a FeatureSet?<\/a><\/li>\n<li><a href=\"#related\">Can I work with related tables using Arcade?<\/a><\/li>\n<li><a href=\"#stats\">Can I use Arcade to get the statistics for a layer?<\/a><\/li>\n<li><a href=\"#spatial\">Can I do spatial calculations in Arcade? <\/a><\/li>\n<li><a href=\"#int\">What is the difference between the intersects() and intersection() functions? <\/a><\/li>\n<li><a href=\"#closest\">Can I list the closest locations to a point on my map?<\/a><\/li>\n<li><a href=\"#webapp\">Why does my Arcade expression work in ArcGIS Online but not WebApp Builder?<\/a><\/li>\n<\/ul>\n<p><a name=\"what-is-arcade\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW157590820 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW157590820 BCX0\">What exactly is Arcade?<\/span><\/span><span class=\"EOP SCXW157590820 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW214855246 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW214855246 BCX0\"><a href=\"https:\/\/developers.arcgis.com\/arcade\/\" target=\"_blank\" rel=\"noopener\">ArcGIS Arcade<\/a> is a scripting language that allows you to calculate new data values on-the-fly. Think of it like \u201ccalculate field\u201d but without directly editing your database. What\u2019s really cool about Arcade is that you don\u2019t have to own a layer to do this. This makes it so that you can find layers from ArcGIS Online or ArcGIS Living Atlas and calculate and map completely new things! You also don\u2019t need to be a \u201ccoder\u201d to be able to create powerful calculations.<\/span><\/span><span class=\"TextRun SCXW214855246 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW214855246 BCX0\">\u00a0It has a lot of similarities to Excel for basic functions, but also can be advanced\u00a0<\/span><span class=\"NormalTextRun AdvancedProofingIssueV2 SCXW214855246 BCX0\">similar to<\/span><span class=\"NormalTextRun SCXW214855246 BCX0\">\u00a0JavaScript for when you want to do more.<\/span><\/span><span class=\"EOP SCXW214855246 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"change-table\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW159802209 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW159802209 BCX0\">Does Arcade change the underlying data table?<\/span><\/span><span class=\"EOP SCXW159802209 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW247558271 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW247558271 BCX0\">Arcade allows you to calculate new values on-the-fly, meaning you aren\u2019t <\/span><span class=\"NormalTextRun AdvancedProofingIssueV2 SCXW247558271 BCX0\">actually writing<\/span><span class=\"NormalTextRun SCXW247558271 BCX0\">\u00a0anything to a table. This makes it easy to adjust and try out new things when working with spatial<\/span><\/span><span class=\"TextRun SCXW247558271 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW247558271 BCX0\">\/tabular\u00a0<\/span><\/span><span class=\"TextRun SCXW247558271 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW247558271 BCX0\">data. This is especially helpful when using layers that you don&#8217;t own yourself.<\/span><\/span><span class=\"EOP SCXW247558271 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0However, if you own a layer, you can <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/create-custom-field-calculations-using-arcade-expressions\/\" target=\"_blank\" rel=\"noopener\">use Arcade to calculate a new field<\/a> to your table if you want the result to be more permanent.\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"own-layer\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW10903788 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10903788 BCX0\">Do I have to own a layer to use Arcade?<\/span><\/span><span class=\"EOP SCXW10903788 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\">Nope!<\/span><\/span><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\"> This is one of the most powerful and understated parts of Arcade. You used to be stuck in the water if you found someone else\u2019s <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW37269769 BCX0\">layer<\/span><span class=\"NormalTextRun SCXW37269769 BCX0\">\u00a0but it didn\u2019t have a field you wanted, or if a field\u00a0<\/span><\/span><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\">wasn\u2019t how you needed it. You\u2019d have to contact the person and HOPE they update their service, or you\u2019d need to find and host your own version of the data. Arca<\/span><\/span><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\">de empowers you to\u00a0<\/span><\/span><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\">use data from trusted sources while still providing the freedom to customize or calculate your own <\/span><\/span><span class=\"TextRun SCXW37269769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW37269769 BCX0\">things.\u00a0<\/span><\/span><span class=\"EOP SCXW37269769 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"find-it\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW262149681 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW262149681 BCX0\">Where do I find Arcade? How can I use it?<\/span><\/span><span class=\"EOP SCXW262149681 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">You can write, share, and execute Arcade expressions in <\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">ArcGIS Online, ArcGIS Pro, ArcGIS<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">API for<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">\u00a0JavaScript,<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">\u00a0and<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">\u00a0ArcGIS Runtime<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">. The language is portable, meaning that an expression written in your web map popup will also work in your downstream apps like <\/span><\/span><a class=\"Hyperlink SCXW193705398 BCX0\" href=\"https:\/\/storymaps.arcgis.com\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\" data-ccp-charstyle=\"Hyperlink\">ArcGIS StoryMaps<\/span><\/span><\/a><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">.\u00a0<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">You can find Arcade most places where you find and use other attributes. <\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">For example, s<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">ymbology, labeling, transparency, popups<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">, and more<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">. The same way you would choose an attribute from your data to use for mapping\/labeling\/etc, you can choose to <\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">create <\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">an Arcade expression. Once you have created the expression, you will then find it in your attribute lists and can use it like any other field.<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW193705398 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW193705398 BCX0\">Sometimes there\u2019s a symbol that looks like a pencil (ArcGIS Online Map Viewer), an excel\u2014like symbol (ArcGIS Pro), or you\u2019ll find language about expressions (ArcGIS Online Map Viewer Beta).<\/span><\/span><span class=\"EOP SCXW193705398 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><span class=\"TextRun SCXW235538954 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW235538954 BCX0\">In this article, the example expressions you\u2019ll see are built in the ArcGIS Online Map Viewer<\/span><\/span><span class=\"TextRun SCXW235538954 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW235538954 BCX0\">.<\/span><\/span><span class=\"EOP SCXW235538954 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879031,"id":879031,"title":"Where to find it","filename":"Where-to-find-it.jpg","filesize":171598,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/where-to-find-it","alt":"","author":"6461","description":"","caption":"","name":"where-to-find-it","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:09:11","modified":"2020-06-07 01:09:11","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1628,"height":934,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","medium-width":455,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","medium_large-width":768,"medium_large-height":441,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","large-width":1628,"large-height":934,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it-1536x881.jpg","1536x1536-width":1536,"1536x1536-height":881,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","2048x2048-width":1628,"2048x2048-height":934,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it-811x465.jpg","card_image-width":811,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg","wide_image-width":1628,"wide_image-height":934}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Where-to-find-it.jpg"},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\">Arcade has also recently been added into ArcGIS Dashboards Beta<\/span><\/span><span class=\"TextRun SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\">. Building an expression for a Dashboard will look slightly different, so to learn more about how to use Arcade in Dashboards, visit <\/span><\/span><a class=\"Hyperlink SCXW177030875 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/ops-dashboard\/real-time\/getting-started-with-arcade-in-arcgis-dashboards\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\" data-ccp-charstyle=\"Hyperlink\">this informative blog<\/span><\/span><\/a><span class=\"TextRun SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\">\u00a0by our colleague\u00a0<\/span><\/span><a class=\"Hyperlink SCXW177030875 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/author\/dnyenhuis\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\" data-ccp-charstyle=\"Hyperlink\">David Nyenhuis<\/span><\/span><\/a><span class=\"TextRun SCXW177030875 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177030875 BCX0\">.<\/span><\/span><span class=\"EOP SCXW177030875 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"expression\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW53793307 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW53793307 BCX0\">What is an expression? What does it do?<\/span><\/span><span class=\"EOP SCXW53793307 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW194571879 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW194571879 BCX0\">Expressions are just a fancy word for the script that you write. The map will treat this like any other data value from your map. Think of it like a new field for the features in your map. You can create many expressions and use them like you would any other attribute. The expression itself looks like a chunk of\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW194571879 BCX0\">code, but<\/span><span class=\"NormalTextRun SCXW194571879 BCX0\">\u00a0can be as simple or complicated as you need.\u00a0<\/span><\/span><span class=\"EOP SCXW194571879 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>Do things as simple as adding 25 to a field value:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879091,"id":879091,"title":"Simple Expression","filename":"Simple-Expression.jpg","filesize":4423,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/simple-expression","alt":"","author":"6461","description":"","caption":"","name":"simple-expression","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:32:45","modified":"2020-06-07 01:32:45","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":384,"height":115,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression-213x115.jpg","thumbnail-width":213,"thumbnail-height":115,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","medium-width":384,"medium-height":115,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","medium_large-width":384,"medium_large-height":115,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","large-width":384,"large-height":115,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","1536x1536-width":384,"1536x1536-height":115,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","2048x2048-width":384,"2048x2048-height":115,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","card_image-width":384,"card_image-height":115,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Simple-Expression.jpg","wide_image-width":384,"wide_image-height":115}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Or do more complex calculations:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879101,"id":879101,"title":"Advanced Example","filename":"Advanced-Example.gif","filesize":776889,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/advanced-example","alt":"","author":"6461","description":"","caption":"","name":"advanced-example","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:33:36","modified":"2020-06-07 01:33:36","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":592,"height":418,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example-213x200.gif","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","medium-width":370,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","medium_large-width":592,"medium_large-height":418,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","large-width":592,"large-height":418,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","1536x1536-width":592,"1536x1536-height":418,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","2048x2048-width":592,"2048x2048-height":418,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","card_image-width":592,"card_image-height":418,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Advanced-Example.gif","wide_image-width":592,"wide_image-height":418}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"expression-window\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW18167357 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW18167357 BCX0\">I just opened the expression window. What am I seeing exactly?<\/span><\/span><span class=\"EOP SCXW18167357 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW187614333 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW187614333 BCX0\">This window that appears is where you can create new values for the features in your map. The same way you calculate a new field, this window allows you to calculate new values by utilizing the other attributes in your layer, and even other layers in your map.\u00a0<\/span><\/span><span class=\"EOP SCXW187614333 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW49026239 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW49026239 BCX0\">The box on the left is where you write your expression. Whatever you tell this box to calculate, it will return that value for each feature in your map.\u00a0<\/span><\/span><span class=\"EOP SCXW49026239 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879111,"id":879111,"title":"Expression Window","filename":"Expression-Window.png","filesize":35185,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/expression-window","alt":"","author":"6461","description":"","caption":"","name":"expression-window","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:34:35","modified":"2020-06-07 01:34:35","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1207,"height":585,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","medium-width":464,"medium-height":225,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","medium_large-width":768,"medium_large-height":372,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","large-width":1207,"large-height":585,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","1536x1536-width":1207,"1536x1536-height":585,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","2048x2048-width":1207,"2048x2048-height":585,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window-826x400.png","card_image-width":826,"card_image-height":400,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png","wide_image-width":1207,"wide_image-height":585}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Expression-Window.png"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"compliant\"><\/a><\/p>\n<h2>Is the new Arcade Editor WCAG Compliant?<\/h2>\n<p>Yes! The color palette used to highlight syntax elements in the new Arcade editor was designed to meet the WCAG 2.0 Special Criterion 1.4.3 guidelines for color contrast. This ensures that the contrast between the background and foreground colors is high enough to be legible to all individuals, including those with various color vision deficiencies. For more information, check out <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/\" target=\"_blank\" rel=\"noopener\">this blog<\/a>.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"global\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW66517636 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW66517636 BCX0\">What are <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW66517636 BCX0\">globals<\/span><span class=\"NormalTextRun SCXW66517636 BCX0\">?<\/span><\/span><span class=\"EOP SCXW66517636 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">In the expression window you\u2019ll see the word \u201c<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW36656653 BCX0\">Globals<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u201d. These are things in your map such as <\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">fields<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">,\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">other\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">layers<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0(you\u2019ll find those under $map)<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">, and\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">other<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0things<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">.<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">When looking at the\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW36656653 BCX0\">globals<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0list when working in symbology, you\u2019ll see the list of fields. At the bottom, you\u2019ll also see the map scale as $<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW36656653 BCX0\">view.scale<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">. This can be used to adjust the symbology by scale, like shown in <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/mapping\/updated-arcade-scaling-symbology\/\" target=\"_blank\" rel=\"noopener\">this blog<\/a>.\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">You can also access the geometry of a feature by using<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0$feature on its own. But we will address that in the next question<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">.\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">When looking at\u00a0<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW36656653 BCX0\">globals<\/span><\/span><span class=\"TextRun SCXW36656653 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW36656653 BCX0\">\u00a0within popups, you\u2019ll see more things appear in the list. The reason this list is different is because not all functions are supported in all places. This is mostly due to performance reasons.<\/span><\/span><span class=\"EOP SCXW36656653 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879121,"id":879121,"title":"GlobalsGIF","filename":"GlobalsGIF.gif","filesize":563613,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/globalsgif","alt":"","author":"6461","description":"","caption":"","name":"globalsgif","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:35:19","modified":"2020-06-07 01:35:19","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":467,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF-213x200.gif","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","medium-width":447,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","medium_large-width":768,"medium_large-height":448,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","large-width":800,"large-height":467,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","1536x1536-width":800,"1536x1536-height":467,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","2048x2048-width":800,"2048x2048-height":467,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF-797x465.gif","card_image-width":797,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif","wide_image-width":800,"wide_image-height":467}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GlobalsGIF.gif"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"dollar-feature\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW128227478 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW128227478 BCX0\">What is $feature?<\/span><\/span><span class=\"TextRun SCXW128227478 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW128227478 BCX0\">\u00a0<\/span><\/span><span class=\"EOP SCXW128227478 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">Think of $feature as\u00a0<\/span><\/span><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">just that\u2026 a feature on your map<\/span><\/span><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">. When building an expression, $feature represents a single feature from the layer you are working with.<\/span><\/span><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">\u00a0Think of it as a row on your spatial table.<\/span><\/span><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">\u00a0You can access a\u00a0<\/span><span class=\"NormalTextRun AdvancedProofingIssueV2 SCXW113038551 BCX0\">particular field<\/span><span class=\"NormalTextRun SCXW113038551 BCX0\">\u00a0from that feature by using the \u201cdot notation\u201d or $<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW113038551 BCX0\">feature.YOURFIELD<\/span><span class=\"NormalTextRun SCXW113038551 BCX0\">. You\u2019ll see this in the list of fields (<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW113038551 BCX0\">Globals<\/span><span class=\"NormalTextRun SCXW113038551 BCX0\">).\u00a0<\/span><\/span><span class=\"TextRun SCXW113038551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW113038551 BCX0\">You can also use brackets to access fields from a feature, with notation: $feature[\u2018<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW113038551 BCX0\">YOURFIELD\u2018<\/span><span class=\"NormalTextRun SCXW113038551 BCX0\">].\u00a0<\/span><\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"function\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW185380817 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW185380817 BCX0\">What do functions do?<\/span><\/span><span class=\"EOP SCXW185380817 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">Like<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0Excel, functions are built-in tools to help you process and clean your data. For example, the\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW155154956 BCX0\">Round(<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">) function helps you round a value to the significant figures you want.\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW155154956 BCX0\">So<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0Round($feature<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">[\u2018YOURFIELD\u2019]<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">,1) would give you the value of each figure rounded to 1 decimal point.<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0The help is also built straight into the window, so you don\u2019t need to leave your map to learn more about\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">a function and its syntax<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">.<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">A<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">dd a\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">function<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0into your expression with the syntax already\u00a0<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW155154956 BCX0\">built-in.<\/span><\/span><span class=\"TextRun SCXW155154956 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW155154956 BCX0\">\u00a0Easy!\u00a0You can also search for functions.<\/span><\/span><span class=\"EOP SCXW155154956 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879131,"id":879131,"title":"Functions","filename":"Functions.gif","filesize":637202,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/functions","alt":"","author":"6461","description":"","caption":"","name":"functions","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:37:13","modified":"2020-06-07 01:37:13","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":434,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions-213x200.gif","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","medium-width":464,"medium-height":252,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","medium_large-width":768,"medium_large-height":417,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","large-width":800,"large-height":434,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","1536x1536-width":800,"1536x1536-height":434,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","2048x2048-width":800,"2048x2048-height":434,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","card_image-width":800,"card_image-height":434,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif","wide_image-width":800,"wide_image-height":434}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Functions.gif"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"reuse-expression\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW267614611 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267614611 BCX0\">Can I reuse an expression I\u2019ve already written?<\/span><\/span><span class=\"EOP SCXW267614611 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW114183261 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW114183261 BCX0\">Once you have created an expression within a layer in your web map, you can access that expression again when working on the same layer. The \u201cExisting\u201d tab that appears in ArcGIS Online allows you to choose an expression and it will auto populate into the expression window to easily reuse it. If you set an expression for your symbology and you want to reuse it in your popup, just go into the popup and find it within the Existing tab.<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879141,"id":879141,"title":"Existing","filename":"Existing.gif","filesize":62748,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/existing-2","alt":"","author":"6461","description":"","caption":"","name":"existing-2","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:39:57","modified":"2020-06-07 01:39:57","menu_order":0,"mime_type":"image\/gif","type":"image","subtype":"gif","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":800,"height":477,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing-213x200.gif","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","medium-width":438,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","medium_large-width":768,"medium_large-height":458,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","large-width":800,"large-height":477,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","1536x1536-width":800,"1536x1536-height":477,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","2048x2048-width":800,"2048x2048-height":477,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing-780x465.gif","card_image-width":780,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif","wide_image-width":800,"wide_image-height":477}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Existing.gif"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"examples\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW145956496 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW145956496 BCX0\">Where can I find examples of Arcade?<\/span><\/span><span class=\"EOP SCXW145956496 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"none\">There are many different places people have shared their Arcade to help others. Here are a few:<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"1\" data-aria-level=\"2\"><a href=\"https:\/\/github.com\/Esri\/arcade-expressions\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Esri\/arcade-expressions GitHub repository<\/span><\/a><span data-contrast=\"none\">\u00a0contains examples to use\u00a0and also\u00a0lets you share your own.<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"2\" data-aria-level=\"2\"><a href=\"https:\/\/www.arcgis.com\/home\/group.html?id=dfe07fe13d154b67bbd7a38a2be90fd9#overview\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Arcade Expressions and You<\/span><\/a><span data-contrast=\"none\">\u00a0ArcGIS Online group containing maps that use Arcade for symbology or popups.\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"3\" data-aria-level=\"2\"><span data-contrast=\"none\">There are many\u00a0<\/span><a href=\"https:\/\/www.esri.com\/arcgis-blog\/?s=#arcade\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Blogs<\/span><\/a><span data-contrast=\"none\"> about Arcade with examples<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li data-leveltext=\"o\" data-font=\"Courier New\" data-listid=\"9\" aria-setsize=\"-1\" data-aria-posinset=\"4\" data-aria-level=\"2\"><a href=\"https:\/\/community.esri.com\/welcome\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">GeoNet<\/span><\/a><span data-contrast=\"none\"> contains many questions, answers, and blogs about Arcade<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"data-changes\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW181509076 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW181509076 BCX0\">My data changes behind-the-scenes regularly. Will my map show those changes if I use Arcade? <\/span><\/span><span class=\"EOP SCXW181509076 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">Yes! The beauty of Arcade is that it is dynamic. Whenever you load a map, it will calculate the values <\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">from your expression\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">on-the-fly. This means that changing data will adapt with no extra calculations or configuration on your part.\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">When your layer has\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">values that change regularly, your symbology\/popup\/etc. will all update automatically.<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0For example, the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW10373622 BCX0\" href=\"https:\/\/www.arcgis.com\/apps\/opsdashboard\/index.html#\/84ba9c03786e462d960e3172bc1b2204\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\" data-ccp-charstyle=\"Hyperlink\">Coral Reef Bleaching Dashboard<\/span><\/span><\/a><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0in ArcGIS Living Atlas uses\u00a0<\/span><\/span><a class=\"Hyperlink SCXW10373622 BCX0\" href=\"https:\/\/www.arcgis.com\/home\/item.html?id=26e71d14067c4b3f8dd31d1a4e008cfb\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\" data-ccp-charstyle=\"Hyperlink\">a\u00a0<\/span><\/span><span class=\"TextRun Underlined SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\" data-ccp-charstyle=\"Hyperlink\">live feeds\u00a0<\/span><\/span><span class=\"TextRun Underlined SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\" data-ccp-charstyle=\"Hyperlink\">layer<\/span><\/span><\/a><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">with data from NOAA that\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">updates<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0daily. The web map\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">symbology and popup\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">are driven by Arcade expressions, <\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">and<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0the<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">\u00a0dashboard\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">pulls in the web map. The web map and dashboard\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">all update automatically when the data is updated, so the map stays current<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">, even as\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">real-life\u00a0<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">conditions change<\/span><\/span><span class=\"TextRun SCXW10373622 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW10373622 BCX0\">.<\/span><\/span><span class=\"EOP SCXW10373622 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879151,"id":879151,"title":"Live Feeds","filename":"Live-Feeds.png","filesize":467020,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/live-feeds","alt":"","author":"6461","description":"","caption":"","name":"live-feeds","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:41:36","modified":"2020-06-07 01:41:36","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1920,"height":943,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","medium-width":464,"medium-height":228,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","medium_large-width":768,"medium_large-height":377,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","large-width":1920,"large-height":943,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds-1536x754.png","1536x1536-width":1536,"1536x1536-height":754,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","2048x2048-width":1920,"2048x2048-height":943,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds-826x406.png","card_image-width":826,"card_image-height":406,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png","wide_image-width":1920,"wide_image-height":943}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Live-Feeds.png"},{"acf_fc_layout":"content","content":"<p>Note: Your map will show the newest data values on its own, but your web map will use whatever symbology settings were set originally. New data could mean that you need to make accommodations to your symbology such as the breakpoints being used.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"variables\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW178985648 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW178985648 BCX0\">Can I create variables?<\/span><\/span><span class=\"EOP SCXW178985648 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">Absolutely<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">!\u00a0<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">Arcade is built on top of JavaScript, so the syntax\u00a0<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">for\u00a0<\/span><\/span><a class=\"Hyperlink SCXW29483531 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\" data-ccp-charstyle=\"Hyperlink\">Arcade variables<\/span><\/span><\/a><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">is very similar. You can\u00a0<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">declare a variable (var x) and assign it (=) to whatever you\u2019d like. For example<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">, this variable calls to my field \u201c<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW29483531 BCX0\">battery_level<\/span><span class=\"NormalTextRun SCXW29483531 BCX0\">\u201d and multiplies it by 10<\/span><\/span><span class=\"TextRun SCXW29483531 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW29483531 BCX0\">:<\/span><\/span><span class=\"EOP SCXW29483531 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879161,"id":879161,"title":"variable","filename":"variable.png","filesize":2480,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/variable","alt":"","author":"6461","description":"","caption":"","name":"variable","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:42:21","modified":"2020-06-07 01:42:21","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":500,"height":92,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable-213x92.png","thumbnail-width":213,"thumbnail-height":92,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","medium-width":464,"medium-height":85,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","medium_large-width":500,"medium_large-height":92,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","large-width":500,"large-height":92,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","1536x1536-width":500,"1536x1536-height":92,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","2048x2048-width":500,"2048x2048-height":92,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","card_image-width":500,"card_image-height":92,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/variable.png","wide_image-width":500,"wide_image-height":92}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"return\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW86271146 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW86271146 BCX0\">I see something about \u201creturns\u201d in the documentation and examples. What does this mean exactly?<\/span><\/span><span class=\"EOP SCXW86271146 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\"> Do I need to have one?<\/span><\/h2>\n<p><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\">A return statement tells your expression what to return in the map. You can do a whole slew of loops and sub-calculations to get to your end goal, but the script will ultimately return whatever you tell it to\u00a0<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW26157530 BCX0\">using<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\">\u00a0the word \u201creturn\u201d.\u00a0<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\">For\u00a0<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW26157530 BCX0\">example<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\"> the previous question above shows us a statement where the expression will return the result of the calculation from the \u201cbattery\u201d variable. However, y<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\">ou don\u2019t always need a return statement. If you are doing a simple one-line expression, there is no need to add a return statement. You CAN add one, but it is not necessary.\u00a0<\/span><\/span><span class=\"TextRun SCXW26157530 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW26157530 BCX0\">The example above will return the same thing if written like this:<\/span><\/span><span class=\"EOP SCXW26157530 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879181,"id":879181,"title":"no return","filename":"no-return.png","filesize":1493,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/no-return","alt":"","author":"6461","description":"","caption":"","name":"no-return","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:44:27","modified":"2020-06-07 01:44:27","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":496,"height":69,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return-213x69.png","thumbnail-width":213,"thumbnail-height":69,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","medium-width":464,"medium-height":65,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","medium_large-width":496,"medium_large-height":69,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","large-width":496,"large-height":69,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","1536x1536-width":496,"1536x1536-height":69,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","2048x2048-width":496,"2048x2048-height":69,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","card_image-width":496,"card_image-height":69,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/no-return.png","wide_image-width":496,"wide_image-height":69}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"debug\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW129547400 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW129547400 BCX0\">What\u2019s the best way to debug an Arcade expression?<\/span><\/span><span class=\"EOP SCXW129547400 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW42248520 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW42248520 BCX0\">There are two main tools to help you debug your expressions. The expression window has a button that says <strong>Test<\/strong>, and when that appears, you\u2019ll see the <strong>Results panel<\/strong>. These are your weapons for success. <\/span><\/span><span class=\"EOP SCXW42248520 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":879191,"id":879191,"title":"Test","filename":"Test.png","filesize":38340,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/test-7","alt":"","author":"6461","description":"","caption":"","name":"test-7","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:46:59","modified":"2020-06-07 01:46:59","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1186,"height":558,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","medium-width":464,"medium-height":218,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","medium_large-width":768,"medium_large-height":361,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","large-width":1186,"large-height":558,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","1536x1536-width":1186,"1536x1536-height":558,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","2048x2048-width":1186,"2048x2048-height":558,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test-826x389.png","card_image-width":826,"card_image-height":389,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png","wide_image-width":1186,"wide_image-height":558}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Test.png"},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">The Results panel will tell you what the expression is trying to return in your map. If the type or resulting value isn\u2019t what you expect, try investigating each line in your expression.<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">T<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">ry\u00a0<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">using the return statement<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\"> for<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">\u00a0each line along the way to make sure you are getting what you expect<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">\u00a0in each step<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">.\u00a0<\/span><\/span><span class=\"TextRun SCXW52271668 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW52271668 BCX0\">To comment out any code, use \/\/ before anything you want the expression to ignore.<\/span><\/span><span class=\"EOP SCXW52271668 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>You can also use the small pencil symbol to the right of a field to change the value being used in the test. By default it pulls the first record from your table, but if you want to test what the result will be for other scenarios, you can simply type in a different value.<\/p>\n<p>Another way to see what the expression is returning at different points in your expression is by using the <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/data_functions\/#console\" target=\"_blank\" rel=\"noopener\">Console()<\/a> function. This is almost like a print statement in other coding languages. See the documentation for a good example.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n"},{"acf_fc_layout":"content","content":"<p><a name=\"if-else\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW252343186 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252343186 BCX0\">How do I write if\/else logic?<\/span><\/span><span class=\"EOP SCXW252343186 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">There are many ways to write if\/else\u00a0<\/span><\/span><a class=\"Hyperlink SCXW207499266 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\" data-ccp-charstyle=\"Hyperlink\">logic<\/span><\/span><\/a><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">\u00a0(conditional statements) in Arcade.\u00a0<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">Ultimately<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">, I suggest\u00a0<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">doing<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">\u00a0what makes<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">\u00a0the most<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">\u00a0sense to you<\/span><\/span><span class=\"TextRun SCXW207499266 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW207499266 BCX0\">. If you are less comfortable with the syntax of Arcade, try using the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW207499266 BCX0\">IIF(<\/span><span class=\"NormalTextRun SCXW207499266 BCX0\">) or\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW207499266 BCX0\">When(<\/span><span class=\"NormalTextRun SCXW207499266 BCX0\">) functions. F<span class=\"TextRun SCXW15578993 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15578993 BCX0\">irst, you\u2019ll need to know which operators to use when writing a statement. If you want to check if a variable x is greater than 25, your conditional statement will be simple: x &gt; 25. If you want to\u00a0<\/span><\/span><span class=\"TextRun SCXW15578993 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15578993 BCX0\">check if that variable is greater than 25 and less than 100, your statement will need to combine those with the &amp;&amp; operator: x &gt; 25 &amp;&amp; x &lt;100<\/span><\/span><span class=\"TextRun SCXW15578993 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15578993 BCX0\">. For the full list of operators in Arcade, you can find them near the bottom of\u00a0<\/span><\/span><a class=\"Hyperlink SCXW15578993 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW15578993 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15578993 BCX0\" data-ccp-charstyle=\"Hyperlink\">this help page<\/span><\/span><\/a><span class=\"TextRun SCXW15578993 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15578993 BCX0\">.\u00a0<\/span><\/span><span class=\"EOP SCXW15578993 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span>Here are a few ways to work with conditional statements in Arcade:<\/span><\/span><span class=\"EOP SCXW207499266 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li>\n<h3><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW53672072 BCX0\">If(<\/span><\/span><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW53672072 BCX0\">){<\/span><\/span><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW53672072 BCX0\">}\u00a0<\/span><\/span><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW53672072 BCX0\">else{<\/span><\/span><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW53672072 BCX0\">} logic<\/span><\/span><\/h3>\n<p><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW53672072 BCX0\">This method uses syntax that looks just like JavaScript, where you write your <\/span><\/span><span class=\"TextRun SCXW53672072 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW53672072 BCX0\">condition in the parentheses, and you tell the expression what to return in the squiggly brackets. For example:<\/span><\/span><span class=\"EOP SCXW53672072 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":879201,"id":879201,"title":"if function","filename":"if-function.png","filesize":23812,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/if-function","alt":"","author":"6461","description":"","caption":"","name":"if-function","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:49:28","modified":"2020-06-07 01:49:28","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1520,"height":685,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","medium-width":464,"medium-height":209,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","medium_large-width":768,"medium_large-height":346,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","large-width":1520,"large-height":685,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","1536x1536-width":1520,"1536x1536-height":685,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","2048x2048-width":1520,"2048x2048-height":685,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function-826x372.png","card_image-width":826,"card_image-height":372,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png","wide_image-width":1520,"wide_image-height":685}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/if-function.png"},{"acf_fc_layout":"content","content":"<ul>\n<li>\n<h3><a class=\"Hyperlink SCXW103828552 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/logical_functions\/#iif\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\" data-ccp-charstyle=\"Hyperlink\">IIF()<\/span><\/span><\/a><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">\u00a0function<\/span><\/span><\/h3>\n<p><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">This built-in function <\/span><\/span><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">does the same thing as the code\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW103828552 BCX0\">above, but<\/span><span class=\"NormalTextRun SCXW103828552 BCX0\">\u00a0doesn\u2019t require you to write out the code syntax. This could be an easier way to start if you aren\u2019t comfortable with coding.\u00a0<\/span><\/span><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">The help page shows us that this function works like\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW103828552 BCX0\">IIf<\/span><span class=\"NormalTextRun SCXW103828552 BCX0\">( condition,\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW103828552 BCX0\">trueValue<\/span><span class=\"NormalTextRun SCXW103828552 BCX0\">,\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW103828552 BCX0\">falseValue<\/span><span class=\"NormalTextRun SCXW103828552 BCX0\">). This means that in the first position, you write the conditional s<\/span><\/span><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">tatement,\u00a0<\/span><\/span><span class=\"TextRun SCXW103828552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103828552 BCX0\">in the second position you tell it what to return if the conditional statement is met (if true), and in the final position you tell it what to return if the conditional statement is not met (else). For example:<\/span><\/span><span class=\"EOP SCXW103828552 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":879211,"id":879211,"title":"IIF function","filename":"IIF-function.png","filesize":22491,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/iif-function","alt":"","author":"6461","description":"","caption":"","name":"iif-function","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:50:19","modified":"2020-06-07 01:50:19","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1520,"height":685,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","medium-width":464,"medium-height":209,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","medium_large-width":768,"medium_large-height":346,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","large-width":1520,"large-height":685,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","1536x1536-width":1520,"1536x1536-height":685,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","2048x2048-width":1520,"2048x2048-height":685,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function-826x372.png","card_image-width":826,"card_image-height":372,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png","wide_image-width":1520,"wide_image-height":685}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/IIF-function.png"},{"acf_fc_layout":"content","content":"<ul>\n<li>\n<h3><a class=\"Hyperlink SCXW137466958 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/logical_functions\/#when\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\" data-ccp-charstyle=\"Hyperlink\">When()<\/span><\/span><\/a><span class=\"TextRun Underlined SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\"> function\u00a0<\/span><\/span><\/h3>\n<p><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">This built-in function is helpful when you have many different conditional statements. <\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">This works like the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW137466958 BCX0\">IIF(<\/span><span class=\"NormalTextRun SCXW137466958 BCX0\">) function, except you can include as many conditional statements as you need for your calculation.\u00a0<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">For each conditional statement, you tell the\u00a0<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">function what you want it to return<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">\u00a0for each condition<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">.<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">\u00a0For example:<\/span><\/span><span class=\"TextRun SCXW137466958 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW137466958 BCX0\">\u00a0<\/span><\/span><span class=\"EOP SCXW137466958 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":879221,"id":879221,"title":"When function","filename":"When-function.png","filesize":22449,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/when-function","alt":"","author":"6461","description":"","caption":"","name":"when-function","status":"inherit","uploaded_to":878991,"date":"2020-06-07 01:51:00","modified":"2020-06-07 01:51:00","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1520,"height":685,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","medium-width":464,"medium-height":209,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","medium_large-width":768,"medium_large-height":346,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","large-width":1520,"large-height":685,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","1536x1536-width":1520,"1536x1536-height":685,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","2048x2048-width":1520,"2048x2048-height":685,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function-826x372.png","card_image-width":826,"card_image-height":372,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png","wide_image-width":1520,"wide_image-height":685}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/When-function.png"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"format\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW202554537 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202554537 BCX0\">Can I format text using Arcade?<\/span><\/span><span class=\"EOP SCXW202554537 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW64727947 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW64727947 BCX0\">Yes! Arcade is a great way to make your pop-ups easier to read<\/span><\/span><span class=\"TextRun SCXW64727947 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW64727947 BCX0\">. Instead of raw data values, you can turn numbers into understandable and clean information. A few examples:<\/span><\/span><span class=\"EOP SCXW64727947 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li><a class=\"Hyperlink SCXW216491912 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/text_functions\/#proper\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW216491912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216491912 BCX0\" data-ccp-charstyle=\"Hyperlink\">Proper()<\/span><\/span><\/a><span class=\"TextRun SCXW216491912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216491912 BCX0\">\u00a0-How many times have you see labels or values\u00a0in your map like this: REDLANDS HIGH SCHOOL. The\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW216491912 BCX0\">Proper(<\/span><span class=\"NormalTextRun SCXW216491912 BCX0\">) function easily re-formats these <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW216491912 BCX0\">all-caps-atrocities<\/span><span class=\"NormalTextRun SCXW216491912 BCX0\"> with a simple line of Arcade. <\/span><\/span><a class=\"Hyperlink SCXW216491912 BCX0\" href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=40b9b7df1d094bc38d68609f482a3b17&amp;extent=-104.5891,39.6923,-103.7803,40.0317\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW216491912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216491912 BCX0\" data-ccp-charstyle=\"Hyperlink\">This map<\/span><\/span><\/a><span class=\"TextRun SCXW216491912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216491912 BCX0\">\u00a0uses it within the labels so that they are easier to read:<\/span><\/span><span class=\"EOP SCXW216491912 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":880291,"id":880291,"title":"1_School Districts","filename":"1_School-Districts.jpg","filesize":223304,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/1_school-districts","alt":"","author":"6461","description":"","caption":"","name":"1_school-districts","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:44:44","modified":"2020-06-08 16:44:44","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1553,"height":1290,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg","medium-width":314,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg","medium_large-width":768,"medium_large-height":638,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg","large-width":1300,"large-height":1080,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts-1536x1276.jpg","1536x1536-width":1536,"1536x1536-height":1276,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg","2048x2048-width":1553,"2048x2048-height":1290,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts-560x465.jpg","card_image-width":560,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts-1300x1080.jpg","wide_image-width":1300,"wide_image-height":1080}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/1_School-Districts.jpg"},{"acf_fc_layout":"content","content":"<ul>\n<li><a class=\"Hyperlink SCXW151447506 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/text_functions\/#text\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\" data-ccp-charstyle=\"Hyperlink\">Text()<\/span><\/span><\/a><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">\u00a0&#8211; This function helps format your numbers\u00a0<\/span><\/span><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">or dates\u00a0<\/span><\/span><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">into more readable text.<\/span><\/span><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">\u00a0For example,\u00a0<\/span><\/span><a class=\"Hyperlink SCXW151447506 BCX0\" href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=5e7248bfbfc8484a9147c392a32ed3d2\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\" data-ccp-charstyle=\"Hyperlink\">this map<\/span><\/span><\/a><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">\u00a0uses a complex expression to calculate new values, and then creates a formatted string for the popup. You can see that the\u00a0<\/span><\/span><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW151447506 BCX0\">Text(<\/span><\/span><span class=\"TextRun SCXW151447506 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW151447506 BCX0\">) function is used to add a comma separator for the popup:<\/span><\/span><span class=\"EOP SCXW151447506 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":880311,"id":880311,"title":"Text","filename":"Text.png","filesize":19208,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/text-2","alt":"","author":"6461","description":"","caption":"","name":"text-2","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:45:32","modified":"2020-06-08 16:45:32","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":715,"height":424,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","medium-width":440,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","medium_large-width":715,"medium_large-height":424,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","large-width":715,"large-height":424,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","1536x1536-width":715,"1536x1536-height":424,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","2048x2048-width":715,"2048x2048-height":424,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","card_image-width":715,"card_image-height":424,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png","wide_image-width":715,"wide_image-height":424}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text.png"},{"acf_fc_layout":"image","image":{"ID":880321,"id":880321,"title":"Text Map","filename":"Text-Map.png","filesize":12056,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/text-map","alt":"","author":"6461","description":"","caption":"","name":"text-map","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:45:55","modified":"2020-06-08 16:45:55","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":339,"height":350,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","medium-width":253,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","medium_large-width":339,"medium_large-height":350,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","large-width":339,"large-height":350,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","1536x1536-width":339,"1536x1536-height":350,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","2048x2048-width":339,"2048x2048-height":350,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","card_image-width":339,"card_image-height":350,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png","wide_image-width":339,"wide_image-height":350}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Text-Map.png"},{"acf_fc_layout":"content","content":"<ul>\n<li><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW256539017 BCX0\">TextFormatting.<\/span><\/span><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW256539017 BCX0\">NewLine<\/span><\/span><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\">\u00a0<\/span><\/span><a class=\"Hyperlink SCXW256539017 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/constants\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\" data-ccp-charstyle=\"Hyperlink\">Constant<\/span><\/span><\/a><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\">\u00a0&#8211; Add a new line into your popups or 4.x map labels using this text formatting constant. It is an easy way to make a list of information more readable<\/span><\/span><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\">. For example,\u00a0<\/span><\/span><a class=\"Hyperlink SCXW256539017 BCX0\" href=\"https:\/\/www.arcgis.com\/home\/webmap\/viewer.html?webmap=14562fced3474190b52d315bc19127f6&amp;extent=-77.6991,43.117,-77.4968,43.1976\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\" data-ccp-charstyle=\"Hyperlink\">this map<\/span><\/span><\/a><span class=\"TextRun SCXW256539017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW256539017 BCX0\">\u00a0lists out the various crimes that occur in police districts by counting how many there are of each one. Newline makes the popup easy to understand:<\/span><\/span><span class=\"EOP SCXW256539017 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":880331,"id":880331,"title":"Newline","filename":"Newline.png","filesize":15304,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/newline","alt":"","author":"6461","description":"","caption":"","name":"newline","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:46:58","modified":"2020-06-08 16:46:58","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":716,"height":297,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","medium-width":464,"medium-height":192,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","medium_large-width":716,"medium_large-height":297,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","large-width":716,"large-height":297,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","1536x1536-width":716,"1536x1536-height":297,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","2048x2048-width":716,"2048x2048-height":297,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","card_image-width":716,"card_image-height":297,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png","wide_image-width":716,"wide_image-height":297}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline.png"},{"acf_fc_layout":"image","image":{"ID":880341,"id":880341,"title":"Newline Map","filename":"Newline-Map.png","filesize":22102,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/newline-map","alt":"","author":"6461","description":"","caption":"","name":"newline-map","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:47:33","modified":"2020-06-08 16:47:33","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":455,"height":338,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","medium-width":351,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","medium_large-width":455,"medium_large-height":338,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","large-width":455,"large-height":338,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","1536x1536-width":455,"1536x1536-height":338,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","2048x2048-width":455,"2048x2048-height":338,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","card_image-width":455,"card_image-height":338,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png","wide_image-width":455,"wide_image-height":338}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Newline-Map.png"},{"acf_fc_layout":"content","content":"<ul>\n<li><span class=\"NormalTextRun SCXW11154868 BCX0\">You can use\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW11154868 BCX0\">Split(<\/span><span class=\"NormalTextRun SCXW11154868 BCX0\">) to split text at a character, and then return everything before that point in the text. The same thing can also be <\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW11154868 BCX0\">accomplished<\/span><span class=\"NormalTextRun SCXW11154868 BCX0\">\u00a0using the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW11154868 BCX0\">Left(<\/span><span class=\"NormalTextRun SCXW11154868 BCX0\">) function.<\/span><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":880351,"id":880351,"title":"Remove text within parentheses","filename":"Remove-text-within-parentheses.png","filesize":9750,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/remove-text-within-parentheses","alt":"","author":"6461","description":"","caption":"","name":"remove-text-within-parentheses","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:48:30","modified":"2020-06-08 16:48:30","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1023,"height":522,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","medium-width":464,"medium-height":237,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","medium_large-width":768,"medium_large-height":392,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","large-width":1023,"large-height":522,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","1536x1536-width":1023,"1536x1536-height":522,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","2048x2048-width":1023,"2048x2048-height":522,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses-826x421.png","card_image-width":826,"card_image-height":421,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png","wide_image-width":1023,"wide_image-height":522}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Remove-text-within-parentheses.png"},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\">These are just a few examples.<\/span><\/span><span class=\"TextRun SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\">\u00a0There are also function like\u00a0<\/span><\/span><a class=\"Hyperlink SCXW202915017 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/text_functions\/#replace\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\" data-ccp-charstyle=\"Hyperlink\">Replace()<\/span><\/span><\/a><span class=\"TextRun SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\">, and others that can grab the values you need from other fields in order to create new text values.<\/span><\/span><span class=\"TextRun SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\">\u00a0Click\u00a0<\/span><\/span><a class=\"Hyperlink SCXW202915017 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/text_functions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\" data-ccp-charstyle=\"Hyperlink\">here<\/span><\/span><\/a><span class=\"TextRun SCXW202915017 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW202915017 BCX0\">\u00a0for the full list of text functions.<\/span><\/span><span class=\"EOP SCXW202915017 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"newline\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW383280 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW383280 BCX0\">Why isn\u2019t\u00a0<\/span><\/span><span class=\"TextRun SCXW383280 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW383280 BCX0\">the<\/span><\/span><span class=\"TextRun SCXW383280 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW383280 BCX0\">\u00a0newline text formatting showing\u00a0<\/span><\/span><span class=\"TextRun SCXW383280 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW383280 BCX0\">up on my\u00a0<\/span><\/span><span class=\"TextRun SCXW383280 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW383280 BCX0\">labels?\u00a0<\/span><\/span><span class=\"EOP SCXW383280 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW73344315 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW73344315 BCX0\">The\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW73344315 BCX0\">TextFormatting.NewLine<\/span><span class=\"NormalTextRun SCXW73344315 BCX0\">\u00a0functionality is a great way to clean up your popups and labels but isn\u2019t supported when labeling in the existing ArcGIS Online Map Viewer. Try viewing the map in the new Map Viewer Beta or adding the map into a 4.x supported app. To see which apps are 4.x, check out\u00a0<\/span><\/span><a class=\"Hyperlink SCXW73344315 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/take-a-tour-of-configurable-apps-built-with-the-arcgis-api-for-javascript-4-x\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW73344315 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW73344315 BCX0\" data-ccp-charstyle=\"Hyperlink\">this blog<\/span><\/span><\/a><span class=\"TextRun SCXW73344315 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW73344315 BCX0\">.<\/span><\/span><span class=\"EOP SCXW73344315 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"nulls\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW218363584 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW218363584 BCX0\">Is there a way I can handle null values in my popups?<\/span><\/span><span class=\"EOP SCXW218363584 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW228182635 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW228182635 BCX0\">There are\u00a0<\/span><span class=\"NormalTextRun AdvancedProofingIssueV2 SCXW228182635 BCX0\">many different ways<\/span><span class=\"NormalTextRun SCXW228182635 BCX0\"> to handle null values in your data. Replace an awkward blank spot in your popup with a coherent phrase or placeholder. There are a few ways you can handle nulls, but some of the basics are by checking if a value is null using the <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/logical_functions\/#isempty\" target=\"_blank\" rel=\"noopener\">IsEmpty()<\/a> function, or by setting a <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/logical_functions\/#defaultvalue\" target=\"_blank\" rel=\"noopener\">DefaultValue()<\/a>.\u00a0<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880851,"id":880851,"title":"Nulls","filename":"Nulls.png","filesize":34498,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/nulls","alt":"","author":"6461","description":"","caption":"","name":"nulls","status":"inherit","uploaded_to":878991,"date":"2020-06-09 01:18:29","modified":"2020-06-09 01:18:29","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":640,"height":861,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","medium-width":194,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","medium_large-width":640,"medium_large-height":861,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","large-width":640,"large-height":861,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","1536x1536-width":640,"1536x1536-height":861,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","2048x2048-width":640,"2048x2048-height":861,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls-346x465.png","card_image-width":346,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png","wide_image-width":640,"wide_image-height":861}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Nulls.png"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"categories\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW187838926 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW187838926 BCX0\">How can I turn numeric values into categories?<\/span><\/span><span class=\"EOP SCXW187838926 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW68316289 BCX0\">Using the technique mentioned in the earlier question about if\/else statements, you can easily convert numeric values into categorical data. Write your conditional statement, and have the expression retur<\/span><\/span><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW68316289 BCX0\">n the text you want to appear. The map will treat your result as text and map the results. For example<\/span><\/span><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW68316289 BCX0\">, I want to show the battery level of Bird scooters around my area, but I want to easily recognize which ones need to be charged immediately. I can convert the\u00a0<\/span><\/span><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW68316289 BCX0\">battery_level<\/span><\/span><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW68316289 BCX0\">\u00a0field into different categories<\/span><\/span><span class=\"TextRun SCXW68316289 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW68316289 BCX0\">\u00a0using the conditional statement techniques mentioned earlier:<\/span><\/span><span class=\"EOP SCXW68316289 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880361,"id":880361,"title":"BatteryLevel","filename":"BatteryLevel.png","filesize":6798,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/batterylevel","alt":"","author":"6461","description":"","caption":"","name":"batterylevel","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:51:56","modified":"2020-06-08 16:51:56","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":581,"height":235,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","medium-width":464,"medium-height":188,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","medium_large-width":581,"medium_large-height":235,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","large-width":581,"large-height":235,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","1536x1536-width":581,"1536x1536-height":235,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","2048x2048-width":581,"2048x2048-height":235,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","card_image-width":581,"card_image-height":235,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel.png","wide_image-width":581,"wide_image-height":235}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"image","image":{"ID":880371,"id":880371,"title":"BatteryLevel_Screenshot","filename":"BatteryLevel_Screenshot.png","filesize":124821,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/batterylevel_screenshot","alt":"","author":"6461","description":"","caption":"","name":"batterylevel_screenshot","status":"inherit","uploaded_to":878991,"date":"2020-06-08 16:52:21","modified":"2020-06-08 16:52:21","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":588,"height":450,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","medium-width":341,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","medium_large-width":588,"medium_large-height":450,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","large-width":588,"large-height":450,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","1536x1536-width":588,"1536x1536-height":450,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","2048x2048-width":588,"2048x2048-height":450,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","card_image-width":588,"card_image-height":450,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png","wide_image-width":588,"wide_image-height":450}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BatteryLevel_Screenshot.png"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"convert\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW112247698 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW112247698 BCX0\">Can I convert field types using Arcade?<\/span><\/span><span class=\"EOP SCXW112247698 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW108432769 BCX0\">How many times have you tried to map a field that LOOKS like a numeric <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW108432769 BCX0\">field<\/span><span class=\"NormalTextRun SCXW108432769 BCX0\">\u00a0but it was\u00a0<\/span><span class=\"NormalTextRun AdvancedProofingIssueV2 SCXW108432769 BCX0\">actually a<\/span><span class=\"NormalTextRun SCXW108432769 BCX0\"> text field? You can create a new expression in order to use the field the way you need.\u00a0<\/span><\/span><\/p>\n<p><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW108432769 BCX0\">You can u<\/span><\/span><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW108432769 BCX0\">se the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW108432769 BCX0\">Number(<\/span><span class=\"NormalTextRun SCXW108432769 BCX0\">) function to quickly convert it<\/span><\/span><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW108432769 BCX0\">\u00a0into a number. If you want to round that number, you can use the\u00a0<\/span><\/span><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW108432769 BCX0\">Round(<\/span><span class=\"NormalTextRun SCXW108432769 BCX0\">)\u00a0<\/span><\/span><span class=\"TextRun SCXW108432769 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW108432769 BCX0\">function.<\/span><\/span><\/p>\n<p><span class=\"TextRun SCXW5411161 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW5411161 BCX0\">Similarly, if you want to show a numeric field as text, you can use the <\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW5411161 BCX0\">Text(<\/span><span class=\"NormalTextRun SCXW5411161 BCX0\">) function to do this. There is an example of this earlier in the article.<\/span><\/span><span class=\"EOP SCXW5411161 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p>Note: When using expressions in your map, you aren&#8217;t changing the field type on your table schema. If you own the layer and want to calculate a new field with the data type you want, you can do that directly within ArcGIS Online. Check out <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/create-custom-field-calculations-using-arcade-expressions\/\" target=\"_blank\" rel=\"noopener\">this blog<\/a> to see how.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"unit\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW163680315 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW163680315 BCX0\">Can I do a unit conversion with Arcade?<\/span><\/span><span class=\"EOP SCXW163680315 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">Absolutely<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">! This is a great example of a simple calculation that can be done with Arcade. Simply use the attribute you want to convert and plug it into an equation. <\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">For example, if I have a map\u00a0<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">showing sea surface temperature in Celsius but I want to show the values in Fahrenheit, I can convert these using the equation\u00a0<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW267680501 BCX0\">Cel<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW267680501 BCX0\">s<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW267680501 BCX0\">iusValue<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">\u00a0*\u00a0<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">1.8<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">\u00a0+ 32. I can plug this straight into my expression calling to the sea surface field (<\/span><\/span><span class=\"TextRun SCXW267680501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267680501 BCX0\">$<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW267680501 BCX0\">feature.sst<\/span><span class=\"NormalTextRun SCXW267680501 BCX0\">). <a href=\"https:\/\/storymaps.arcgis.com\/stories\/2240af05fbfc45ddbf421e7d50b05333\" target=\"_blank\" rel=\"noopener\">This story map<\/a> shows step-by-step how to do a conversion like this.\u00a0<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880381,"id":880381,"title":"Conversion_Full","filename":"Conversion_Full.png","filesize":303412,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/conversion_full","alt":"","author":"6461","description":"","caption":"","name":"conversion_full","status":"inherit","uploaded_to":878991,"date":"2020-06-08 17:01:35","modified":"2020-06-08 17:01:35","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1204,"height":1002,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","medium-width":314,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","medium_large-width":768,"medium_large-height":639,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","large-width":1204,"large-height":1002,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","1536x1536-width":1204,"1536x1536-height":1002,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","2048x2048-width":1204,"2048x2048-height":1002,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full-559x465.png","card_image-width":559,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png","wide_image-width":1204,"wide_image-height":1002}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Conversion_Full.png"},{"acf_fc_layout":"content","content":"<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"dates\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW103223832 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW103223832 BCX0\">Can I work with date fields using Arcade? <\/span><\/span><span class=\"EOP SCXW103223832 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">There\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">are many<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0<\/span><\/span><a class=\"Hyperlink SCXW21712157 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/date_functions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\" data-ccp-charstyle=\"Hyperlink\">Date functions<\/span><\/span><\/a><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0available within Arcade.\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">You can format these nicely for your popups\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">and labels in order to communicate only the information you want the end-user to see.<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">You can even calculate the difference between two dates, or\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">determine how far away a date is from the current time<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0by\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">using<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW21712157 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/date_functions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\" data-ccp-charstyle=\"Hyperlink\">DateDiff()<\/span><\/span><\/a><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0function<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">.\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">For example<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">, you can use this\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">function<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">\u00a0along with the\u00a0<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW21712157 BCX0\">Now(<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">) function to figure out how recently something in your data was updated. You can then use text formatting methods to make it easy to read i<\/span><\/span><span class=\"TextRun SCXW21712157 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW21712157 BCX0\">n your popup:<\/span><\/span><span class=\"EOP SCXW21712157 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880401,"id":880401,"title":"Time Elapsed to Text Result","filename":"Time-Elapsed-to-Text-Result.png","filesize":13750,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/time-elapsed-to-text-result","alt":"","author":"6461","description":"","caption":"","name":"time-elapsed-to-text-result","status":"inherit","uploaded_to":878991,"date":"2020-06-08 17:03:20","modified":"2020-06-08 17:03:20","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":770,"height":479,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","medium-width":420,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","medium_large-width":768,"medium_large-height":478,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","large-width":770,"large-height":479,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","1536x1536-width":770,"1536x1536-height":479,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","2048x2048-width":770,"2048x2048-height":479,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result-747x465.png","card_image-width":747,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png","wide_image-width":770,"wide_image-height":479}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Time-Elapsed-to-Text-Result.png"},{"acf_fc_layout":"content","content":"<p>You can also use the <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/data_functions\/#text\" target=\"_blank\" rel=\"noopener\">Text()<\/a> function to give your date fields the look and feel that you want. For example, Text($feature.YOURDATEFIELD, &#8216;M\/D\/Y&#8217;) would return a string such as 7\/4\/2020 or\u00a0 Text($feature.YOURDATEFIELD, &#8216;MM\/DD\/YY&#8217;) would return 07\/04\/20.<\/p>\n<p><span class=\"TextRun SCXW119197405 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW119197405 BCX0\">For a tutorial on how to work with date fields in Arcade, check out\u00a0<\/span><\/span><a class=\"Hyperlink SCXW119197405 BCX0\" href=\"https:\/\/community.esri.com\/community\/gis\/web-gis\/arcgisonline\/blog\/2020\/02\/04\/make-time-aware-popups-with-arcade\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW119197405 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW119197405 BCX0\" data-ccp-charstyle=\"Hyperlink\">this blog<\/span><\/span><\/a><span class=\"TextRun SCXW119197405 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW119197405 BCX0\">\u00a0by Gee Fernando.<\/span><\/span><span class=\"EOP SCXW119197405 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559685&quot;:720,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"featureset\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW86485082 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW86485082 BCX0\">What is a\u00a0<\/span><\/span><span class=\"TextRun SCXW86485082 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW86485082 BCX0\">FeatureSet<\/span><\/span><span class=\"TextRun SCXW86485082 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW86485082 BCX0\">?<\/span><\/span><\/h2>\n<p><a class=\"Hyperlink SCXW252079768 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/data_functions\/#featureset\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252079768 BCX0\" data-ccp-charstyle=\"Hyperlink\">FeatureSet()<\/span><\/span><\/a><span class=\"TextRun SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252079768 BCX0\">\u00a0is a function\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW252079768 BCX0\">that\u00a0 allows<\/span><span class=\"NormalTextRun SCXW252079768 BCX0\">\u00a0you to access information from other layers in your map.\u00a0<\/span><\/span><span class=\"TextRun SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252079768 BCX0\">A\u00a0<\/span><\/span><span class=\"TextRun SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW252079768 BCX0\">FeatureSet<\/span><\/span><span class=\"TextRun SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252079768 BCX0\">\u00a0is exactly what it sounds like. It is a set of features from within your map.\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW252079768 BCX0\">So<\/span><span class=\"NormalTextRun SCXW252079768 BCX0\">\u00a0if you call to another layer in your map (or that SET of FEATURES), you will essentially be accessing that entire layer. Because of that, you can\u2019t return a feature set directly, but rather you can work with that other layer to derive something from it.\u00a0<\/span><\/span><span class=\"TextRun SCXW252079768 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW252079768 BCX0\">You can add a\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW252079768 BCX0\">FeatureSet<\/span><span class=\"NormalTextRun SCXW252079768 BCX0\">\u00a0into your expression easily by going into $map, navigating to the layer you want to access information from, and clicking the\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW252079768 BCX0\">FeatureSet<\/span><span class=\"NormalTextRun SCXW252079768 BCX0\"> button beneath it. This will add it directly into your expression. I usually set this feature set as a variable in order to easily access it later. You can see an example of how to add a FeatureSet to your expression in the question above called &#8220;what are globals?&#8221;.<\/span><\/span><\/p>\n<p><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28393268 BCX0\">You<\/span><\/span><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28393268 BCX0\">\u00a0can use information from another layer\u00a0<\/span><\/span><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28393268 BCX0\">from a\u00a0<\/span><span class=\"NormalTextRun SpellingErrorV2 SCXW28393268 BCX0\">F<\/span><\/span><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW28393268 BCX0\">eatureSet<\/span><\/span><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28393268 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW28393268 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28393268 BCX0\">in a few different ways:<\/span><\/span><span class=\"EOP SCXW28393268 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ul>\n<li><strong><span class=\"TextRun SCXW71369552 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW71369552 BCX0\">Spatially<\/span><\/span><\/strong><span class=\"EOP SCXW71369552 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\"> &#8211; <span class=\"TextRun SCXW267965539 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267965539 BCX0\">You can use a geometry functions to determine if your layer has a spatial relationship to\u00a0<\/span><\/span><span class=\"TextRun SCXW267965539 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW267965539 BCX0\">another layer. Geometry functions are mentioned a few paragraphs down from here if you want to learn more. <\/span><\/span><\/span><\/li>\n<li><span class=\"TextRun SCXW172042439 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW172042439 BCX0\"><strong>Attribute-driven<\/strong> &#8211; <span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">You can grab attributes from another layer almost like a join using the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW229509388 BCX0\">Filter(<\/span><span class=\"NormalTextRun SCXW229509388 BCX0\">) function<\/span><\/span><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">\u00a0(this includes related records)<\/span><\/span><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">.\u00a0<\/span><\/span><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">If your layer and the other layer have a tabular commonality,\u00a0<\/span><\/span><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">you can use the information from that table with this method. I<\/span><\/span><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">f you are working with a large table, you may consider calculating the field using Arcade.\u00a0<\/span><\/span><a class=\"Hyperlink SCXW229509388 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/create-custom-field-calculations-using-arcade-expressions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\" data-ccp-charstyle=\"Hyperlink\">This blog<\/span><\/span><\/a><span class=\"TextRun SCXW229509388 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW229509388 BCX0\">\u00a0shows you how to do that.<\/span><\/span><span class=\"EOP SCXW229509388 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/span><\/span><\/li>\n<\/ul>\n<p><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">To learn more about\u00a0<\/span><\/span><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">these two<\/span><\/span><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">\u00a0methods, visit\u00a0<\/span><\/span><a class=\"Hyperlink SCXW210996912 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/pump-up-your-pop-ups-with-arcade-and-the-living-atlas\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\" data-ccp-charstyle=\"Hyperlink\">this blog<\/span><\/span><\/a><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">\u00a0for a detailed\u00a0<\/span><\/span><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">description and examples.<\/span><\/span><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">\u00a0<\/span><\/span><a class=\"Hyperlink SCXW210996912 BCX0\" href=\"https:\/\/urbanobservatory.maps.arcgis.com\/apps\/Cascade\/index.html?appid=1c225c84ba234487b7e9a9180465fd58\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\" data-ccp-charstyle=\"Hyperlink\">This story map tutorial<\/span><\/span><\/a><span class=\"TextRun SCXW210996912 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW210996912 BCX0\">\u00a0also provides instructions on how to make your layers talk to each other.<\/span><\/span><span class=\"EOP SCXW210996912 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">But wait! You can also access information from other layers, <\/span><\/span><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">even if the layers aren\u2019t in your map! Instead\u00a0of using the\u00a0<span class=\"NormalTextRun SpellingErrorV2 SCXW25781322 BCX0\">FeatueSet<\/span>() function, you can use the\u00a0<a class=\"Hyperlink SCXW25781322 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/data_functions\/#featuresetbyportalitem\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\">FeatureSetByPortalItem<\/span><span class=\"TextRun Underlined SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\">()<\/span><\/a> function. This function <\/span><\/span><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">utilizes<\/span><\/span><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">\u00a0<\/span><\/span><a class=\"Hyperlink SCXW25781322 BCX0\" href=\"https:\/\/community.esri.com\/community\/gis\/web-gis\/arcgisonline\/blog\/2019\/06\/06\/where-can-i-find-the-item-id-for-an-arcgis-online-item\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\" data-ccp-charstyle=\"Hyperlink\">the item ID<\/span><\/span><\/a><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\"> of a layer from<\/span><\/span><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\"> so that it doesn\u2019t have to clutter up your table of contents!<\/span><\/span><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">\u00a0This is described in detail in\u00a0<\/span><\/span><a class=\"Hyperlink SCXW25781322 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-living-atlas\/data-management\/pump-up-your-pop-ups-with-arcade-featuresets-and-living-atlas-part-2\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\" data-ccp-charstyle=\"Hyperlink\">this blog<\/span><\/span><\/a><span class=\"TextRun SCXW25781322 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW25781322 BCX0\">.<\/span><\/span><span class=\"EOP SCXW25781322 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><em><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\">Note: C<\/span><\/span><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\">heck out\u00a0<\/span><\/span><a class=\"Hyperlink SCXW11849403 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/mapping\/mapping\/whats-new-with-arcade-taking-a-stroll-through-featuresets-part-1\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\" data-ccp-charstyle=\"Hyperlink\">this blog<\/span><\/span><\/a><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\">\u00a0for considerations when working with\u00a0<\/span><\/span><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SpellingErrorV2 SCXW11849403 BCX0\">FeatureSets<\/span><\/span><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\">\u00a0or think about\u00a0<\/span><\/span><a class=\"Hyperlink SCXW11849403 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/create-custom-field-calculations-using-arcade-expressions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\" data-ccp-charstyle=\"Hyperlink\">calculating your field ahead of time using Arcade<\/span><\/span><\/a><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\">.<\/span><\/span><\/em><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"related\"><\/a><\/p>\n<h2>Can I work with related tables using Arcade?<\/h2>\n<p>You can work with related tables alot like the &#8220;attribute-driven&#8221; FeatureSets example described above. For an example, check out <a href=\"https:\/\/community.esri.com\/community\/gis\/web-gis\/arcgisonline\/blog\/2020\/06\/09\/show-related-data-or-tables-in-pop-ups-with-arcade-featuresets\" target=\"_blank\" rel=\"noopener\">this blog<\/a> by Gee Fernando for a step-by-step tutorial on how to do so.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<p><a name=\"stats\"><\/a><\/p>\n<h2>Can I use Arcade to get the statistics for a layer?<\/h2>\n<p>With<a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/whats-new-in-arcade\/\" target=\"_blank\" rel=\"noopener\"> Arcade 1.8<\/a>, released in October of 2019, a new function called <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/data_functions\/#groupby\" target=\"_blank\" rel=\"noopener\">GroupBy()<\/a> allows you to get the statistics of a layer. To do so, you pass the layer as a FeatureSet (described above), and specify the fields and statistics. This function allows you to summarize data instead of showing information about just a single feature. You can get statistics such as sum, count, minimum, maximum, average, standard deviation, and variance for a field (or fields) from a layer.<\/p>\n<p>In <a href=\"https:\/\/www.arcgis.com\/apps\/mapviewer\/index.html?webmap=edc2f9f4e09749d19b4afcf1deb79917\" target=\"_blank\" rel=\"noopener\">this map<\/a> inspired by <a href=\"https:\/\/www.esri.com\/arcgis-blog\/author\/pbarker_esri\/\" target=\"_blank\" rel=\"noopener\">Paul Barker<\/a>&#8216;s blog, there are thousands of trees within the city of Toronto in Canada. In order to see the three most common tree species for the Neighborhoods within the city, we are able to determine the count of each type using the GroupBy() function and a FeatureSet. The expression then lists out the top 3 types using the Top() and OrderBy() functions. To see how the spatial intersection of these two layers was done, check out the next two questions below.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1141272,"id":1141272,"title":"GroupBy","filename":"GroupBy.png","filesize":156277,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/groupby-2","alt":"","author":"6461","description":"","caption":"","name":"groupby-2","status":"inherit","uploaded_to":878991,"date":"2021-02-17 00:58:09","modified":"2021-02-17 00:58:09","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":813,"height":579,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","medium-width":366,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","medium_large-width":768,"medium_large-height":547,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","large-width":813,"large-height":579,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","1536x1536-width":813,"1536x1536-height":579,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","2048x2048-width":813,"2048x2048-height":579,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy-653x465.png","card_image-width":653,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/GroupBy.png","wide_image-width":813,"wide_image-height":579}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.arcgis.com\/apps\/mapviewer\/index.html?webmap=edc2f9f4e09749d19b4afcf1deb79917"},{"acf_fc_layout":"content","content":"<p>To see how this was done, open <a href=\"https:\/\/www.arcgis.com\/apps\/mapviewer\/index.html?webmap=edc2f9f4e09749d19b4afcf1deb79917\" target=\"_blank\" rel=\"noopener\">this web map<\/a> and explore the expression within the pop-up configuration. (Hint: open the map, select the Toronto Neighborhoods layer in the Layers list, go to configure pop-ups on the right toolbar, choose manage expressions, and open the &#8220;Most Popular Trees expression).<\/p>\n<p>You can also explore the Distinct() function covered in <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/whats-new-in-arcade\/\" target=\"_blank\" rel=\"noopener\">this blog<\/a> which helps you get a unique set of values from a field in your dataset.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"spatial\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW11849403 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW11849403 BCX0\"><span class=\"TextRun SCXW15670412 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW15670412 BCX0\">Can I do spatial calculations in Arcade?<\/span><\/span><span class=\"EOP SCXW15670412 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span>\u00a0<\/span><\/span><span class=\"EOP SCXW11849403 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">Yes! One of the most powerful and hidden gems within Arcade is its ability to evaluate geometrical objects (AKA\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">the\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">features on your map).\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">You can pass a feature from your map (literally as $feature), and the geometry function will perform an on-the-fly calculation based on your current map scale.\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">For example, I can calculate the population density from the Living Atlas layer\u00a0<\/span><\/span><a class=\"Hyperlink SCXW117205015 BCX0\" href=\"https:\/\/www.arcgis.com\/home\/item.html?id=f430d25bf03744edbb1579e18c4bf6b8\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\" data-ccp-charstyle=\"Hyperlink\">ACS Population Variables<\/span><\/span><\/a><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">using the area of each feature along with the total population<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">. Using many of the techniques seen in this article so far, we could use a calculation like this to create a\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">simple\u00a0<\/span><\/span><span class=\"TextRun SCXW117205015 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW117205015 BCX0\">formatted popup:<\/span><\/span><span class=\"EOP SCXW117205015 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880411,"id":880411,"title":"Geometry Function_Full","filename":"Geometry-Function_Full.png","filesize":22680,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/geometry-function_full","alt":"","author":"6461","description":"","caption":"","name":"geometry-function_full","status":"inherit","uploaded_to":878991,"date":"2020-06-08 17:09:05","modified":"2020-06-08 17:09:05","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":736,"height":677,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","medium-width":284,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","medium_large-width":736,"medium_large-height":677,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","large-width":736,"large-height":677,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","1536x1536-width":736,"1536x1536-height":677,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","2048x2048-width":736,"2048x2048-height":677,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full-506x465.png","card_image-width":506,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png","wide_image-width":736,"wide_image-height":677}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Geometry-Function_Full.png"},{"acf_fc_layout":"content","content":"<p><em><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">Note #1<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">:<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">T<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">hat this is not a replacement for advanced spatial analysis that you would do in ArcGIS Pro. There is a certain level of generalization that is done behind the scenes to your features in order to make the map\u00a0<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">performant.<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">For more information about the context of geometry functions,\u00a0<\/span><\/span><a class=\"Hyperlink SCXW81286652 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/geometry_functions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\" data-ccp-charstyle=\"Hyperlink\">please read the disclaimer in the documentation pages<\/span><\/span><\/a><span class=\"TextRun SCXW81286652 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW81286652 BCX0\">.<\/span><\/span><span class=\"EOP SCXW81286652 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/em><\/p>\n<p><em><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">Note #2:\u00a0<\/span><\/span><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">Geometry functions can be \u201cexpensive\u201d calls, meaning they can be slow for advanced calculations. If y<\/span><\/span><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">ou have millions of features or detailed polygons, consider using ArcGIS Pro\u00a0<\/span><\/span><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">geoprocessing\u00a0<\/span><\/span><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">or\u00a0<\/span><\/span><a class=\"Hyperlink SCXW9370717 BCX0\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/create-custom-field-calculations-using-arcade-expressions\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\" data-ccp-charstyle=\"Hyperlink\">calculate the field\u00a0<\/span><\/span><span class=\"TextRun Underlined SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\" data-ccp-charstyle=\"Hyperlink\">value using Arcade<\/span><\/span><\/a><span class=\"TextRun SCXW9370717 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW9370717 BCX0\">.<\/span><\/span><span class=\"EOP SCXW9370717 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/em><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"int\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW162711049 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW162711049 BCX0\">What is the difference between\u00a0<\/span><\/span><span class=\"TextRun SCXW162711049 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW162711049 BCX0\">the\u00a0<\/span><\/span><span class=\"TextRun SCXW162711049 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW162711049 BCX0\">intersects(<\/span><span class=\"NormalTextRun SCXW162711049 BCX0\">) and\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW162711049 BCX0\">intersection(<\/span><span class=\"NormalTextRun SCXW162711049 BCX0\">)<\/span><\/span><span class=\"TextRun SCXW162711049 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW162711049 BCX0\">\u00a0functions<\/span><\/span><span class=\"TextRun SCXW162711049 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW162711049 BCX0\">?<\/span><\/span><span class=\"EOP SCXW162711049 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><a class=\"Hyperlink SCXW208267596 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/geometry_functions\/#intersection\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">Intersection<\/span><\/span><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">(<\/span><\/span><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">)<\/span><\/span><\/a><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">\u00a0will give you\u00a0<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">the overlapping feature when comparing two geometries,\u00a0<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">like you would get using the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW208267596 BCX0\" href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/analysis\/intersect.htm\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">Intersect tool in ArcGIS Pro<\/span><\/span><\/a><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">. The<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">\u00a0<\/span><\/span><a class=\"Hyperlink SCXW208267596 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/geometry_functions\/#intersects\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">Intersects<\/span><\/span><span class=\"TextRun Underlined SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\" data-ccp-charstyle=\"Hyperlink\">()<\/span><\/span><\/a><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">\u00a0<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">function, however,\u00a0<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">tells you if two geometries overlap. If you wanted to find if a point falls within a buffer, you would use the\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW208267596 BCX0\">Intersects(<\/span><span class=\"NormalTextRun SCXW208267596 BCX0\">) function<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">\u00a0to provide a True\/False statement (Boolean)<\/span><\/span><span class=\"TextRun SCXW208267596 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW208267596 BCX0\">. But if you wanted to find the overlapping area of two polygons, you would use\u00a0<\/span><span class=\"NormalTextRun ContextualSpellingAndGrammarErrorV2 SCXW208267596 BCX0\">Intersection(<\/span><span class=\"NormalTextRun SCXW208267596 BCX0\">).<\/span><\/span><span class=\"EOP SCXW208267596 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"closest\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW177409101 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW177409101 BCX0\">Can I list the closest locations to a point on my map?<\/span><\/span><\/h2>\n<p><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">We get this question pretty often, and the answer is yes! There are a few ways to do this. <\/span><\/span><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">Using the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW132997458 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/geometry_functions\/#intersects\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\" data-ccp-charstyle=\"Hyperlink\">Intersects()<\/span><\/span><\/a><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">\u00a0function mentioned above,<\/span><\/span><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">\u00a0along with the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW132997458 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/geometry_functions\/#intersects\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\" data-ccp-charstyle=\"Hyperlink\">Buffer()<\/span><\/span><\/a><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\"> or Distance() geometry functions,<\/span><\/span><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">\u00a0we can\u00a0<\/span><\/span><span class=\"TextRun SCXW132997458 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW132997458 BCX0\">quickly see if two things fall within a range of each other. Using many of the techniques covered in this blog, we can use some advanced logic to find all overlapping features and list them out nicely in our popup. Below is an advanced example that compares recent earthquakes to the location of major cities. Using these two <a href=\"https:\/\/livingatlas.arcgis.com\/en\/browse\/#d=2\" target=\"_blank\" rel=\"noopener\">Living Atlas layers<\/a>, the popup gives a formatted list of any earthquakes within 250km of a major city, or reports that no cities are nearby in order of their distance. I would recommend opening <a href=\"https:\/\/arcg.is\/00b1im\" target=\"_blank\" rel=\"noopener\">this map<\/a>, clicking &#8220;Modify Map&#8221; at the top right, go into the layer settings to the popup configuration, and find the &#8220;Nearby Cities&#8221; expression.\u00a0<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":880911,"id":880911,"title":"Earthquakes","filename":"Earthquakes.png","filesize":27441,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\/earthquakes","alt":"","author":"6461","description":"","caption":"","name":"earthquakes","status":"inherit","uploaded_to":878991,"date":"2020-06-09 02:45:11","modified":"2020-06-09 02:45:11","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":679,"height":540,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","medium-width":328,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","medium_large-width":679,"medium_large-height":540,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","large-width":679,"large-height":540,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","1536x1536-width":679,"1536x1536-height":540,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","2048x2048-width":679,"2048x2048-height":540,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes-585x465.png","card_image-width":585,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Earthquakes.png","wide_image-width":679,"wide_image-height":540}},"image_position":"center","orientation":"horizontal","hyperlink":"https:\/\/arcg.is\/1zbbOX"},{"acf_fc_layout":"content","content":"<p>Note: as mentioned earlier, keep in mind that this call is happening client-side, so heavier requests can slow down your popup.<\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><br \/>\n<a name=\"webapp\"><\/a><\/p>\n<h2><span class=\"TextRun SCXW189651743 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW189651743 BCX0\">Why does my Arcade expression work in A<\/span><\/span><span class=\"TextRun SCXW189651743 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW189651743 BCX0\">rcGIS Online but not Web AppBuilder?<\/span><\/span><span class=\"EOP SCXW189651743 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">As Arcade is implemented into different parts of the product, there can sometimes be slight differences in the version of Arcade.<\/span><\/span><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">\u00a0See the\u00a0<\/span><\/span><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">official<\/span><\/span><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">\u00a0answer to this question on the\u00a0<\/span><\/span><a class=\"Hyperlink SCXW211409489 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/faq\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\" data-ccp-charstyle=\"Hyperlink\">Arcade FAQs<\/span><\/span><\/a><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">, and\u00a0<\/span><\/span><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">see the full matrix of Arcade versions throughout the ArcGIS product, visit\u00a0<\/span><\/span><a class=\"Hyperlink SCXW211409489 BCX0\" href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/version-matrix\/\" target=\"_blank\" rel=\"noreferrer noopener\"><span class=\"TextRun Underlined SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\" data-ccp-charstyle=\"Hyperlink\">this page<\/span><\/span><\/a><span class=\"TextRun SCXW211409489 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW211409489 BCX0\">.\u00a0<\/span><\/span><span class=\"EOP SCXW211409489 BCX0\" data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"#menu\">Back to top of blog<\/a><\/p>\n<h1><span class=\"TextRun SCXW266921127 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW266921127 BCX0\">More resources and tips:<\/span><\/span><span class=\"EOP SCXW266921127 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/h1>\n<ul>\n<li><a href=\"https:\/\/learn.arcgis.com\/en\/paths\/try-arcade\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Learn Path for Arcade: Try Arcade<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/learn.arcgis.com\/en\/gallery\/#?q=arcade\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Learn lessons and articles<\/span><\/a><span data-contrast=\"auto\">\u00a0about Arcade<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/www.esri.com\/arcgis-blog\/?s=#arcade\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Blogs about Arcade<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Arcade documentation and guide<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/logic\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Arcade structure and logic<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/types\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Arcade type system<\/span><\/a><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">ArcGIS Arcade functions<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/storymaps.arcgis.com\/stories\/2f65e766a5864a37a44a598d585f80b2\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Express Yourself (and your data!) with Arcade Expressions<\/span><\/a><span data-contrast=\"auto\">\u00a0<\/span><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<li><a href=\"https:\/\/www.google.com\/search?q=arcgis+arcade&amp;rlz=1C1GCEV_en&amp;source=lnms&amp;tbm=vid&amp;sa=X&amp;ved=2ahUKEwi47_q01-vpAhV4HzQIHbCUAcgQ_AUoAXoECAwQAw&amp;biw=1325&amp;bih=716\" target=\"_blank\" rel=\"noopener\"><span data-contrast=\"none\">Videos from\u00a0<\/span><span data-contrast=\"none\">Esri<\/span><span data-contrast=\"none\">\u00a0Events or Online tutorials<\/span><\/a><span data-ccp-props=\"{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/li>\n<\/ul>\n"}],"authors":[{"ID":6461,"user_firstname":"Lisa","user_lastname":"Berry","nickname":"Lisa Berry","user_nicename":"lisa_berry","display_name":"Lisa Berry","user_email":"LBerry@esri.com","user_url":"","user_registered":"2018-03-02 00:18:23","user_description":"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":[{"ID":684882,"post_author":"6981","post_date":"2019-12-18 07:06:33","post_date_gmt":"2019-12-18 15:06:33","post_content":"","post_title":"Express your data with Arcade and pop-ups in Map Viewer Beta","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"express-your-data-with-arcade-and-pop-ups-in-map-viewer-beta","to_ping":"","pinged":"","post_modified":"2024-11-11 12:31:43","post_modified_gmt":"2024-11-11 20:31:43","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=684882","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":797531,"post_author":"8482","post_date":"2022-02-27 10:00:48","post_date_gmt":"2022-02-27 18:00:48","post_content":"","post_title":"Getting started with advanced formatting using Arcade in Dashboards","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"getting-started-with-arcade-in-arcgis-dashboards","to_ping":"","pinged":"","post_modified":"2024-11-01 00:01:30","post_modified_gmt":"2024-11-01 07:01:30","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=797531","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":82321,"post_author":"7641","post_date":"2026-03-18 18:01:46","post_date_gmt":"2026-03-19 01:01:46","post_content":"","post_title":"Use Arcade to rotate symbols in web maps","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"arcade-rotate-symbols","to_ping":"","pinged":"","post_modified":"2026-04-13 23:18:30","post_modified_gmt":"2026-04-14 06:18:30","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/using-arcade-to-rotate-symbols-in-web-maps\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":74571,"post_author":"6461","post_date":"2016-12-15 21:49:44","post_date_gmt":"2016-12-15 21:49:44","post_content":"","post_title":"Use Arcade Expressions to Map Your Ideas","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"use-arcade-expressions-to-map-your-ideas","to_ping":"","pinged":"","post_modified":"2024-11-11 12:40:53","post_modified_gmt":"2024-11-11 20:40:53","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/use-arcade-expressions-to-map-your-ideas\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"1","filter":"raw"},{"ID":118911,"post_author":"4291","post_date":"2018-03-20 20:52:32","post_date_gmt":"2018-03-20 20:52:32","post_content":"","post_title":"Try an Arcade expression","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"try-arcade-expression","to_ping":"","pinged":"","post_modified":"2024-11-11 12:37:57","post_modified_gmt":"2024-11-11 20:37:57","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=118911","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":123431,"post_author":"6561","post_date":"2018-03-15 11:28:49","post_date_gmt":"2018-03-15 11:28:49","post_content":"At the <a href=\"http:\/\/www.esri.com\/events\/devsummit\">2018 Dev Summit<\/a> in Palm Springs, I introduced the <a href=\"https:\/\/github.com\/Esri\/arcade-expressions\/\">Esri arcade-expressions GitHub repository<\/a>, which can be used for creating <a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/\">Arcade<\/a> expression templates to share with others for reuse.\n\nProviding a mechanism for sharing Arcade expressions has been a popular request. This is our initial attempt at gauging interest among users and developers to see how sharing common Arcade expressions can ease some of your workflows.\n\nAt the time of this blog post, there are only four expressions included in the repo. Each is thoroughly documented so you can copy and paste the template into the Arcade editor in ArcGIS Online (or in your custom apps) and set the appropriate values and field names that match your dataset.\n\nIf you're unfamiliar with Arcade check out the following resources:\n\n<ul>\n        <li><a href=\"https:\/\/blogs.esri.com\/esri\/arcgis\/2016\/12\/19\/introducing-arcade\/\">ArcGIS Blog: Introducing Arcade<\/a><\/li>\n\t<li><a href=\"https:\/\/www.arcgis.com\/apps\/Cascade\/index.html?appid=3271f9b87c394c07b4a871257a5dc46b\">How to Smart Map: Arcade<\/a><\/li>\n\t<li><a href=\"https:\/\/blogs.esri.com\/esri\/arcgis\/2016\/12\/15\/use-arcade-expressions-to-map-your-ideas\/\">ArcGIS Blog: Use Arcade Expressions to Map Your Ideas<\/a><\/li>\n\t<li><a href=\"https:\/\/blogs.esri.com\/esri\/arcgis\/2017\/01\/10\/using-arcade-expressions-in-web-apps\/\">ArcGIS Blog: Using Arcade expressions in web apps<\/a><\/li>\n\t<li><a href=\"https:\/\/blogs.esri.com\/esri\/arcgis\/2017\/05\/23\/creating-a-predominance-visualization-with-arcade\/\">ArcGIS Blog: Create a predominance visualization with Arcade<\/a><\/li>\n\t<li><a href=\"https:\/\/www.youtube.com\/watch?v=X6_x3SbTeZU&amp;list=PLaPDDLTCmy4Z844nQ0aFdRCTICoNDPf7E&amp;index=101\">YouTube: ArcGIS API for JavaScript: Using Arcade with your Apps<\/a><\/li>\n<\/ul>\n\n<h2>Reusing expressions<\/h2>\n\nCheck out the <a href=\"https:\/\/www.youtube.com\/watch?v=x_3uUznAYOo\">Explore the Arcade Expressions GitHub Repository<\/a> video on YouTube to quickly learn how the repository works.\n\n[embedyt] http:\/\/www.youtube.com\/watch?v=x_3uUznAYOo[\/embedyt]\n\nExpressions are organized based on their intended <a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/profiles\/\">execution profile<\/a>, though it doesn\u2019t necessarily mean they can\u2019t be used in other profiles.\n\nTo reuse an expression, simply browse the profile folders (visualization, popup, labeling, alias, any) and select an expression listed in the General workflow section of the README. For example, click <a href=\"https:\/\/github.com\/Esri\/arcade-expressions\/tree\/master\/visualization\">Visualization<\/a>.\n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/click-viz.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/click-viz.png\" alt=\"\" width=\"768\" height=\"465\" class=\"alignnone size-full wp-image-102266\" \/><\/a>\n\nThen click <a href=\"https:\/\/github.com\/Esri\/arcade-expressions\/blob\/master\/visualization\/predominance.md\">predominance<\/a>. \n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/click-predominance.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/click-predominance.png\" alt=\"\" width=\"768\" height=\"465\" class=\"alignnone size-full wp-image-102265\" \/><\/a>\n\nRead the general description of the expression along with the use cases. \n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/description.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/description.png\" alt=\"\" width=\"942\" height=\"420\" class=\"alignnone size-full wp-image-102267\" \/><\/a>\n\nThe <a href=\"https:\/\/github.com\/Esri\/arcade-expressions\/blob\/master\/visualization\/predominance.md#workflow\">workflow<\/a> section will highlight the portion of the template you need to be update for it to work for your data. \n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/workflow.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/workflow.png\" alt=\"\" width=\"931\" height=\"613\" class=\"alignnone size-full wp-image-102270\" \/><\/a>\n\nCopy and paste the snippet from the <a href=\"https:\/\/github.com\/Esri\/arcade-expressions\/blob\/master\/visualization\/predominance.md#expression-template\">Expression Template<\/a> section into your app\/code and update the necessary parts of the expression as indicated in the \u201cworkflow\u201d section and the code comments.\n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/expression-template.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/expression-template.png\" alt=\"\" width=\"642\" height=\"498\" class=\"alignnone size-full wp-image-102269\" \/><\/a>\n\nYou should also see a section providing a live example of how the expression works with real data.\n\n<a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/example-viz.png\"><img src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/03\/example-viz.png\" alt=\"\" width=\"860\" height=\"497\" class=\"alignnone size-full wp-image-102268\" \/><\/a>\n\n<h2>Contributing your Arcade expressions<\/h2>\n\nThis section briefly outlines how to contribute to this project. If you have nothing to share, then you don't need to read any further. However, if you are interested in sharing some of the cool expressions you've found useful in your workflows, then please share them! \n\nIf you are unfamiliar with Git and\/or GitHub, then check out the following resources for getting started:\n\n<ul>\n\t<li><a href=\"https:\/\/git-scm.com\/book\/en\/v2\/Getting-Started-Git-Basics\">Git Basics<\/a><\/li>\n\t<li><a href=\"https:\/\/guides.github.com\/activities\/hello-world\/#pr\">GitHub Guides: Open a Pull Request<\/a><\/li>\n\t<li><a href=\"https:\/\/community.esri.com\/groups\/technical-support\/blog\/2015\/10\/19\/introducing-the-esri-support-github-repository\">Esri support blog post with tips on getting started with GitHub<\/a><\/li>\n\t<li><a href=\"https:\/\/github.com\/esri\/contributing\">Esri guidelines for contributing to GitHub repositories<\/a><\/li>\n<\/ul>\n\nTo contribute, simply fork the repo, clone it locally to your machine, and add a new Markdown file describing the expression. Follow the same format as the existing expressions, providing others with a well documented template they can copy and paste easily into their apps. Also be sure to provide a completed example showing how the expression works for the given profile with a real dataset. Once that is done, submit a PR so your expression can be shared to the world.\n\n[embedyt] http:\/\/www.youtube.com\/watch?v=aI8HkAkUXuY[\/embedyt]\n\nThe goal of this repository is to encourage collaboration and allow everyone to benefit from others\u2019 creativity in using Arcade for solving real problems. Please share this repo and share your awesome Arcade expressions with the ArcGIS community!","post_title":"Share your Arcade expressions as templates","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"share-your-arcade-expressions-as-templates","to_ping":"","pinged":"","post_modified":"2024-11-11 12:38:26","post_modified_gmt":"2024-11-11 20:38:26","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/share-your-arcade-expressions-as-templates\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/Card.png","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BANNER.png"},"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>Your Arcade Questions Answered<\/title>\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\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Your Arcade Questions Answered\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T07:17:42+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\"},\"author\":{\"name\":\"Lisa Berry\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e\"},\"headline\":\"Your Arcade Questions Answered\",\"datePublished\":\"2020-06-10T18:11:30+00:00\",\"dateModified\":\"2024-11-01T07:17:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\"},\"wordCount\":4,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"arcade\",\"ArcGIS Arcade\",\"data\",\"Expression\",\"mapping\"],\"articleSection\":[\"Arcade\",\"Data Management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\",\"name\":\"Your Arcade Questions Answered\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2020-06-10T18:11:30+00:00\",\"dateModified\":\"2024-11-01T07:17:42+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Your Arcade Questions Answered\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e\",\"name\":\"Lisa Berry\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png\",\"caption\":\"Lisa Berry\"},\"description\":\"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.\",\"sameAs\":[\"https:\/\/www.instagram.com\/lisaberry_gis\/\",\"lisaberrygis\",\"https:\/\/x.com\/lisaberry_gis\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Your Arcade Questions Answered","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\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered","og_locale":"en_US","og_type":"article","og_title":"Your Arcade Questions Answered","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-11-01T07:17:42+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered"},"author":{"name":"Lisa Berry","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e"},"headline":"Your Arcade Questions Answered","datePublished":"2020-06-10T18:11:30+00:00","dateModified":"2024-11-01T07:17:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered"},"wordCount":4,"commentCount":2,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["arcade","ArcGIS Arcade","data","Expression","mapping"],"articleSection":["Arcade","Data Management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered","name":"Your Arcade Questions Answered","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2020-06-10T18:11:30+00:00","dateModified":"2024-11-01T07:17:42+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/data-management\/your-arcade-questions-answered#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Your Arcade Questions Answered"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/6f2255e7fbc5bc8827910ce81e212a2e","name":"Lisa Berry","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/05\/UC-2024-Plenary-213x200.png","caption":"Lisa Berry"},"description":"I am a Principal GIS Engineer and ArcGIS Living Atlas Evangelist at Esri. I promote all things Living Atlas, ArcGIS Online, ArcGIS Arcade, Smart Mapping, python, and cartography. I also specialize in socioeconomic and demographic datasets within Living Atlas, and how to visualize them.","sameAs":["https:\/\/www.instagram.com\/lisaberry_gis\/","lisaberrygis","https:\/\/x.com\/lisaberry_gis"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry"}]}},"text_date":"June 10, 2020","author_name":"Lisa Berry","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/lisa_berry","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2020\/06\/BANNER.png","primary_product":"ArcGIS Online","tag_data":[{"term_id":32551,"name":"arcade","slug":"arcade","term_group":0,"term_taxonomy_id":32551,"taxonomy":"post_tag","description":"","parent":0,"count":113,"filter":"raw"},{"term_id":673891,"name":"ArcGIS Arcade","slug":"arcgis-arcade","term_group":0,"term_taxonomy_id":673891,"taxonomy":"post_tag","description":"","parent":0,"count":12,"filter":"raw"},{"term_id":230422,"name":"data","slug":"data","term_group":0,"term_taxonomy_id":230422,"taxonomy":"post_tag","description":"","parent":0,"count":34,"filter":"raw"},{"term_id":611331,"name":"Expression","slug":"expression","term_group":0,"term_taxonomy_id":611331,"taxonomy":"post_tag","description":"","parent":0,"count":4,"filter":"raw"},{"term_id":176452,"name":"mapping","slug":"mapping","term_group":0,"term_taxonomy_id":176452,"taxonomy":"post_tag","description":"","parent":0,"count":60,"filter":"raw"}],"category_data":[{"term_id":777102,"name":"Arcade","slug":"arcade","term_group":0,"term_taxonomy_id":777102,"taxonomy":"category","description":"","parent":0,"count":98,"filter":"raw"},{"term_id":23851,"name":"Data Management","slug":"data-management","term_group":0,"term_taxonomy_id":23851,"taxonomy":"category","description":"","parent":0,"count":920,"filter":"raw"}],"product_data":[{"term_id":36571,"name":"ArcGIS Enterprise","slug":"arcgis-enterprise","term_group":0,"term_taxonomy_id":36571,"taxonomy":"product","description":"","parent":0,"count":976,"filter":"raw"},{"term_id":36831,"name":"ArcGIS Maps SDK for JavaScript","slug":"js-api-arcgis","term_group":0,"term_taxonomy_id":36831,"taxonomy":"product","description":"","parent":36601,"count":363,"filter":"raw"},{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2427,"filter":"raw"},{"term_id":36561,"name":"ArcGIS Pro","slug":"arcgis-pro","term_group":0,"term_taxonomy_id":36561,"taxonomy":"product","description":"","parent":0,"count":2037,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-online","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/878991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/6461"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=878991"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/878991\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=878991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=878991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=878991"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=878991"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=878991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}