|
POST
|
Hi everyone, We have recently migrated to the utility network and have several group templates setup for our editing processes. We are having problems troubleshooting an issue where ArcGIS Pro is not recognizing the fact that we have selected a different group template to use. For example, a user may have successfully used one group template (8" water main ending with an Elbow) and then wants to switch to a different template (8" water main ending with a valve). When the user draws using the second template, the first template is actually drawn. That is just one example, but I could spell out numerous examples between other templates where we have this problem. Has anyone else come across this or is this a known bug/issue?
... View more
10-20-2023
07:59 AM
|
0
|
0
|
649
|
|
POST
|
Thanks Scott, this is a good place to start. Any idea on how custom widgets and their configurations could be copied over? It appears that these are not supported with this tool.
... View more
10-18-2023
01:17 PM
|
0
|
1
|
3450
|
|
POST
|
Hi everyone, I have recently created a web app builder application on our development portal, which includes an underlying web map and services published within the same portal. Does anyone have any recommendations on how to copy all of this to another portal (our production portal) without having to recreate everything from scratch? I would assume that I will need to republish the same services I was working with in our development portal to our production portal. But is there a way to point a copy of the development webmap to the new services and then point a copy of the webapp builder application to the new webmap? Any help or guidance would be greatly appreciated. Thanks,
... View more
10-18-2023
11:54 AM
|
0
|
4
|
3527
|
|
DOC
|
Hi Robert, this is a great widget! I have configured several layers in this widget, but I am having problems getting attribute values to display for one of my layers. Below is a screen shot of "Leaks Breaks", where the attribute values display in the attribute table but not in the widget. Any ideas on how this could be?
... View more
10-06-2023
11:58 AM
|
0
|
0
|
4899
|
|
POST
|
I have been testing out some street view widgets that have been posted in this group and I noticed one that was working on this site: https://www.sagis.org/map/. Is this widget available anywhere for download? I really like how this looks and works.
... View more
10-05-2023
07:36 AM
|
3
|
1
|
2196
|
|
POST
|
Hi Kevin, Do you know if the streetview and earth widget shown here: http://www.sagis.org/map is available for download somewhere? We would love to use this in our internal web app builder application. Thanks,
... View more
10-04-2023
09:26 AM
|
0
|
0
|
7560
|
|
POST
|
Thanks Jake, with a slight modification to your suggestion, it worked! Just changed the index number to 5 in row 13. Thanks for your help! import arcpy
import os
import requests
fc = arcpy.GetParameterAsText(0)
dest_path = arcpy.GetParameterAsText(1)
print(fc)
cursor = arcpy.SearchCursor(fc)
with arcpy.da.SearchCursor(fc, ['LINK']) as cursor:
for row in cursor:
print("Downloading: " + row[0])
response = requests.get(row[0])
outputFile = row[0].split("/")[5]
print(outputFile)
with open(dest_path + '\\' + outputFile, 'wb') as f:
print(f)
f.write(response.content)
del cursor
... View more
09-25-2023
08:53 AM
|
0
|
0
|
1822
|
|
POST
|
Thanks Jake! Do you know how to reference the a feature class field that has the URL in it? The script below returns an error showing that the "LINK" field is an invalid URL. I'm guessing I probably have an incorrect syntax? import arcpy
import os
import requests
fc = arcpy.GetParameterAsText(0)
dest_path = arcpy.GetParameterAsText(1)
print(fc)
cursor = arcpy.SearchCursor(fc)
for row in cursor:
#url format = http://wapgis61/Scans/101-005/101-005.pdf
url = "LINK"
print ("Downloading: " + url)
response = requests.get(url)
with open(dest_path, 'wb') as f:
f.write(response.content)
print("Download Complete")
... View more
09-21-2023
01:42 PM
|
0
|
0
|
1862
|
|
POST
|
I recently wrote this script to download files from a file server using a folder path. For example the "LINK" field has values such as this: "\\wapgis61\Scans\101-005\101-005.pdf". We have recently changed the source data to to reference a virtual directory which uses URL's. For example, the path referenced earlier is accessed with a URL like this: http://wapgis61/Scans/101-005/101-005.pdf . Does anyone know how to modify this script to extract files that a referenced with a URL instead of a UNC path? import arcpy
import os
import shutil
fc = arcpy.GetParameterAsText(0)
dest_path = arcpy.GetParameterAsText(1)
print(fc)
cursor = arcpy.SearchCursor(fc)
for row in cursor:
field = "LINK"
link = (row.getValue(field))
head, tail = os.path.split(str(link))
print ("Downloading: " + tail)
shutil.copy(link, dest_path)
print("Download Complete")
... View more
09-21-2023
10:43 AM
|
0
|
4
|
1927
|
|
POST
|
Thank you, this clarifies the confusion I was having between the two different editions. Does the same concept apply for experience builder? I'm guessing you only need the developer edition to create or modifying a custom widget?
... View more
09-08-2023
10:07 AM
|
0
|
1
|
2017
|
|
POST
|
Hi everyone, We have recently deployed ArcGIS Enterprise 10.9.1 and are looking into adding custom widgets to Web AppBuilder. I found this documentation on how to add custom widgets but am uncertain if we need to install the developer edition in order to do this? I am not a server administrator, so any suggestions or recommendations you can provide me to forward to our IT staff would be greatly appreciated!
... View more
09-07-2023
01:58 PM
|
0
|
3
|
2049
|
|
POST
|
I would love this enhancement in ExB! We currently use multiple layer list widgets in our applications showing water, wastewater, etc...
... View more
08-22-2023
11:05 AM
|
2
|
2
|
7756
|
|
POST
|
Thank you! Switching the folder to an input parameter did the trick!
... View more
07-07-2023
02:17 PM
|
0
|
0
|
4530
|
|
POST
|
Thanks Chris for the suggestion - yes that is better! Here is the original python window script that runs successfully: import arcpy
import os
import shutil
aprx = arcpy.mp.ArcGISProject("CURRENT")
# Change to Name of Working Map
map = aprx.listMaps("Map")[0]
# Change to the location of the plan ref layer in your map
fc = map.listLayers()[0]
print(fc)
cursor = arcpy.SearchCursor(fc)
for row in cursor:
field = "LINK"
link = (row.getValue(field))
head, tail = os.path.split(str(link))
print ("Downloading: " + tail)
# Set Download Location
dest_path = r"H:\Data Requests\ExportFolder"
shutil.copy(link, dest_path)
print("Download Complete") Here is the script tool code: import arcpy
import os
import shutil
fc = arcpy.GetParameterAsText(0)
print(fc)
cursor = arcpy.SearchCursor(fc)
for row in cursor:
field = "LINK"
link = (row.getValue(field))
head, tail = os.path.split(str(link))
print ("Downloading: " + tail)
# Set Download Location
dest_path = arcpy.GetParameterAsText(1)
shutil.copy(link, dest_path)
print("Download Complete")
... View more
07-07-2023
12:11 PM
|
0
|
0
|
4546
|
|
POST
|
Hi everyone, I created a script that runs successfully in the ArcGIS Pro python window, but I would like to re-create this as a script tool to eventually be used for a geoprocessing service. I am having problems setting the output folder in the script tool. What is the correct data type to use when setting up the tool parameters? I've tried "Folder", "Workspace", and "String" with no success. (See below) Basically the script copies files from a file directory based off a user selection and a hyperlink to the file using the "LINK" field. Any suggestions would be greatly appreciated! Here is the original python window script that runs successfully: import arcpy import os import shutil aprx = arcpy.mp.ArcGISProject("CURRENT") # Change to Name of Working Map map = aprx.listMaps("Map")[0] # Change to the location of the plan ref layer in your map fc = map.listLayers()[0] print(fc) cursor = arcpy.SearchCursor(fc) for row in cursor: field = "LINK" link = (row.getValue(field)) head, tail = os.path.split(str(link)) print ("Downloading: " + tail) # Set Download Location dest_path = r"H:\Data Requests\ExportFolder" shutil.copy(link, dest_path) print("Download Complete") Here is the script tool code: import arcpy import os import shutil fc = arcpy.GetParameterAsText(0) print(fc) cursor = arcpy.SearchCursor(fc) for row in cursor: field = "LINK" link = (row.getValue(field)) head, tail = os.path.split(str(link)) print ("Downloading: " + tail) # Set Download Location dest_path = arcpy.GetParameterAsText(1) shutil.copy(link, dest_path) print("Download Complete")
... View more
07-07-2023
11:01 AM
|
0
|
4
|
4596
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-13-2025 08:00 AM | |
| 1 | 02-03-2025 07:35 AM | |
| 1 | 11-25-2024 10:06 AM | |
| 1 | 08-07-2024 11:10 AM | |
| 1 | 06-18-2024 03:06 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-01-2025
08:53 AM
|