|
POST
|
This sounds like homework, which isn't a problem, but it's important that you mention what you've tried, what doesn't work, etc. Anyway, sounds like you could look into a python add-in. There's a sample there that could get you started.
... View more
04-17-2017
10:16 AM
|
1
|
1
|
1840
|
|
POST
|
What if you were to create one SD draft with caching on, and another with it off? Then you can compare the two and figure out what you're missing. Another approach, (arguably easier), is to use GP tools once the service is created: Create Map Server Cache—Help | ArcGIS Desktop Manage Map Server Cache Tiles—Help | ArcGIS Desktop and optionally Manage Map Server Cache Scales—Help | ArcGIS Desktop
... View more
04-17-2017
10:13 AM
|
3
|
5
|
3534
|
|
POST
|
I don't think you can edit existing certificates, so the safest approach is to create a new one through the Admin API.
... View more
04-17-2017
09:53 AM
|
1
|
0
|
766
|
|
POST
|
No, there is no way to limit the decimal points within ArcGIS Server; you should do this within client applications.
... View more
04-17-2017
09:51 AM
|
2
|
3
|
2665
|
|
POST
|
With a basic license, I believe you can only publish read-only feature services. The default SampleWorldCities service is a dynamic map service, so your basic license may prevent it from working correctly.
... View more
04-13-2017
02:00 PM
|
1
|
0
|
1510
|
|
POST
|
Definitely, you'll install ArcGIS Data Store on a machine within your network, register it with ArcGIS Server, federate the Server with Portal, set the Server as the hosting server, and you'll be able to publish hosted services.
... View more
04-13-2017
01:53 PM
|
3
|
1
|
1774
|
|
POST
|
You won't need an enterprise geodatabase or database if you don't plan on using feature services. You can publish map services from file geodatabase or shapefile data. If you're looking into ArcGIS Enterprise, you can use the ArcGIS Data Store as your backend database. That will allow you to publish hosted feature services without needing a DBA to manage the database.
... View more
04-13-2017
12:01 PM
|
4
|
3
|
1774
|
|
POST
|
What about building your own label expression? You can add as much logic as you need to to parse the string and move characters around as you need to. You'll probably need to determine the length of the string to know where which characters to put where using the index of the characters: >>> myString1 = "G-1320Ab"
>>> myString2 = "G-1320"
>>> def label(string):
... if len(string) == 8:
... print("{0}\n{1}\n{2}".format(string[:1],string[2:6],string[-2:]))
... else:
... print("{0}\n{1}".format(string[:1],string[2:6]))
...
>>> label(myString1)
G
1320
Ab
>>> label(myString2)
G
1320
>>> You'll know your data more than I do so your logic will be different.
... View more
04-13-2017
11:44 AM
|
0
|
2
|
1981
|
|
POST
|
Unfortunately,changing the portal machine name is not supported. I think you'll need to set it back to what it was, if possible.
... View more
04-12-2017
11:54 AM
|
1
|
3
|
2761
|
|
POST
|
You'll probably want to look into database triggers. Here's an example from stack overflow.
... View more
04-12-2017
11:50 AM
|
1
|
0
|
1377
|
|
POST
|
Do you recall what error were you getting? A convenient way to step through creating your own script is to run the tool in ArcMap, and then copy the result as a python snippet. You can try to run it again in the Python window or in a standalone script. If you're using it in a standalone script it's important to replace the connection string for the GIS Server, (which would default to "GIS Servers\<gis_server_connection_name.ags" or something similar), with the correct path on disk.
... View more
04-12-2017
08:40 AM
|
0
|
0
|
3555
|
|
POST
|
Have you been able to review the samples I mentioned, specifically checking a folder for stopped services? # Loop through each service in the folder and stop or start it
for item in dataObj['services']:
fullSvcName = item['serviceName'] + "." + item['type']
# Construct URL to stop or start service, then make the request
statusURL = "/arcgis/admin/services/" + folder + fullSvcName + "/status" The section above is where it will loop through every service, construct the URL to the service, and check the status. You'll want to modify that to grab the JSON of the service, loop through the key:value pairs to find the keys you need, and return them by printing them or writing them to a file.
... View more
04-12-2017
08:38 AM
|
0
|
4
|
3469
|
|
POST
|
Hm, I tested this on my end and could reproduce the behavior. I tried with the Manage Map Server Cache Tiles tool directly and didn't see a problem. You may want to write your own script to run using the tool directly instead of relying on the admin tools and also contact Support to report the behavior.
... View more
04-11-2017
06:08 PM
|
0
|
3
|
3555
|
|
POST
|
Each users request will wait for a free instance if one isn't available. It's important to know how much time it takes for the request to go through, (drastically different for GP than map services, for example), and then make sure you monitor the instances in use property within Server Manager and increase it if you see all instances being used. It may be good to look into load testing using JMeter or similar software.
... View more
04-11-2017
08:42 AM
|
1
|
0
|
716
|
|
POST
|
Not an expert in that area but I think you'll need to use a database trigger of some sort. That link is specific to SQL Server, so find the relevant docs for whatever DBMS you're using.
... View more
04-11-2017
08:35 AM
|
1
|
1
|
1816
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-28-2026 06:05 AM | |
| 1 | 08-26-2016 10:10 AM | |
| 2 | 02-22-2024 07:22 AM | |
| 1 | 06-07-2024 07:11 AM | |
| 4 | 12-12-2024 08:52 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
07:43 AM
|