Tag Info

Hot answers tagged

4

If you have admin access (that is access to the admin REST endpoint, you can get information about the workspace from the manifest). For example: http://SERVER:6080/arcgis/admin/services/SERVICENAME.MapServer/iteminfo/manifest/manifest.json?f=pjson Yields: "databases": [{ "byReference": false, "onServerWorkspaceFactoryProgID": ...


3

This is accessible via the homepage of your Web App Builder. Highlight your map then hit the ellipsis at the right-hand side of the page, and there's a Download option. Unzip the resulting files into your web server directory (eg C:\inetpub\wwwroot on a PC, /Library/WebServer/Documents on a Mac, etc)


2

According to this page the spatial rel enum for intersect: Returns a feature if any spatial relationship is found. Applies to all shape type combinations. and for overlap: Returns a feature if the intersection of the two shapes results in an object of the same dimension, but different from both of the shapes. Applies to Area/Area, Line/Line, ...


2

I can understand why its not working, but its difficult to type out and explain the whole reason - so I'll just explain the better way to do what you want to do: Make feature layer isn't required in your workflow. You're using it to help select a featurelayer on something that is already a layer. (You arent making a layer, nor using the expression) Instead ...


2

I think what you're trying to do would use a combo of the Draw tool and the FeatureLayer applyEdits method. This sample kind of gets you started, but the workflow is use Draw tool, on draw-end event, add drawn graphic using applyEdits method of FeatureLayer. I don't have a solid example on hand, but here is a simple-edit-widget and sample code from my book. ...


2

I am unsure which Esri Distributor you are referring to, but be aware that each Distributor has their own company policies. I am part of Esri's ArcGIS for Server product management team and my technical focus is on ArcGIS for Server, Portal for ArcGIS, & Web mapping. I am happy to discuss this item further via direct contact.


1

The Try/except does work - the problem here is GP Services have defined inputs and outputs. When you publish it and go look at the REST end point of the service, you'll see how these items are defined. Your service expects an output of a certain type. When your service "fails", it doesn't return whats expected of it and you get that error. If you don't want ...


1

As you said, Esri is just one of many OAuth providers so you'll have to 'roll our own code' in any situation that the individual vendor's samples don't demonstrate exactly what you need to achieve. With regard to whether or not youre missing something basic, i can't really tell from your question. Any authentication you trigger with third party OAuth ...


1

The easiest way is to export your feature classes to feature classes. Esri HowTo: Remove Z- and/or M-values from a feature class 1.Browse to ArcToolbox > Conversion Tools > To Geodatabase. 2.Open the Feature Class to Geodatabase (multiple) tool. 3.Add all the feature classes into the Input Feature Class parameter. 4.Select an Output Geodatabase. ...


1

The 10.2.2 release is a full install, not just a service pack (it need not be applied on top of 10.2 or 10.2.1; it should apply over an existing install, though you generally want to be extra-rigorous about your backups, just in case there are issues). I'd recommend applying the 10.2.2 release, then all the relevant patches in chronological order (reverse ...


1

Intercept the Print request by using the esri/request setRequestPreCallback method. Parse the WebMap String to convert it to JSON. Change your layer id's and stringify back. esriRequest.setRequestPreCallback(function(ioArgs) { if (ioArgs.content && ioArgs.content.Web_Map_as_JSON){ //Intercept Print Call var webMapAsJson = ...


1

This problem was "solved" (really more of a workaround) by changing the projection/transformation of the data frame in the map service to Web Mercator (WGS84). This allowed me to not have to reproject data that we have stored in a SDE and still symbolize the points correctly in my web app. Hope this helps someone in the future.


1

Have you seen output spatial reference on the geoprocessing endpoint itself? https://developers.arcgis.com/javascript/jsapi/geoprocessor-amd.html#outspatialreference and Output spatial reference (coordinate system)


1

You cannot capture selecting a feature template and creating a feature on the map using, for instance, with Selenium IDE. This is because those things don't happen at the client side, and the testing software is not aware of JS API and considers editing templates to be just a group of CSS elements. Actually, you can test those kinds of interactions. ...


1

The answer is provided in the following screenshot In Step number 3 " choose a locator" browse and select the published geocoding service from your server.



Only top voted, non community-wiki answers of a minimum length are eligible