|
POST
|
We are creating a few new anno feature classes within a versioned feature dataset. Copy selected anno features from existing anno classes into new anno classes (all within a feature dataset) with python Un-register the new anno classes with python Update the reference scale for each new anno class by hand with ArcCatalog Register the new anno classes as versioned with python We have a large number of existing versions that we cannot afford to damage. We noticed that when we un-versioned the new anno all versioned editing stops working. And the feature dataset is no longer versioned. But all the versioned feature classes within the feature data still appear to be versioned, , save the new anno classes, e.g. they still have evw's (Esri versioned views) in the database. After we version the new anno classes everything appears to be working normally again. Is this workflow safe for our existing versions and versioned data?
... View more
10-03-2022
04:22 PM
|
0
|
4
|
1989
|
|
POST
|
Yes, I think it is your self-signed certificate. My guess is the first time is asks you and runs fine. The next time it does not ask (for whatever reason) and fails. We used put self signed certificates on our dev and test machines, but now we put "real" ones on all of our servers. Situations like this was one of the motivating factors. Can you put a singed certificate on the server?
... View more
09-29-2022
09:31 AM
|
0
|
1
|
2713
|
|
POST
|
I see, that is weird. But it asks you if you want to trust the machine the first time?
... View more
09-27-2022
10:18 AM
|
0
|
3
|
2720
|
|
POST
|
hmmm.... normally ArcMap only asks me to trust the certificate if there is an issue with it. I wonder if you are using a self signed certificate or maybe one that has expired. You can check your certificate in chrome. Click on the little lock thing to get the info: This is one of mine: Or you may see something like this: Of course you need to check the one on the ArcGIS Server, not the Portal one.
... View more
09-20-2022
12:08 PM
|
0
|
0
|
2768
|
|
POST
|
1. First, off I used python 2.7 to create mine not python 3.x. But I would think they are close to each other. 2. A bad certificate will definitely break things. But I am not certain it is the source of your issues. Normally when I have a certificate issues I get an error with a reference to SSL in it. 3. It looks like the issue is with the server connection parameter (If I am reading the French right?). I would test my server connection with ArcCatalog. You should be able to navigate to it and open it with ArcCatalog.
... View more
09-16-2022
09:31 AM
|
0
|
2
|
2807
|
|
POST
|
I have script that publishes a service to Arc server that is federated with portal. I posted the two functions that do most of the work. I hope it helps. def build_connection(locator_specs, working_dir):
"""
builds AGS connection
:param working_dir: script working path
:param locator_specs: instance of Specs class
:return: AGS connection
"""
out_folder_path = 'ags_connections'
clean_dir(out_folder_path, working_dir)
use_arcgis_desktop_staging_folder = False
staging_folder_path = out_folder_path
server_info = locator_specs.get_arc_gis_servers()
server = server_info.server
out_name = '{}.ags'.format(server)
server_url = 'https://{}:6443/arcgis/admin'.format(server)
print server_url
username = server_info.admin_user
password = xxxx.security.get_password(server, username)
logger.info(xxxx.indent('Making sever connection: {}'.format(out_name), 2))
arcpy.mapping.CreateGISServerConnectionFile("ADMINISTER_GIS_SERVICES",
out_folder_path,
out_name,
server_url,
"ARCGIS_SERVER",
use_arcgis_desktop_staging_folder,
staging_folder_path,
username,
password,
"SAVE_USERNAME")
return os.path.join(out_folder_path, out_name)
def publish_service(gis_server_connection_file, working_dir, location_dir):
"""
creates sd file and publishes it to server
:param gis_server_connection_file: AGS connection
:param working_dir: script directory
:return: None
"""
gis_server_connection_file = os.path.join(working_dir, gis_server_connection_file)
out_sd_folder = 'sd'
clean_dir(out_sd_folder, working_dir)
service_name = 'CW_Composite'
locator_path = os.path.join(location_dir, service_name)
sddraft_file = os.path.join(working_dir, out_sd_folder, 'cw_composite.sddraft')
sd_file = os.path.join(working_dir, out_sd_folder, 'cw_composite.sd')
summary = 'CEA address locator'
tags = 'address, locator, geocode'
folder_name = 'Locator'
logger.info(xxxx.indent('Building SDDraft: {}'.format(sddraft_file), 2))
analyze_messages = arcpy.CreateGeocodeSDDraft(locator_path, sddraft_file, service_name,
connection_file_path=gis_server_connection_file,
summary=summary,
tags=tags,
max_result_size=20,
max_batch_size=500,
suggested_batch_size=150,
folder_name=folder_name,
copy_data_to_server=True)
if analyze_messages['errors'] == {}:
logger.info(xxxx.indent('Staging service {}:'.format(sd_file), 2))
arcpy.server.StageService(sddraft_file, sd_file)
logger.info(xxxx.indent('Uploading sd: {}'.format(sd_file), 2))
arcpy.server.UploadServiceDefinition(sd_file, gis_server_connection_file)
logger.info(xxxx.indent(arcpy.GetMessages(), 2))
logger.info(xxxx.indent('Success: service published', 2))
else:
logger.error(xxxx.indent(analyze_messages['errors'], 2))
logger.error(xxxx.indent('Failure: service was not published'))
... View more
09-15-2022
06:03 PM
|
0
|
4
|
2817
|
|
POST
|
Perfect! I got logged in as the power user and got the users all sorted out. Thanks!
... View more
09-14-2022
05:40 PM
|
0
|
0
|
1164
|
|
POST
|
How do I get access to mange users in ArcGIS Monitor. https://enterprise.arcgis.com/en/monitor/10.6/administration/manage-user-permissions.htm When I follow the steps in this documentation I don't see Permissions on the menu bar... I do have a user name and password for an additional user but I am not sure how to get logged in as them from the server side.
... View more
09-13-2022
04:14 PM
|
0
|
2
|
1213
|
|
POST
|
Great, I passed the data pump documentation on to our DBA.
... View more
09-13-2022
12:39 PM
|
0
|
1
|
4620
|
|
POST
|
Thanks Marcelo! We will plan on moving to 9.16 and not 19.3. Clearly that will be better. And I will double check our Oracle Clients and update if needed. @George_Thompson and @MarceloMarques I appreciate all the help!
... View more
09-12-2022
10:09 AM
|
0
|
3
|
4638
|
|
POST
|
Right so our DBA did point out the 9.16 version in a meetings. But I thought that the 19.3 version was the highest supported by Esri based on this documentation. https://desktop.arcgis.com/en/system-requirements/10.6/database-requirements-oracle.htm But your saying we can go to all the way 9.16 and still be fully supported by Esri?
... View more
09-12-2022
09:44 AM
|
0
|
5
|
4643
|
|
POST
|
Awesome! Thanks George. I will ask the DBA to do that.
... View more
09-12-2022
09:29 AM
|
0
|
0
|
4643
|
|
POST
|
We want to upgrade Oracle to 19.3 Our current environment looks like this ArcGIS Enterprise 10.8.1 Oracle Database 12c Release 12.1.0.1.0 - 64bit Production ArcGIS Desktop/Geodatabase 10.6.1 with the "Support for Oracle 19c Patch" installed I don't think I need to patch ArcGIS Enterprise as it is at 10.8.1, so it looks like I have all the Esri patches installed that I will need. So, the plan is right now to: Setup a new test server with an empty Oracle 19c (64 bit) 19.3.0.0.0 database Add the shapelib file to the server and set it's path in the new database Export everything from our production database with the export data pump Import everything into the new 19c database Does this sound reasonable? https://desktop.arcgis.com/en/system-requirements/10.6/database-requirements-oracle.htm https://support.esri.com/en/download/7734
... View more
09-09-2022
05:41 PM
|
0
|
10
|
5185
|
|
POST
|
Ah, I understand. I wonder if you could create a derived description field in the source data or with Arcade as a last resort.
... View more
08-22-2022
10:33 AM
|
1
|
1
|
2148
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-04-2024 05:39 PM | |
| 1 | 07-30-2024 09:05 AM | |
| 1 | 07-08-2024 05:32 PM | |
| 1 | 03-20-2024 10:27 AM | |
| 6 | 03-13-2024 03:38 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-12-2025
11:02 AM
|