|
POST
|
I also tried to create the spatial reference factory with the approach below. It too noiselessly fails - that is, the method call is never returned and there is no error message raised (that i can find). Type factoryType = Type.GetTypeFromProgID("esriGeometry.SpatialReferenceEnvironment"); System.Object obj = Activator.CreateInstance(factoryType); var srFactory = obj as ISpatialReferenceFactory3;
... View more
12-20-2021
02:59 PM
|
0
|
1
|
1265
|
|
POST
|
Hi everyone. I am working on an application that depends on a old version of the Runtime engine. The app has been working great for many years, but in the hurly burly fallout from the log4j issues last week, the server that hosted the app had to be shut down and then redeployed from a previous backup. Everything on the restored version of the hosting server works great EXCEPT this old Engine app. I've isolated the lines of code where the application breaks: try { logger.DebugFormat("Instantiating a new spatial reference environment class."); ISpatialReferenceFactory3 srFactory = new SpatialReferenceEnvironmentClass() as ISpatialReferenceFactory3; logger.DebugFormat("New spatial reference environment class instantiated."); } catch(Exception ex) { logger.ErrorFormat(ex.ToString()); } The code/application never returns from the call to create the Spatial reference factory, i.e. the logger never records the message that the class was instantiated and the 'catch' block is never invoked. Any ideas on what could be going on in the application?
... View more
12-20-2021
09:45 AM
|
0
|
2
|
1292
|
|
POST
|
Working with Esri tech support, we were able to reproduce the situation when using my hosted feature service - that is, we could not edit an editable view created from my hosted feature service. However, we could not reproduce the error on any other hosted feature service that we tried. So, the official Esri recommendation was the way-too-familiar suggestion to export the hosted feature service and then republish it. And while that ultimately did solve that problem, it created many more problems - all the other views, maps and apps that were dependent of the original hosted feature service are now broken. I wish that Esri's default solution to problems with hosted feature services was not to republish them, and i wish that when you do have to republish a service that there was a way to maintain / set the item id and url so you could maintain\preserve all the connections to it. I also wish i could buy a winning lottery ticket. maybe one day 😉
... View more
12-13-2021
03:17 PM
|
1
|
0
|
1917
|
|
POST
|
Hello. Today (12/9/2021) i created a new hosted feature layer in AGOL with the December updated process for creating views (https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm). The view was created successfully. I went into the 'Settings > Feature Layer (hosted, view) > Editing' and selected Enable editing and saved changes. When I added the view to an existing AGOL web map (using Map Viewer Classic), the view is not editable. In map viewer classic, when i click on the 'configure pop-up' button, the checkbox to enable editing of each attribute is not visible (only the 'Display' checkbox is present). I have verified that each field in the hosted feature layer view should be editable by following the directions here, If i select the option (in the AGOL Overview tab) to add the layer to a map with full editing control, i can indeed make edits. Adding the view to an existing web map is a no-go for editing
... View more
12-09-2021
02:26 PM
|
0
|
2
|
2063
|
|
POST
|
Hey @MicZatorsky_AEC Your suggestion worked out well - i didn't even have time to finish the entire drink 🙂 As expected, I had to download each related table separately and then recreate the relationship class. One problem i ran into, however, is that the export of one of my tables dropped all the subtypes that were in the related table. Do you have any idea how to make sure that Export preserves those subtypes? It's not impossible to (re)create them, but it sure is tedious.
... View more
11-17-2021
04:50 PM
|
0
|
1
|
4856
|
|
POST
|
Thank you for the suggestion. I'll get a big cup of my favorite beverage, a donut or two, and fire up Pro. I'll let you know how it goes. I'm guessing that i will have to download the main layer with the attachments and the three related tables separately. I suspect all relationships will be maintained, or i can just recreate them in Pro.
... View more
11-17-2021
03:22 PM
|
0
|
0
|
4858
|
|
POST
|
Hello. I would like to Export an AGOL hosted feature service. The feature service contains one layer with attachments enabled and 3 related tables. The hosted feature service works just great - its used daily by our field crews, admin staff, etc. I just want to get the data from AGOL for backup purposes. On the Overview page of the service, I can see that the Size is 91MB and the Attachments Size is 37,644 MB (lots of photos for sure). I click the Export button and select File Geodatabase. The expected dialog box opens where I set the title, tags, summary, etc. I then click Export. I can then see the message 'exporting.....' displayed in the dialog box. I can leave that web page, grab some lunch, and maybe get in a run, etc. After an hour+ the 'exporting...' message goes away, and the zipped version of the file geodatabase export is available in my content folder. On the Overview page of the File Geodatabase export, i can see that the Size is 91MB. I click the Download button, but the ZIP package that gets downloaded to my local machine is 1KB in size and cannot be opened. Additionally if i try to Publish the File Geodatabase export in AGOL, that doesn't work either. I'm taken to a new Overview page - ostensibly for the just published service-, but I get a error message which says 'Undefined'. How can I export my data out of AGOL? Thank you.
... View more
11-10-2021
02:12 PM
|
0
|
6
|
4925
|
|
POST
|
I do get the same negative results when trying to add the View from its 'Overview' page to the new Map Viewer: Unable to add layer. Unable to establish a secure HTTPS connection to the layer......' I opened up Chrome Dev Tools and found 3 errors - it seems like the View is trying to load the three related tables that I have removed from the View. The error messages indicate that the Viewer is trying to load ../FeatureServer/2 and ../FeatureServer/1 and ../FeatureServer/3. Those are the endpoints from the Source feature service. So, my guess is Map Viewer is reading from the View's source's definition rather than from the View's definition. That's just a guess for now
... View more
11-09-2021
01:18 PM
|
1
|
1
|
2791
|
|
POST
|
Hi Amanda. Thanks for your reply. Yes, our Org is set up to use HTTPS only. All the content in our Org can only be accessed via HTTPS. I believe the error message is misleading and masking over the real issue - although i have no idea what the real issue is 🙂
... View more
11-09-2021
12:14 PM
|
0
|
3
|
2802
|
|
POST
|
Hello. I am unable to add a View to a map created with the New Map Viewer. I can use Map Viewer tools (Add layer) to find the View, but when i click the '+' icon to add the view to the map, I get the follow error "Unable to add layer <layer name>. Unable to establish a secure HTTPS connection to the layer.....". I am able to add the View layer to a map created with the Classic Map Viewer. A perhaps relevant bit of information about the View is that it was created from a Hosted Feature Service that contains three related tables. I use the REST Admin API 'delete from definition' endpoints to remove the related tables from the View. Any thoughts on adding the View to the map? Is this a bug in the system? Any help, suggestions are greatly appreciated. Thank you
... View more
11-09-2021
12:05 PM
|
0
|
7
|
2818
|
|
POST
|
Hello. I have a hosted feature service that contains one layer and 3 related tables. The Has Sync Enabled Views property of the service is stuck at true. I have created multiple views based on the feature service, but none of those views have sync enabled (i've verified this by making sure the 'Sync Enabled' checkbox is unchecked for every view). I've also verified that no replicas are hung or stuck by going to the /replicas endpoint. Under 'All Replicas', the value is None I have used the REST admin endpoint for the feature service to update the definition to manually force the value of hasSyncEnabledViews to false (and i've tried 0). The endpoint returns the error Invalid definition for 'SourcesSchemaChangesAllowed'. Invalid definition for System.Boolean. Any idea how to change the value for Has Sync Enabled Views? With the value set to true, i am unable to use Arcade to update the data, and i think its messing with the ability to edit data in the views. Thank you.
... View more
10-26-2021
10:24 AM
|
0
|
0
|
712
|
|
POST
|
Hello. I'm seeing some weird behavior (outlined below) with a Hosted View Layer. The source for the view layer is an AGOL Hosted feature layer that has attachments enabled and has three related tables as part of the service. I am the owner of the hosted feature layer, and I have AGOL admin privileges. This behavior can be repeated. I create a view layer by clicking the Create View Layer button. I accept the default option to "Preserve Layer IDs". After the view is created, I go to the 'Settings' for the item and select the checkboxes for Enable editing, Keep track of created and updated features and Enable Sync. If I choose to 'Add to new map with full editing control', the View - including the three related tables - is added to a new map. I can edit the main/geometry layer by clicking the 'Edit' button in the main menu of the map or by clicking the Edit link in the popup dialog I can open and edit data for all three related tables Note that there doesn’t appear to be a way to ADD data to related tables; I can only update existing data If I chose to 'Add to new map', the View - including the three related tables - is added to a new map. I can NOT edit the main/geometry layer. The Edit button in the main menu of the map is not present and the Edit link in the popup dialog is not present I CAN edit two of the three related tables, but I can NOT edit the third related table If I add the View to an existing map (that my account owns) I can NOT edit the main/geometry layer. The Edit button in the main menu of the map is not present and the Edit link in the popup dialog is not present I CAN edit two of the three related tables, but I can NOT edit the third related table Any thoughts on what's going on, and how i can edit data in a view
... View more
10-25-2021
09:16 AM
|
1
|
3
|
1983
|
|
IDEA
|
As a follow-up on the proposed work arounds, the approach to use the REST admin endpoint did not work for me. When i added a new field to my hosted feature layer, I set the field as nullable with a default value of 1. Unfortunately, there is a bug in Arcade so that Arcade uses the default value when trying to set the field value to null (agreed that this is an edge case, but its the situation we are in with adding a new field to a many-year-old data set). Anyway, i tried to use the REST Admin endpoint to Update the Definition to remove the default value. Despite the REST response reporting 'success', implying to me that the change to default value worked, the default value remained unchanged. My 'workaround' at this point is to add another new field, DO NOT set a default value, and then calc the values for the new field.
... View more
10-21-2021
03:08 PM
|
0
|
0
|
14091
|
|
POST
|
Hey there. For our Hub Site we have several layers that can only be downloaded thru a 'subscription', so a user has to log-in to the site and be a member of the appropriate Group to access those layers. Is there a way to track which 'subscription' users downloaded which data, and how many times they downloaded it? Thanks.
... View more
09-02-2021
02:29 PM
|
1
|
1
|
1019
|
|
IDEA
|
same as @wayfaringrob. It'd be nice to have our Community members acknowledge terms of use / data use disclaimers when they accessed the site. We know we can set up a Welcome message and Terms of Use on Community account creation, but it'd be nice to remind folks about the disclaimer each time they came to the site
... View more
09-02-2021
02:06 PM
|
0
|
0
|
4613
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 02-24-2021 12:15 PM | |
| 2 | 01-05-2026 10:04 AM | |
| 1 | 09-30-2025 01:30 PM | |
| 1 | 09-25-2025 07:37 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|