Questions tagged [hosted-feature-layer]

Hosted feature layers support vector feature querying, visualization, and editing. Hosted feature layers are most appropriate for visualizing data on top of your basemaps. In web apps, hosted feature layers are drawn by the browser and support interactive highlighting, queries, and pop-ups.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

ArcGIS API for Python Create Feature Service with Feature Layer and Table from Shapefile and CSV

I have a point shapefile with one field, a unique id called reg_no. I have a csv file with a reg_no column and other fields. I want to create a Feature Service in AGOL with the point geometry as a ...
user avatar
0 votes
0 answers
19 views

What's the maximum size limit of a Hosted FeatureLayer

I am looking at designing some surveys and noted that Survey123 uses Hosted FeatureLayers, rather than a Hosted FeatureService. I recall there being a limit on the size of these layers (2GB?) but ...
user avatar
  • 4,817
0 votes
0 answers
15 views

AGOL Accidental Deletion of GDB needed to Overwrite Hosted Feature Layer - how to reupload GDB?

I have a hosted feature layer that I routinely update via the Overwrite function. The underlying geodatabase item was accidentally deleted, removing the Overwrite function to the hosted feature layer. ...
user avatar
0 votes
0 answers
32 views

When appending records from one AGOL feature service to another, using python, how do you preserve parent-child relationships between features?

In my input feature service (a Survey123 survey) there are 4 layers: template (0), points (1), lines (2), and polygons (3). Template features are related to point features, line features, and polygon ...
user avatar
0 votes
0 answers
14 views

ArcGIS Collector: Clicking Pop-Up pans map to Central African Republic

I'm using the most recent version of ArcGIS Collector. I have a web map with a point feature class, a line hosted feature class, two polygon hosted feature classes, ESRI World Imagery as a basemap, ...
user avatar
0 votes
0 answers
14 views

Domain and subtypes in ArcGIS [duplicate]

I read the articles on domains and subtypes in ArcGIS, but I still dont get it. It seems like subtypes are more like domains. Can someone explain the key differences and when to use it? Can you share ...
user avatar
1 vote
0 answers
117 views

How to use Hosted Feature Layer in ArcGIS Pro from ArcGIS Online Content without editing original Layer file

I am accessing a certain hosted feature layer from ArcGIS Online Content storage that has both a point and polyline layer. I want to open the file in ArcGIS Pro and make an editable copy that will NOT ...
user avatar
  • 11
2 votes
0 answers
300 views

arcgis to_featurelayer() crashes kernel with ImportError: PyCapsule_Import could not import module "datetime" [closed]

My python kernel and ArcGIS both crash when I try to export a spatially enabled DataFrame to a featurelayer or featureclass in one of my virtual environments. In addition to the python and ArcGIS ...
user avatar
0 votes
1 answer
84 views

Setting workspace environment for hosted feature layers

I have a simple script that I want to use to export multiple hosted feature layers at once. This is my code: import arcpy fcList = arcpy.GetParameterAsText(0) #input hosted feature layers ...
user avatar
  • 452
1 vote
1 answer
36 views

editingEnabled Property is always return as True for feature layers

I have hosted two feature layers in ArcGIS Online 10.8 and consumed it as portal items in my webmap application using ESRI Javascript API 4.19. I have enabled editing for one feature layer and not ...
user avatar
  • 973
0 votes
1 answer
146 views

Maintain maxRecordCount when updating hosted feature service on ArcGIS Online

I have a hosted layer in ArcGIS Online, and I've updated its maxRecordCount value as per the instructions at https://support.esri.com/en/technical-article/000012383 Max Record Count: 25000 Whenever I ...
user avatar
  • 20.5k
1 vote
1 answer
754 views

Layer did not draw completely ArcGIS Online

I am trying to set the visualization properties of a layer in ArcGIS Online. After uploading the shapefile and publish it as a hosted layer, I go to the visualization setup window but a warning sign ...
user avatar
  • 485
0 votes
1 answer
46 views

ArcGIS Online Hosted Feature Layer activity log export

Is there a way to export an ArcGIS Online Hosted Feature Layer activity log? The main focus here is to establish who deleted features
user avatar
3 votes
1 answer
260 views

What is the correct syntax for the item.publish command to update a hosted feature layer?

Trying to use the code provided at the bottom of this entry overwrite feature class in arcgis online using python to overwrite an existing hosted feature layer in my ArcGIS Online content. I have ...
user avatar
  • 186
0 votes
0 answers
167 views

Filtering layers in web map legend based on viewing extent using ArcGIS Online

I am creating a web map for my organization which has several natural preserve sites in a given state. This is intended as a simple introduction for the public where they can view basic details of all ...
user avatar
0 votes
1 answer
2k views

Failed to publish web layer - ArcGIS Pro and ArcGIS Portal

I'm attempting to create a new hosted Service Layer, from a FileGDB, on ArcGIS Portal, using the publication tools inside of ArcGIS Pro. I have done this successfully before with other data. This ...
user avatar
  • 2,617
0 votes
0 answers
200 views

Deleting existing data and thereafter appending updated data to hosted feature layer (layer within group layer) in ArcGIS Online

I am trying to figure out how to append new data to an existing feature layer in ArcGIS Online. I have tried to solely append the data (in ArcGIS Online), but the problem arises when I receive ...
user avatar
  • 27
0 votes
1 answer
220 views

Search Cursor cannot access hosted table in ArcGIS Online using Notebooks

I am receive a Runtime Error when using a Search Cursor on a hosted Table in ArcGIS Online and I cannot figure out why. I am using an AGOL Notebook. The message is that it cannot access the Table. ...
user avatar
  • 1
0 votes
0 answers
366 views

Updating/overwriting multiple layers within a feature layer in ArcGIS Online from a fgdb containing all the new feature classes

I am looking for a method to upload and replace multiple layers in ArcGIS Online that are stored within a (hosted) feature layer. I have the feature classes to be used to update (and identical in ...
user avatar
  • 27
0 votes
1 answer
63 views

HTTPS post to ArcGIS Online feature layer

In an external system, I want to invoke an HTTPS post that would create records in ArcGIS Online. Is there a mechanism in ArcGIS Online that can receive HTTPS posts?
user avatar
  • 754
1 vote
1 answer
183 views

Query a JOINED ArcGIS Online resultset (via an HTTP request)

In a related question, we determined that it's possible to query an ArcGIS Online FC via an HTTP request. (I'll refer to the feature class as FC1.) In addition to the above, I want to dynamically join ...
user avatar
  • 754
0 votes
0 answers
835 views

Update table row failed. The row contains a bad value

I'm currently editing a table of a hosted feature layer in ArcGIS Pro. I cannot edit the table without receiving this error, which blocks my edits. There are no joins to it. What I can remember doing ...
user avatar
  • 798
0 votes
2 answers
187 views

Query an ArcGIS Online FC via an HTTP request

I have data that is hosted by ArcGIS Online. I want to query ArcGIS Online via an HTTP request. The response would be a JSON object (similar to this). What would it take to query a hosted ArcGIS ...
user avatar
  • 754
1 vote
1 answer
139 views

Problem creating FeatureLayer object in esri javascript API

I'm just a simple farmer tending to his ArcGIS online hosted feature layers. I pinpointed the problem as that I can't seem to properly create a FeatureLayer object based on a url to a hosted feature ...
user avatar
  • 13
3 votes
1 answer
620 views

Edit field schema of web layer in ArcGIS Pro

I would like to edit the field schema of a web layer in ArcGIS Pro via Design --> Fields but I get the error message "the table or feature class corresponding to this view is read-only". To clarify, ...
user avatar
  • 31
1 vote
1 answer
135 views

Reading FeatureLayer Attributes into 2D JavaScript Array in ArcGIS API for JavaScript

I am wondering if/how attributes of a Hosted Feature Layer can be read into a 2d Javascript Array using ArcGIS API for JavaScript 4.x? I need a 2D Matrix of all attributes values to run some analysis....
user avatar
1 vote
1 answer
2k views

Publish file geodatabase to ArcGIS Online using ArcGIS API for Python

I am reading in the documentation it should be possible to publish a local file geodatabase as a hosted feature layer to ArcGIS Online. I have been trying different things, but that job keeps failing. ...
user avatar