POST
|
Hi Manoj, One option that may be able to help is the Attribute Assistant tool: Attribute Assistant | ArcGIS Solutions Specifically what you are after may be the prompt option within the Attribute Operations: Attribute operations - Attribute Assistant | ArcGIS Solutions Hope this helps, Josh
... View more
04-08-2020
04:15 PM
|
0
|
0
|
371
|
POST
|
Hi Steve, It sounds like the Mxd is loading into the aprx correctly; although the problem is typically that Maps do not 'Open' by default. Within the newly copied aprx, can you check the Catalog, and see if there is an additional Map within there. There should be one called the same thing as the Mxd Data Frame (by default this would be 'Layers'). This new map, should be the imported Mxd. A good indication is just to quickly compare the sizes of the aprx files. The newly created one should be slightly larger. Hope this helps but let me know if this isn't the issue, Josh
... View more
02-06-2020
07:06 PM
|
3
|
1
|
929
|
POST
|
Hi Joe Weyl, This code snippet below should get you in the right direction (I have tried to spread it out and include comments to make it easier to read)... from arcgis.gis import GIS
import csv
gis = GIS("https://****.maps.arcgis.com", "****", "***")
csv_file_path = r'CSV File Path'
with open(csv_file_path) as csv_file_input:
csv_input = csv.reader(csv_file_input, delimiter=",")
for row in csv_input:
print(str(row[0]))
# Try to find the User with the specified Name. If found, delete the User
user_by_name = gis.users.get(str(row[0]))
if user_by_name:
print(" - Deleting...")
user_by_name.delete()
else:
# If user could not be found by name; search by email, and delete if a single member is found.
users_by_email = [user for user in gis.users.search() if user.email == str(row[1])]
if len(users_by_email) == 1:
print(" - Deleting...")
users_by_email[0].delete()
elif len(users_by_email) > 1:
print(" - More than one user found with the specified email")
else:
print(" - No user found with the name or email specified") This script will process a CSV that is formatted like below: Member1,Member1@email.com
Member2,Member2@email.com This will only work if the User's do not own any Content; it is easy to adjust for handling User Content, so if needed just reply and let me know and I will adjust as necessary. Hope this helps, Josh
... View more
02-06-2020
06:34 PM
|
5
|
2
|
2449
|
POST
|
Hi Sheila, Dan's response above will sort you out with regards to listing the input string values. Your script could also be improved by using: walk = arcpy.da.walk(ws) instead of... walk = arcpy.os.walk(ws) arcpy.da.walk() is typically recommended as "os.walk is file based and does not recognize database contents such as geodatabase feature classes, tables, or rasters". This can simplify your script as you can include the datatype parameter within the 'walk' function call. Walk—Help | ArcGIS Desktop Hope this helps
... View more
01-02-2020
09:07 PM
|
4
|
0
|
714
|
IDEA
|
It would be great if the ArcGIS Enterprise config file included the option to fix the Classification Banners to the top and bottom of the Browser window, so that they are always visible within the Web Page view.
... View more
07-11-2019
05:40 PM
|
5
|
0
|
491
|
Title | Kudos | Posted |
---|---|---|
5 | 02-06-2020 06:34 PM | |
3 | 02-06-2020 07:06 PM | |
4 | 01-02-2020 09:07 PM | |
5 | 07-11-2019 05:40 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|