@esri/arcgis-rest-portal

ArcGIS Online and Enterprise content and user helpers for ArcGIS REST JS.

Install

1
npm install @esri/arcgis-rest-portal

Import

@esri/arcgis-rest-portal is distributed as both ES Modules and Common JS modules.

1
import * as portalTools from "@esri/arcgis-rest-portal"
1
const portalTools = require("@esri/arcgis-rest-portal");

CDN

You can use @esri/arcgis-rest-portal as an ES Module from the esm.run CDN.

1
2
3
<script type="module">
  import * as portalTools from "https://esm.run/@esri/arcgis-rest-portal@4.5.0";
</script>

You can also use @esri/arcgis-rest-portal from a script tag. All exports will be added to a global arcgisRest object.

1
2
3
4
<script
  src="https://unpkg.com/@esri/arcgis-rest-portal@4.5.0/dist/bundled/portal.umd.js"
  integrity="sha512-woZ7/O5Wg0nNahdw2KkpROhzgSXvocL3xR9Z9wju/PpJKr9mX34P7qSAUPYPLyTfYVlkCQLCNTaNv9+1a6Ep9g==">
</script>

Exports

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close