|
POST
|
It is possible that the definition query might be causing this, but I don't think so. Are you saying that nothing happens when you click 'Add Expression'?
... View more
01-16-2019
05:20 AM
|
0
|
2
|
6058
|
|
POST
|
Also try the x-ray extension to change field order, then republish.
... View more
01-02-2019
06:10 AM
|
0
|
0
|
1968
|
|
POST
|
Here is a possible workaround to that: https://community.esri.com/thread/217206-how-to-use-smart-editor-to-require-user-to-populate-field How to use Smart Editor to require user to populate field? Question asked by Andres Castillo on Jul 2, 2018 How to use Smart Editor to require user to populate field?
... View more
01-02-2019
05:58 AM
|
1
|
0
|
1210
|
|
BLOG
|
Great article! I loved your explanation about what happens to event listeners that are called after an event has already occurred: Nothing! And this causes possible hours of troubleshooting. I will use promises to possibly fix an issue I am experiencing intermittently in my code.
... View more
12-31-2018
11:22 AM
|
0
|
0
|
864
|
|
POST
|
Thanks Xander. Sometimes I receive cad data that I convert to feature classes. The conversion creates lots of different feature classes. When this happens, I end up having to manually inspect each feature class attribute table. Maybe sometimes I notice a pattern relevant to the data I need. Other times I simply delete unnecessary features that were converted from the cad data so that I can see the relevant data. The purpose of my question was so that I could make this data inspection less burdensome by opening the attribute tables at once.
... View more
12-27-2018
08:47 AM
|
0
|
0
|
4301
|
|
POST
|
Hi Jeremy, as far as I can remember, Blake Terhune is right about what I changed. Did this work for you?
... View more
12-24-2018
12:52 AM
|
0
|
0
|
3204
|
|
POST
|
Thank you Randy. My intent is so that I don't have to manually open the attribute tables one by one from the start. I will take your suggestion and post it on ArcGIS Ideas.
... View more
12-24-2018
12:49 AM
|
0
|
2
|
4301
|
|
POST
|
Yes. On ArcMap, if I have a lot of feature classes/tables in the mxd, I want to be able to open all the attribute tables at once, rather than right-clicking on each object individually, then opening attribute table one at a time. This is just so I can simply open the attribute tables for viewing the tabular data. Let me know if I can explain my intent better. Thanks for your reply.
... View more
12-21-2018
11:56 AM
|
0
|
5
|
4301
|
|
POST
|
How would I be able to accomplish this. For example, I might have 50 feature classes in my mxd that I want to open the tables at once.
... View more
12-18-2018
07:57 AM
|
0
|
8
|
4606
|
|
BLOG
|
Noah Sager , I'm excited to read and try out this, and your remainder examples. Thank you for sharing! I love you! (sorry...too soon?) Also, I know you posted this over four years ago, but I did want to mention that the link you specify in the portion of this blog that you speak about reloads does not work. It sends us to some spammy-looking webpage.
... View more
12-12-2018
06:29 AM
|
1
|
0
|
1355
|
|
POST
|
Jake Skinner , I've modified your script, starting at line 17 of your script in the 'correct answer.' This is because the feature service (FS) url's do not seem to show up in the admin rest directory, but I would still like to include them. See below. These are the issues I am encountering as of now: 1 Only when I added the fs portion, the original path for services does not print to the result when its' not an mxd file type (for example, locators (E:\Locators\SiteAddressPoint) or toolboxes (C:\Users\name\AppData\Local\Esri\Desktop10.4\Staging\arcgis on serverDomain(publisher)\sddraftToolboxes\GeocodeAddresses_WorldLocator.tbx)) Without the fs portion on lines 30-39 below, this is no longer an issue. 2 When the script encounters the keyError, it continues, but prints to the result fs portion first for all fservices, then prints the keyError messages, then continues the remainder of the try statement to print the remainder mapservices and document paths. I would like to keep the ms and fs urls printed out together. baseUrl = "http://{}:6080/arcgis/admin/services".format(server)
baseUrl1 = "http://{}:6080/arcgis/rest/services".format(server)
catalog = json.load(urllib2.urlopen(baseUrl + "/" + "?token=" + token + "&f=json"))
catalog1 = json.load(urllib2.urlopen(baseUrl1 + "/" + "?token=" + token + "&f=json"))
print("ROOT")
services = catalog['services']
for service in services:
if service['type']!= 'SteamServer':
print("\t" + str(service['serviceName']))
manifestUrl = baseUrl + "/" + service['serviceName'] + '.' + service['type'] + "/iteminfo/manifest/manifest.json" + "?token=" + token + "&f=json"
dataSource = json.load(urllib2.urlopen(manifestUrl))
print("\t\t" + dataSource['resources'][0]['onPremisePath'])
folders = catalog['folders']
for folderName in folders:
if str(folderName) not in ('System', 'Utilities', 'DataStoreCatalogs'):
print(str(folderName))
print("________________________________________________________________________________")
catalog = json.load(urllib2.urlopen(baseUrl + "/" + folderName + "/" + "?token=" + token + "&f=json"))
services = catalog['services']
for service in services:
try:
print("\t" + str(service['serviceName']))
manifestUrl = baseUrl + "/" + str(folderName) + '/' + service['serviceName'] + '.' + service['type'] + "/iteminfo/manifest/manifest.json" + "?token=" + token + "&f=json"
dataSource = json.load(urllib2.urlopen(manifestUrl))
print("\t\t" + baseUrl + "/" + service['serviceName'] + '/' + service['type'])
folders1 = catalog1['folders']
for folderName in folders1:
if str(folderName) not in ('System', 'Utilities', 'DataStorecatalogs'):
catalog1 = json.load(urllib2.urlopen(baseUrl1 + "/" + folderName + "/" + "?token=" + token + "&f=json"))
services1 = catalog1['services']
for service in services1:
if service['type'] == "FeatureServer":
print("\t" + str(service['name']))
print("\t\t" + baseUrl1 + "/" + service['name'] + '/' + service['type'])
print("\n\n")
print("\t\t" + dataSource['resources'][0]['onPremisePath'])
print("\n\n")
except KeyError:
print("KeyError: No original Document information")
print("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
print("\n\n")
continue
#why is there no original path for services when its' not an mxd being printed out when added the fs portion?
#without the fs portion, the original path does print out
#when script encounters the keyError, it continues, but prints the fs portion first for all fservices, then prints the keyError messages, then continues the remainder of the try statement.
print("Script Complete")
... View more
12-06-2018
04:08 PM
|
0
|
0
|
1810
|
|
POST
|
I see now that it is reading the stopped service, sorry I also agree that it reads services with no original mxd as 'Untitled', so long as it has a machine name. Yet, in this case, there is no machine name, nor path, for this service. Machine name: Service does not include machine name information. Path: Service does not include path information. Can you help me bypass this service so that the script continues? I tried stopping the service, doesn't work. My organization is not yet confident regarding deleting this service without breaking something. EDIT: I was able to bypass this service by using a try, except keyerror, continue inside of the 'for service in services:" loop More important for me though is: In the ArcGIS Server Administrator Directory, I noticed that Feature Services are not displayed, whereas in the ArcGIS REST Services Directory, they are. As a result, the feature service URLs are not being printed out when they exist. How do I get feature service urls to print as well?
... View more
12-05-2018
12:59 PM
|
0
|
0
|
1810
|
|
POST
|
With respect to the keyerror, I believe that the script is aborting when it reaches a service that has no original document. In ArcGIS Server Manager, that service has 'Service does not include path information. Can you help me bypass this service so that the script continues? What is the reasoning for lines 20-26? I do not see any result from that codeblock. In addition to your awesome code: I would like to see in the result the urls for the different types of services. For example: https://domain:port/arcgis/rest/services/folder/serviceName/ImageServer https://domain:port/arcgis/rest/services/folder/serviceName/MapServer https://domain:port/arcgis/rest/services/folder/serviceName/FeatureServer I also noted that if a service is stopped, the script will not read that service, so no output. Yet, I would still like to know that information from the stopped services.
... View more
12-05-2018
11:48 AM
|
0
|
3
|
1810
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-11-2024 08:12 PM | |
| 1 | 10-03-2024 07:58 AM | |
| 1 | 01-13-2025 10:30 AM | |
| 1 | 04-18-2025 04:53 PM | |
| 1 | 02-21-2025 09:01 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-25-2025
04:55 PM
|