|
POST
|
Is BUG-000103046 really fixed? I'm in Pro v. 3.5.2 and I can not add a locator to a project from an Enterprise Portal using the Catalog. I can navigate to the locator I want but when I click it it never loads. The one time I got it to show up in Catalog it was broke.
... View more
05-04-2026
07:03 AM
|
0
|
5
|
868
|
|
POST
|
Thanks @DanPatterson , I'm using a Python Toolbox because the end product not mentioned here requires it. Value table got me a step closer it appears. Now I'm able to get param1 Address Field to populate with fields from the input CSV. I also gave it an out file param. But, all the params still don't seem to be functioning as a whole. def getParameterInfo(self):
"""Define the tool parameters."""
# 1st param
param0 = arcpy.Parameter(
displayName="Your CSV",
name="your_csv",
datatype="DEFile",
parameterType='Required',
direction='Input'
)
param1 = arcpy.Parameter(
displayName='Address Field',
name='ADDRESS',
datatype='GPValueTable',
parameterType='Required',
direction='Input'
)
param1.parameterDependencies = [param0.name]
param1.columns = [['Field', 'Field']]
# 2nd param
param2 = arcpy.Parameter(
displayName="Geocoder",
name='geocoder',
datatype="DEAddressLocator",
parameterType='Required',
direction='Input'
)
# 3rd param
param3 = arcpy.Parameter(
displayName="Out File",
name='out_file',
datatype="DEFile",
parameterType='Required',
direction='Output',
)
params = [param0,param1,param2,param3]
return params
def execute(self, parameters, messages):
"""The source code of the tool."""
import arcpy
arcpy.geocoding.GeocodeFile(
in_table=parameters[0].valueAsText,
locator=parameters[2].valueAsText,
address_fields=parameters[1].valueAsText,
output_type=parameters[0].valueAsText,
# output_location=r"C:\Users\me\test",
# output_name="geocodedfile",
# country=None,
# location_type="ROUTING_LOCATION",
# category=None,
# output_fields="ALL"
)
... View more
04-30-2026
09:15 AM
|
0
|
3
|
1060
|
|
POST
|
I'm attempting to create a python toolbox script that geocodes a CSV. It will be my version of the Geocode Addresses tool. What do I need to do to get the Field parameter to accept the 'ADDRESS' field of my CSV? Right now, the 3rd param accepts a Field datatype. I didn't see a good option in parameter controls either. If i run this tool as is I receive errors. Two of the errors mention needing an output parameter, which I'll get to. I'm assuming Error 000800 is referring to the Field parameter, but beyond that I don't really know. Maybe it's in the script itself. class GeocodeFile:
def __init__(self):
"""Define the tool (tool name is the name of the class)."""
self.label = "Geocode File"
self.description = "Geocodes a local file and saves it back to the same directory."
self.params = arcpy.GetParameterInfo()
def getParameterInfo(self):
"""Define the tool parameters."""
# 1st param
param0 = arcpy.Parameter(
displayName="Your CSV",
name="your_csv",
datatype="DEFile",
parameterType='Required',
direction='Input'
)
# 2nd param
param1 = arcpy.Parameter(
displayName="Geocoder",
name='geocoder',
datatype="DEAddressLocator",
parameterType='Required',
direction='Input'
)
# 3rd param
param2 = arcpy.Parameter(
displayName="Field",
name='fields',
datatype="Field",
parameterType='Required',
direction='Input',
)
# param2.controlCLSID = '{172840BF-D385-4F83-80E8-2AC3B79EB0E0}'
# param2.value="ADDRESS"
params = [param0,param1,param2]
return params
def isLicensed(self):
"""Set whether the tool is licensed to execute."""
return True
def updateParameters(self, parameters):
"""Modify the values and properties of parameters before internal
validation is performed. This method is called whenever a parameter
has been changed."""
return
def updateMessages(self, parameters):
"""Modify the messages created by internal validation for each tool
parameter. This method is called after internal validation."""
return
def execute(self, parameters, messages):
"""The source code of the tool."""
import arcpy
arcpy.geocoding.GeocodeFile(
in_table=parameters[0].valueAsText,
locator=parameters[1].valueAsText,
address_fields=parameters[2].valueAsText,
output_type=parameters[0].valueAsText,
# output_location=r"C:\Users\test",
# output_name="geocodedfile",
# country=None,
# location_type="ROUTING_LOCATION",
# category=None,
# output_fields="ALL"
)
return
def postExecute(self, parameters):
"""This method takes place after outputs are processed and
added to the display."""
return
... View more
04-29-2026
01:31 PM
|
0
|
6
|
1145
|
|
POST
|
Hi @xlt208 @PatricePineaultWSP @MarcHoogerwerf_EsriNL, Any update? Trying to get a script tool imported into ExB to upload a locally stored table (xlsx, csv) seems impossible. The Add Data Tool was the only thing that allowed what seems like such a simple task and that is currently suffering from a BUG that errors on a CSV with an 'Address' field.
... View more
04-28-2026
01:38 PM
|
0
|
0
|
1474
|
|
POST
|
Thanks @DanPatterson , I did notice the different tiers of Notebooks when creating a new one albeit never bothered to try the Advanced one. So, i recreated the tool in an Advanced Notebook and I'm no longer getting the error.
... View more
04-23-2026
11:23 AM
|
0
|
0
|
517
|
|
POST
|
Where do I go to install modules to run in AGOL Notebooks? I've read you can import them by running in a cell, for ex: !pip install geopandas But, why isn't arcpy accessible?
... View more
04-23-2026
07:34 AM
|
0
|
2
|
568
|
|
POST
|
No info on script tool parameters to be found here: https://doc.arcgis.com/en/arcgis-online/get-started/get-started-with-notebooks.htm Generally speaking, how does a parameter work? Is it like a Pro script tool parameter? How do I fill it out? For example, for Pro you just put arcpy.GetParameterAsText(0) in place of the variable in the script. And then based on the 0 index you fill out the parameters for the tool. I have a short script I'd like to make into a tool to ultimately be used in ExB. It geocodes a CSV file. There should only be two variables concerning the user: the CSV in file and the CSV out file. Once you fill out the Add parameter pane and enter something in the Default value (?) box you can save. It then gives you the option to insert the variable. Not sure where to insert it? '''
csv file > df > gdf > shp
'''
import pandas as pd
import geopandas as gpd
# read csv file
f = r'C:\pathto\infile.csv'
file = pd.read_csv(f)
# convert to dataframe
df = pd.DataFrame(file)
# geocode
gdf = gpd.tools.geocode(df['ADDRESS'])
# extract lat long from geometry and put into dataframe
df['latitude'],df['longitude'],df['geometry'] = gdf.geometry.y, gdf.geometry.x, gdf.geometry
# generate GeometryArray of shapely Point geometries from x, y(, z) coordinates.
gdf = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.longitude, df.latitude), crs="EPSG:4326") #crs is optional
# write to shapefile
gdf.to_csv(r'C:\pathto\outfile.csv')
... View more
04-22-2026
12:06 PM
|
0
|
0
|
331
|
|
POST
|
Sorry to put you through that. Your first response worked. I swore I tried that.
... View more
04-20-2026
01:20 PM
|
1
|
1
|
687
|
|
POST
|
I can't seem to disable the popup on the search component for a feature layer. Here is a simple sample. To recreate my problem search "man". Click MANHATTAN under town. There's a popup on this feature I can't get rid of. I've been looking and trying all the relevant properties I can find for both the arcgis-search and arcgis-features to disable the popup. Nothing worked sofar. I've included popup-disabled in the arcgis-map component too. Is there a way to stop the popup in the code and not on the feature itself in AGOL? EDIT: I should add in my actual app I have other feature layers that I want popups enabled so I can't really disable them in the arcgis-map component.
... View more
04-17-2026
08:45 AM
|
0
|
4
|
813
|
|
POST
|
Thanks for that. I'm forced to find an alternative to the Add Data Tool in ExB. It has a BUG which stopped it from uploading a csv with a field labeled Address.
... View more
04-15-2026
12:34 PM
|
0
|
0
|
718
|
|
POST
|
Ok, thanks, useful info. It doesn't sound like this will work for what I'm trying to do. Ultimately, there will be non-GIS users uploading csv files in the ExB app from who knows what directories.
... View more
04-15-2026
11:11 AM
|
0
|
1
|
741
|
|
POST
|
This post was never resolved: https://community.esri.com/t5/arcgis-notebooks-questions/trouble-with-reading-local-csv-data-into-notebooks/td-p/1383788 I have the same question. I have a very simple script I'm attempting to use as a custom web tool in ExB. It works fine in Pro. In AGOL Notebooks I'm having trouble getting past the first function. It's probably because I'm not too familiar with Notebooks within AGOL. '''
csv file > df > gdf > shp
'''
from arcgis.gis import GIS
gis = GIS("home")
import pandas as pd
import geopandas as gpd
# read csv file
f = r'C:\Users\me\Report_updated.csv'
file = pd.read_csv(f)
# convert to dataframe
df = pd.DataFrame(file)
# geocode
gdf = gpd.tools.geocode(df['ADDRESS'])
# extract lat long from geometry and put into dataframe
df['latitude'],df['longitude'],df['geometry'] = gdf.geometry.y, gdf.geometry.x, gdf.geometry
# generate GeometryArray of shapely Point geometries from x, y(, z) coordinates.
gdf = gpd.GeoDataFrame(df, geometry=gpd.points_from_xy(df.longitude, df.latitude), crs="EPSG:4326") #crs is optional
# write to shapefile
gdf.to_csv(r'C:\Users\me\report_geocode.csv') I've put the file in local directories, network directories, used a relative path, reversed the slashes, etc... I usually end up with FileNotFoundError.
... View more
04-15-2026
09:35 AM
|
0
|
4
|
786
|
|
POST
|
What I'm going through turned out to be a BUG: Steps to Reproduce: Download sample csv file attached. This csv file has one field "address" and 10 random addresses. Create a new Experience Builder in ArcGIS Online. Add the "add data" widget. Save, publish and launch the app. Click on file upload to add data. Select the downloaded sample csv file. The csv file fails to upload. Other Information: If the csv file has "address" or "Address" field, the upload through the add data widget fails. It fails during the /generate ArcGIS REST API call. When the first field in the csv file is "address", the /analyze ArcGIS REST call sets the "locationType" property in the publish parameter for /generate to "address". When the /generate is called via the "add data" widget with locationType "address", the request fails with a response: "error": {
"code": 400,
"message": "Service request failed.\r\nStatus: 404 (The specified blob does not exist.)\r\nErrorCode: BlobNotFound\r\n\r\nHeaders:\r\nTransfer-Encoding: chunked\r\nx-ms-request-id: 6df340df-a01e-0055-13c5-c29188000000\r\nx-ms-client-request-id: 717be237-804f-4fd7-b079-cfe2823266d4\r\nx-ms-version: 2025-05-05\r\nx-ms-error-code: BlobNotFound\r\nAccess-Control-Expose-Headers: REDACTED\r\nAccess-Control-Allow-Origin: *\r\nDate: Thu, 02 Apr 2026 17:22:02 GMT\r\nServer: Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0\r\n",
"requestId": "",
"traceId": "b18128b84db0f82964525ab3c200f968"
} If the field is set to a different value, such as "addy" the /analyze will set the locationType to "unknown" and the upload will succeed. However, this cannot be used later to create features using the csv file's address data. There is no limitation specified in the documentation for "Add data" widget for using Address field. For example, "geocoding address to coordinates is not possible to create features", "use only lon, lat fields for feature location data", etc. Users tend to reference ArcGIS Online general support for csv files. Address field is supported and is geocoded to publish hosted feature layer in ArcGIS Online. https://doc.arcgis.com/en/arcgis-online/reference/csv-gpx.htm
... View more
04-02-2026
02:15 PM
|
0
|
1
|
1119
|
|
POST
|
With help of Support this was resolved. Workflow: First we created a new test app in v1.20. This generated a new app folder in the exp builder dev edition in the server folder. In the test app's path expBuilderv1.20/server/public/apps/<testApp>, we opened the info.json file. In the info.json file, the portalUrl property was set to "https://WillCountyGIS.maps.arcgis.com" by default. Comparing it with the portalURL property of the info.json file of the apps in v1.16, we found that the portalUrl was the same but with different casing "https://willcountygis.maps.arcgis.com". This difference caused the apps to not be recognized in the v1.20 exp builder. Then we simply copied all the apps to upgrade from v1.16/server/public/apps to the server/public/apps folder of v1.20 as suggested by the documentation: https://developers.arcgis.com/experience-builder/guide/upgrade/ Finally, we changed the portalUrl to "https://WillCountyGIS.maps.arcgis.com" for all the copied app's info.json in v1.20. We also made sure the id property matched the number on the app folder.
... View more
04-02-2026
02:10 PM
|
0
|
0
|
618
|
|
POST
|
This happened last time I migrated two years ago to v 1.16. Now I can't seem to get my apps to show on the localhost:3001 page for the most recent upgrade. Following the migrate instructions, it should be simple. I downloaded the new version. There was no apps folder under server/public so I created one. Then I copied over an apps folder from the old version (v 1.16). I opened the local page and I actually seen my app for a split second flash on the screen, but after that no app. I created a new Client ID in AGOL. No difference. The info.json is still showing version 1.16.0.
... View more
04-01-2026
09:51 AM
|
0
|
1
|
696
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-25-2026 12:25 PM | |
| 1 | 05-04-2026 08:45 AM | |
| 1 | 04-20-2026 01:20 PM | |
| 1 | 07-24-2025 01:27 PM | |
| 1 | 11-13-2025 08:22 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|