Author Archives: Noah

Recent Posts

JavaScript Debugging Tips Part III – Advanced Google Chrome Developer Tools

This blog post is the third in a series of JavaScript debugging tips and tricks to help you on your way. See JavaScript Debugging Tips Part I  and also JavaScript Debugging Tips Part II for our previous segments.

In the past two JavaScript Debugging Tips posts on the Esri Support blog, we looked at the Network Tab and the Console Tab as part of the Google Chrome Developer Tools. While most modern browsers have some form of developer tools, here we use Chrome for our examples.

Our goal for this third blog post in the series is to introduce more advanced tips and tricks to enable you to more effectively debug and troubleshoot your JavaScript code. Specifically, we will focus on three areas: enhanced messaging to the console, better ways to set breakpoints using conditions specified at runtime, and a more efficient way of stepping through breakpoints in the Sources tab with a method called blackboxing. Continue reading

Posted in ArcGIS Online, export, SDK | Tagged , , , , , , , , , | 1 Comment

JavaScript Debugging Tips Part II – Google Chrome and the Console Tab

This blog post is the 2nd in a series of JavaScript debugging tips and tricks to help you on your way. See JavaScript Debugging Tips Part I – Google Chrome and the Network Tab for our first segment.


The most enjoyable part of any programming assignment is right near the beginning when you sit down with a pile of tools and resources and start hammering away at raw clumps of code. The more difficult part comes when you attempt to launch the application, only to watch that tightly-written code unravel into multiple late nights staring at a computer screen. However, all is not lost, as we have an excellent recommendation for you, which is the subject of this blog: the Console tab inside your favorite browser’s Developer Tools. Continue reading

Posted in export, SDK, Support.Esri.com | Tagged , , , , , | Leave a comment

Getting Comfortable with JavaScript API 4.0

Now that the ArcGIS API for JavaScript 4.0 has been released for a couple of weeks, this is an excellent opportunity to take a walk through some of the new syntax and functionality. This blog will go through a sample 3D application focusing on the Search widget. You can follow along with the sample code from the Esri Developer Support GitHub repository, and run the hosted sample here: View it Live.

Functionality-wise, the app displays a 3D map with four widgets: Search, Zoom, Compass, and Attribution. By default, the View includes the latter three widgets, as described in the documentation. If you’re not familiar with the 4.x changes, all mapping apps contain a map and a view. The map holds the data, and the view contains the visualization information for that data. In other words, the map is the subject, and the view is the camera; complete with filters, modes, and settings. All 2D apps will have MapViews, and 3D apps will have SceneViews (note: the term ‘scene’ indicates three dimensions across ArcGIS). The same applies for maps from ArcGIS Online and Portal for ArcGIS: a WebMap is 2D, and a WebScene is 3D.

2D map + 3D scene

2D map + 3D scene

Continue reading

Posted in export, SDK, Support.Esri.com | Tagged , , , , | 2 Comments

Introducing the Esri Support GitHub Repository

We are proud to announce that Esri Support is now on GitHub!

Esri Support and GitHub

Esri Support and GitHub

We recently released a Developer Support repository on GitHub that contains resources for troubleshooting, as well as proof of concept samples to support developers and those who are interested in development. Continue reading

Posted in export, SDK, Support.Esri.com | Tagged , , , , , , | Leave a comment

Support Dot Esri Dot Com

Excited Esri Support

Esri Technical Support is unlike any other Technical Support on the planet. But if you’ve ever opened a Support case before, you already know that. We provide world class support to our customers to help make them as successful as possible … Continue reading

Posted in export, Support.Esri.com | Tagged , , | Leave a comment

How to Plan a Great Map Event

JSFiddle

At Esri Technical Support, we enjoy working with JavaScript to create powerful web applications. I’d like to take this opportunity to share different ways of listening for events in our JavaScript API with On Style Events, which is the recommended pattern for event … Continue reading

Posted in export, SDK, Support.Esri.com | Tagged , , , | Leave a comment

JavaScript Events – Advocating for On Style Event Programming

Have you ever created a web application with the ArcGIS API for JavaScript? You may have noticed there are a variety of approaches to event-driven programming: the newer On Style events, the legacy Connect Style events, and events that are plugged directly into the body of an HTML page. Unless you are faced with adopting a legacy application that mixes patterns, it is a good idea to implement one event programming style: On Style.

The On Style events follow the Dojo framework’s most recent programming pattern, which I recommend to anyone using JavaScript API version 3.6 or higher. Here is a handy place to read more about working with events in the JavaScript API.

Continue reading

Posted in export, SDK, Support.Esri.com | Tagged , , , , | Leave a comment

The Esri UC Students and Me

San Diego Convention Center

Outside of work, in my non-technical Clark Kent life, whenever I tell people about the Esri User Conference, the first thing they say is: “That doesn’t sound like any conference I’ve ever been to.” They typically follow that comment with something like: … Continue reading

Posted in Announcements, export, Support.Esri.com | Tagged , , | Leave a comment

JavaScript Debugging Tips Part I – Google Chrome and the Network Tab

2_tools

This blog post is the first in a series of debugging tips and tricks to help you on your way.  It’s a jungle out there. And like it or not, it’s a jungle inside your application as well. Working through … Continue reading

Posted in ArcGIS Enterprise, ArcGIS Online, export, SDK, Support.Esri.com | Tagged , , | 2 Comments

Supporting Cast

Before I came to Esri, my mental image of technical support was of a few brainy analysts hunkered down in front of bright monitors on top of cluttered desks, strewn with cables and soda cans, happily clicking away down dark corridors in dimly lit offices. I imagined this was a department of autonomous people who knew everything, and the only limiting reagent to helping clients was the amount of time required to explain, and then implement the solution. This is much the same way I view car mechanics; when I have a problem, just describing the funny noises my car makes should suffice for them to diagnose and get started on the repairs. Turns out, I’m wrong.

Continue reading

Posted in export, Support.Esri.com | Tagged , | Leave a comment