How to use @esri/arcgis-rest-service-admin - 2 common examples

To help you get started, we’ve selected a few @esri/arcgis-rest-service-admin examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Esri / solution.js / packages / common / src / restHelpers.ts View on Github external
return new Promise((resolve, reject) => {
    serviceAdmin.addToServiceDefinition(url, options).then(
      () => {
        resolve();
      },
      e => reject(generalHelpers.fail(e))
    );
  });
}
github Esri / solution.js / packages / common / src / restHelpers.ts View on Github external
createOptions => {
        serviceAdmin.createFeatureService(createOptions).then(
          createResponse => {
            resolve(createResponse);
          },
          e => reject(generalHelpers.fail(e))
        );
      },
      e => reject(generalHelpers.fail(e))

@esri/arcgis-rest-service-admin

Service administration helpers for @esri/arcgis-rest-js

Apache-2.0
Latest version published 24 days ago

Package Health Score

85 / 100
Full package analysis