Skip to contentEsri Developer
  • Documentation

    Maps and scenes

    Build 2D and 3D mapping applications with client APIs, the basemap styles service, and data services.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Portal and content management

    Use the portal service to create, manage, and access geospatial content and to also manage users and groups in your portal.

    Learn more in the Portal and data services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data hosting

    Import, manage, and access your data by creating data services in ArcGIS.

    Learn more in the Portal and data services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data visualization

    Style 2D and 3D data from feature services and scene services.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Spatial analysis

    Discover patterns, gain insights, and solve problems using the spatial analysis and raster analysis services.

    Learn more in the Spatial analysis services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Place search

    Find places and get detailed information for businesses, locations, and other points of interest with the places service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Geocoding addresses

    Search for addresses, reverse geocode, get suggestions, and batch geocode with the geocoding service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Routing and directions

    Find routes and directions or solve complex network problems with the routing service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Data enrichment

    Get local facts and demographic data for locations with the GeoEnrichment service.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Elevation

    Get elevation values for a single location or multiple locations on land or water.

    Learn more in the Mapping and location services guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Security and authentication

    Access secure content and services in ArcGIS with API keys, OAuth 2.0, and user authentication.

    Learn more in the Security and authentication guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Offline mapping apps

    Build applications that work when network connectivity is unreliable or entirely absent.

    Learn more in the Offline mapping apps guide

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor

    Find datasets

    Discover vector, raster, and table datasets for your applications.

    Learn where you can find datasets

    Topics

    • Mapping
    • Types of mapping apps
    • How to build a mapping app
    • Maps (2D)
    • Scenes (3D)
    • Basemaps
    • Custom basemap styles
    • Data layers
    • Web maps
    • Web scenes

    Tutorials

    • JavaScript Maps SDK
    • .NET Maps SDK
    • Kotlin Maps SDK
    • Swift Maps SDK
    • Flutter Maps SDK
    • Java Maps SDK
    • Qt Maps SDK
    • Unity Maps SDK
    • Unreal Engine Maps SDK
    • Leaflet
    • MapLibre GL JS
    • OpenLayers
    • CesiumJS
    • Python API
    • Map Viewer
    • Scene Viewer
    • Vector tile style editor
  • SDKs and APIs
  • Explore developer products
    • Explore help resources

      ArcGIS Maps SDK for JavaScriptReferences

      • Home
      • Sample Code
      • References
      • Showcase
      • Blogs
      • core
        • AttributeBinsGraphic
        • Basemap
        • Camera
        • CameraLayout
        • Color
        • Graphic
        • Ground
        • Map
        • PopupTemplate
        • Viewpoint
        • WebDocument2D
        • WebLinkChart
        • WebMap
        • WebScene
        • arcade
        • config
        • intl
        • kernel
        • request
        • unionTypes
        • analysis
        • core
        • editing
        • effects
        • form
        • geometry
        • graphic
        • ground
        • identity
        • layers
        • linkChart
        • networks
        • popup
        • portal
        • renderers
        • rest
        • smartMapping
        • statistics
        • support
        • symbols
        • tables
        • time
        • versionManagement
        • views
        • webdoc
        • webmap
        • webscene
        • widgets
          • AreaMeasurement2D
          • AreaMeasurement3D
          • Attachments
          • Attribution
          • BasemapGallery
          • BasemapLayerList
          • BasemapToggle
          • BatchAttributeForm
          • Bookmarks
          • BuildingExplorer
          • CatalogLayerList
          • Compass
          • CoordinateConversion
          • Daylight
          • DirectLineMeasurement3D
          • DirectionalPad
          • Directions
          • DistanceMeasurement2D
          • Editor
          • ElevationProfile
          • Expand
          • Feature
          • FeatureForm
          • FeatureTable
          • FeatureTemplates
          • Features
          • FloorFilter
          • Fullscreen
          • Histogram
          • HistogramRangeSlider
          • Home
          • LayerList
          • Legend
          • LineOfSight
          • Locate
          • Measurement
          • NavigationToggle
          • OrientedImageryViewer
          • Popup
          • Print
            • CustomTemplate
            • FileLink
            • LayoutOptions
            • LayoutTemplateInfo
            • MapSurroundInfoBase
            • MapSurroundInfoGroupElement
            • MapSurroundInfoLegend
            • MapSurroundInfoNorthArrow
            • MapSurroundInfoScaleLine
            • PrintViewModel
            • TemplateOptions
            • types
          • ScaleBar
          • ScaleRangeSlider
          • Search
          • ShadowCast
          • Sketch
          • Slice
          • Slider
          • Swipe
          • TableList
          • TimeSlider
          • TimeZoneLabel
          • Track
          • UtilityNetworkAssociations
          • UtilityNetworkTrace
          • UtilityNetworkValidateTopology
          • ValuePicker
          • VideoPlayer
          • Weather
          • Widget
          • Zoom
          • types
          • LinkChartLayoutSwitcher
          • UtilityNetworkTraceAnalysis
          • VersionManagement
          • smartMapping
          • support
      • map-components
      • charts-components
      • ai-components
      • embeddable-components
      • common-components
      • coding-components

      FileLink

      import FileLink from "@arcgis/core/widgets/Print/FileLink.js";
      const FileLink = await $arcgis.import("@arcgis/core/widgets/Print/FileLink.js");
      Inheritance:
      FileLink→Accessor
      Since
      ArcGIS Maps SDK for JavaScript 5.0

      Represents an exported map request from the result of the Print widget. Successful exports will have a URL that links to the printout. Failed ones will have information on what went wrong.

      Example
      const [Print, esriConfig] = await $arcgis.import([
      "@arcgis/core/widgets/Print.js",
      "@arcgis/core/config.js"
      ]);
      // ...
      view.when(function () {
      print = new Print({
      view: view,
      // specify your own print service
      printServiceUrl:
      "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
      });
      // Add widget to the top right corner of the view
      view.ui.add(print, "top-right");
      // use a requestInterceptor to monitor the print widget
      // for print completion
      esriConfig.request.interceptors.push({
      // set the `urls` property to the URL of the print service so that this
      // interceptor only applies to requests made to the print service URL
      urls: print.printServiceUrl,
      // use the AfterInterceptorCallback to interrogate the exportedLinks property
      after: function(response) {
      console.log("exportedLinks: ", print.exportedLinks.items[0]);
      }
      });
      });

      Constructors

      Constructor

      Constructor
      Parameters
      ParameterTypeDescriptionRequired
      properties
      FileLinkProperties
      See the properties table for a list of all the properties that may be passed into the constructor.

      Properties

      Any properties can be set, retrieved or listened to. See the Watch for changes topic.
      PropertyTypeClass
      count
      number | null | undefined
      declaredClass
      readonly inherited
      string
      Accessor
      error
      EsriError | null | undefined
      extension
      string | null | undefined
      formattedName
      string | null | undefined
      name
      string | null | undefined
      portalItem
      IPortalItem | null | undefined
      state
      "ready" | "error" | "pending"
      url
      string

      count

      Property
      Type
      number | null | undefined

      The location of the FileLink element in the array.

      declaredClass

      readonlyinherited Property
      Type
      string
      Inherited from: Accessor
      Since
      ArcGIS Maps SDK for JavaScript 4.7

      The name of the class. The declared class name is formatted as esri.folder.className.

      error

      Property
      Type
      EsriError | null | undefined

      The Error from the Print widget, if any.

      extension

      Property
      Type
      string | null | undefined

      The file type of the print-out.

      formattedName

      Property
      Type
      string | null | undefined

      The name of the FileLink, formatted with name, extension and count.

      name

      Property
      Type
      string | null | undefined

      The TemplateOptions.fileName or TemplateOptions.title of the print-out.

      portalItem

      autocast Property
      Type
      IPortalItem | null | undefined

      The PortalItem of the template.

      state

      Property
      Type
      "ready" | "error" | "pending"

      The state of the print-out. Either "ready" or "pending" or "error".

      Default value
      "pending"

      url

      Property
      Type
      string

      The Print.printServiceUrl of the print-out.

      Default value
      ""
      • Constructors
      • Properties
      Was this page helpful?

      Copyright © 2026 Esri . All rights reserved.

      • Privacy
      • Terms of Use

      Sign up to receive the latest news from Esri