POST
|
The gremlin has been exorcised! Yes, this was a real thing. After a maintenance day and a few server reboots (clustered environment), I can now use the proper and expected folder name for my tiles. I no longer have to rename the tile folder back to 'Layers'. Again,... yes this was a real thing. Somewhere in the bowels of either the Server config or these particular Services, it was forcing me to rename my cache folder to 'Layers' for the tiles to be recognized.....
... View more
02-26-2024
11:12 AM
|
0
|
0
|
232
|
POST
|
Thanks for the response, I completely agree with your workflow, but something else is going on here. I have some gremlins in the system, figure this out...... I have an old cached service running for years, originally created from an mxd with the 'Layers' map frame. I completely delete the service. I recreate the service, in Pro (map name is not 'Layers'), I can make the service any random name I want and everything works as expected (after caching a few scale levels). If I name the service the same as the original name, the new cache is completely unusable until I rename the subfolder back to 'Layers'. I first thought that maybe the import into Pro and rename from Layers to a proper name didn't take, but I tried again with a new map and same thing. There's something about the original service name that insists that the cache folder be named 'Layers'. Tough for anyone to recreate so I'm not holding out for an answer, but maybe someone ran into this too.....
... View more
02-15-2024
10:13 AM
|
0
|
0
|
290
|
POST
|
Can someone please explain the first 'Caution' message from here: https://enterprise.arcgis.com/en/server/10.9.1/publish-services/windows/accessing-map-and-image-cache-properties-in-manager.htm 'If you change the service name or map data frame name, you must manually rename the cache folder to match' what the....? In my scenario, I'm republishing everything from Pro, as we all are, and I am also leaving my old cache behind in favor of building a new one. The new cache dir is folder_servicename\mapname , but the old dir was folder_servicename\Layers...... To build the cache or stop/start the service I need the 'mapname' in the dir, but to use the service it needs to be 'Layers' in the dir. Is there any place to edit this setting or fix this 'bug'?
... View more
02-12-2024
01:34 PM
|
1
|
3
|
402
|
POST
|
one of the layers I'm Merging is an in-memory Feature Layer. Field Mapping did not like this. I copied the data to a physical Feature Class and all is well. bug?....
... View more
10-23-2023
03:42 PM
|
0
|
0
|
249
|
POST
|
Hi, I'm finally converting 2x scripts to 3x and I'm getting poor results from the same code. Exact same code running under the two different environments, different results. Here is the code. Simple merge of three layers into one, mapping only one field. In 3x it will not populate the field from one of the layers. Works fine in 2x. What changed or what do I need to change in the new API. I should mention that for testing purposes, all FCs are in the same, new file geodatabase. fldFolio = arcpy.Field()
fldFolio.name = 'Folio'
fldFolio.aliasName = 'Folio'
fldFolio.type = 'Text'
fldFolio.length = 12
fldFolio.isNullable = True
fm = arcpy.FieldMap()
fm.outputField = fldFolio
fm.addInputField(PIDless_lyr, 'Folio', 0, 12)
fm.addInputField(target_ParcelsSingle, 'BCA_Legal_Folio', 0, 12)
fm.addInputField(target_ParcelsStrata, 'BCA_Legal_Folio', 0, 12)
fms = arcpy.FieldMappings()
fms.addFieldMap(fm)
# merge everything
print('Merge all Except MHs')
arcpy.Merge_management([PIDless_lyr, target_ParcelsSingle, target_ParcelsStrata], target_ParcelsTmp1, fms)
... View more
10-13-2023
02:14 PM
|
1
|
2
|
375
|
POST
|
Our IT has changed some of their back-end storage and are asking us to repoint the Server Directories. They did some IT magic so our old directories are still working and are technically the same location. They want us to change these directories to 'future proof' ourselves. Now to the question...... The documentation states that it will copy the contents to the new location.... any idea what happens when the location is the same, just a name change? https://enterprise.arcgis.com/en/server/10.8/administer/windows/editing-a-server-directory-in-manager.htm
... View more
07-24-2023
01:41 PM
|
0
|
0
|
194
|
POST
|
Hi, I went though support for this and they've logged some bugs BUG-000158005 - The default print service in ArcGIS Online stretches the color values of the image service in the print output. BUG-000158006 - The default printing tools in ArcGIS Server stretch the color values of the image service in the print output.
... View more
05-05-2023
09:26 AM
|
0
|
0
|
809
|
POST
|
Some further notes.... Setting the Custom Rendering Options in ArcPro resolved the issue for my local testing, but then I applied the same Option to my Server, using the arcgis user, but to no joy. Are there environment settings that can be set within the script to change the behavior?
... View more
01-23-2023
11:45 AM
|
0
|
0
|
912
|
POST
|
Hi Blake and others, I'm in the same boat. I recreated my ExportWebMap tasks using ArcPro and pagx files (NOT 3.x, server 10.8.1 won't be able to read them, learned that the hard way but that's another story) and the new tasks are returning Image Services with a Stretch Type. I can see its applying the standard Percent Clip but not sure why its not just leaving it alone as I have it published, as the old task does. I tried setting the Image Service with Allow Raster Functions: false, but it did not help. btw - my reason for upgrading the tasks was so the new ExportWebMaps can print the new Vector Basemaps. Was really pleased until I tried my own imagery....
... View more
01-20-2023
02:41 PM
|
0
|
0
|
921
|
POST
|
Hi James, sure thing. Here is what I modified. The call from main to build_email will look like this. The build_email will return all three address (recipient) types: for row in rows:
address, address_cc, address_bcc, subject, body = build_email(row, lyr.properties.fields, message) In build_email I retrieve the three address types from the config file and call a new _get_email_values function. recipients = _get_email_values(row, fields, settings['recipient'])
recipients_cc = _get_email_values(row, fields, settings['recipient_cc'])
recipients_bcc = _get_email_values(row, fields, settings['recipient_bcc'])
..
..
..
return recipients, recipients_cc, recipients_bcc, email_subject, email_body I attached the _get_email_values as a txt. It is quite convoluted and can be simplified just to the top two lines if you wanted to (after .split(;)). The full function (aside from that it could be written better....) will either.... 1. return the address directly as in the config if it detects an '@' 2. get the address from the data if it detects that you used a field name 3. get the address from the data's domain if it detects that you used a field name and the field is a Domain Hope this makes sense, I found the _get_email_values a bit tough to read after leaving it for a few months. Dave
... View more
03-28-2022
12:07 PM
|
1
|
0
|
1286
|
POST
|
Hello, I'm having an issue where the browser (Chrome & Edge) is blocking the result of my Print Service within a Dashboard. The Print Service is operational and works in all other applications, including the application that is in the Dashboard (when opened independently). I can even copy and paste the url into a new browser and it works fine, but from within the Dashboard I receive ERR_BLOCKED_BY_CLIENT. Any ideas why the Dashboard is confusing the browser?
... View more
02-28-2022
03:26 PM
|
0
|
0
|
179
|
IDEA
|
I would like to see the reshape functionality incorporated into Field Map editing. Users need to adjust polygons (orchard planting changes) and adjusting individual vertices is not practical. The Streaming functionality is wonderful but does not work well when you can only be in a 'edit vertex' mode.
... View more
02-02-2022
03:47 PM
|
5
|
1
|
629
|
POST
|
okay.... its been over a year, any progress on this?
... View more
05-03-2021
09:41 AM
|
5
|
0
|
5173
|
POST
|
the better solution is to not mess with the send_mail.py but instead reconfigure the build_email function in servicefunctions.py to build a proper list. I changed the variable from 'email' to 'recipients' but regardless, this builds a list when supplied ; separated addresses in config file. this still allows to use both an manual address or one from attribute table. recipients = [] rr = settings['recipient'].split(';') for r in rr: if r in row.fields: recipients.append(row.attributes[r]) else: recipients.append(r)
... View more
11-21-2020
06:43 PM
|
2
|
2
|
2327
|
POST
|
Thanks, I got it working by manipulating the 'recipients'. I couldn't get the right syntax to flow from the json config file to the python. a few notes: Putting a list in the config errors the script Putting "name1@email.com;name2@email.com" translates to a list with only one object ["name1@email.com;name2@email.com"] I added this to the Python send_mail to switch to a proper list: recipientsList = recipients[0].split(';') creates: ["name1@email.com", "name2@email.com"] The link above (Ricky's) shows these scripts nice and compact with no config file, the full solution (top link) has these files broken apart and maybe no-one tested multiple recipients set from inside the config file.
... View more
10-08-2020
03:34 PM
|
0
|
3
|
2376
|
Title | Kudos | Posted |
---|---|---|
1 | 10-13-2023 02:14 PM | |
1 | 02-12-2024 01:34 PM | |
1 | 03-28-2022 12:07 PM | |
5 | 02-02-2022 03:47 PM | |
5 | 05-03-2021 09:41 AM |
Online Status |
Offline
|
Date Last Visited |
a week ago
|