|
POST
|
I have a hosted feature service with attachments enabled. The service was created by uploading a file geodatabase. We have a need to be able to tell programmatically when a feature has had an attachment added. I have Editor Tracking enabled on the feature service (Keep track of who created and last updated features), but adding an attachment to a feature seems to have no impact on the EditDate value of the feature. In our file geodatabase we had Editor Tracking enabled on the __ATTACH table so presumably those fields made it into AGOL. However, i can't figure out how to access the __ATTACH table. I am aware of the 'Keep track of created and updated features', but threads on geonet and the esri documentation seem to indicate that the property doesn't do anything yet, or perhaps is not accessible by applications using the python api? My question is this: is there a way that i can programmatically (think python API) detect when a feature in a hosted feature service has had an attachment added to it? thank you.
... View more
07-03-2018
05:13 PM
|
0
|
3
|
3190
|
|
POST
|
Hi Kelly Gerrow Initial testing this morning shows that the functionality is working as expected. Thank you for the quick fix. Tom
... View more
07-03-2018
08:40 AM
|
1
|
0
|
1447
|
|
POST
|
Excellent news. I am looking forward to checking it out on Monday morning. Thank you.
... View more
06-29-2018
03:00 PM
|
0
|
2
|
1447
|
|
POST
|
Thanks for looking into the issue. No UC for me; for better or worse i am a fairly strict Dev Summit only person. Our Org will definitely be represented at the UC though if you are interested in meeting some of our users.
... View more
06-28-2018
11:39 AM
|
0
|
4
|
1447
|
|
POST
|
Hi Kelly Gerrow The functionality you described above does not seem to be working in the current version of AGOL. I am the owner of a hosted feature layer with 'Keep track of who created and last updated features' enabled. I have created a VIEW on that hosted feature layer, and in the 'Set View Definition > Define Fields' interface i have unchecked the 4 editor fields. However, the four editor fields still show up, although unchecked, when i use the Data tab in the View's item details and in the popup on the view's features. Any idea what is going on, or what else i need to try? We really don't want the editor/creator info displayed in the popup. Thank you.
... View more
06-28-2018
10:57 AM
|
0
|
6
|
5127
|
|
POST
|
Hi Derek Law Our development staff have created a pretty interesting/useful operations dashboard. When we took the dashboard to our supervisors for review/approval, the first thing each of the supervisors did was try to view the dashboard on their phones. Our project has been delayed/canceled because the supervisors couldn't access the dashboard from their phones. One of the purposes of the dashboard is to have the public report issues and see their reports on the dashboard along with some other stats about the program. The supervisors reasoning is that the public will be submitting reports from their phone and will expect to see the dashboard from there as well. It turns out that mobile phone accessibility is a very critical piece to adoption within our agency. Thanks, Tom
... View more
06-21-2018
04:00 PM
|
3
|
2
|
2535
|
|
POST
|
Esri Tech Support has verified that this is a bug in AGOL. The bug number is #BUG-000114175
... View more
05-23-2018
08:40 AM
|
0
|
1
|
8942
|
|
POST
|
I am trying to use the Update Definition operation on a hosted feature layer view through the Admin view of the REST endpoint of the feature service. The change i am trying to make is setting some default values in the 'templates' element. However, regardless of the changes i try to make to the definition, i am getting the following error message: Invalid definition for 'DefinitionQuery'. Invalid definition for System.String Even for the simplest change of setting "lastEditDate" : " ", I get the error message. I am the owner of the view. The definition query (as generated by AGOL when creating the view) looks like this: { ... "viewDefinitionQuery" : "(IsActive = 'Yes') AND (CaseType = 'Report') AND (ReportStatus = 'Received')", "definitionQuery" : "(IsActive = 'Yes') AND (CaseType = 'Report') AND (ReportStatus = 'Received')" ... } Any thoughts on what's going on?
... View more
05-17-2018
12:11 PM
|
1
|
14
|
11408
|
|
POST
|
Hi Kelly. Thank you for your reply. i may need to clarify the problem. Using the WAB editor (the simple one, not the 'smart editor' widget), I get the expected behavior. For a field with a range domain set between 1 and 20 I can select an integer value between 1 and 20. However, when attempting to edit the same data via the 'Data' tab on the Item Details page of the hosted feature service, i get the unexpected (maybe buggy) behavior. Instead of being able to select (or enter) a value between 1 and 20, the only options in the drop down list are 'empty' and the current value of the field. I cannot select a new value between 1 and 20. Does that help clarify the problem? It may be that my expectations of the behavior are off. but if we think is a bug i can submit a tech support request. Thanks again for your help.
... View more
05-10-2018
09:14 AM
|
0
|
0
|
1382
|
|
POST
|
Hi Kelly Gerrow. I apologize for mentioning you directly, but i havent gotten any responses to my original post. Can you take a look to see if this is a bug, or if i have a setting (or expectation) wrong? Is there more information that you need from me? anything like that..... Thank you.
... View more
05-09-2018
05:43 PM
|
0
|
2
|
1382
|
|
POST
|
Hello. I have a hosted feature service in AGOL. One of the layers in the service is a related table. Within the related table we use subtypes. On one of the 'count' fields in the related table we have set a range domain with a min/max of 1 and 20 (see the screen cap below). When I try to edit values directly in the Data tab of the Item Details page, the only values i can enter into the input box are 'empty' and the current value (see screen cap below). I've tried to overwrite the number, paste a number in, etc. But nothing seems to work. I can select 'empty' or the current value. And if I select 'empty', i am unable to enter any other value into the input field. When this same layer is added to a map and the map to a WAB app, I am able to put in any value between 1 and 20, or leave it empty. Any idea what's going on here? Thanks.
... View more
04-27-2018
02:09 PM
|
0
|
3
|
1487
|
|
POST
|
Hi Kelly and Stephanie. Thanks for tracking this issue and creating the bug report. KGerrow-esristaff, I think there are two separate use cases here: 1) editing existing data and 2) creating new data. In the first case, i think an big, bright error message indicating that the value entered fails the 'uniqueness constraint' would be most helpful. Currently, AGOL simply deletes the duplicated value, leaving the input empty. That has caused us some problems when we didn't notice that the value we entered was replaced by a blank value (that's what got us stuck in the second use case). The second case is a bit harder to work thru given AGOLs current pattern of creating a new record in the database as soon as the geometry is created. I don't know how it would/could work that AGOL hold the feature in memory, checking that all attributes pass their various constraints, and then having the user click a 'save' or 'insert' or some such button to send the data to the database. Hopefully this helps. I love a good architecture discussion - it'd be interesting to know how you guys think about situations like this. Tom
... View more
04-26-2018
02:14 PM
|
1
|
0
|
2166
|
|
POST
|
I have taken advantage of the newly added capability of setting a unique constraint on a field in a hosted feature layer. I am seeing some odd behavior around that functionality. Here's how to reproduce the behavior Create a new hosted feature layer in AGOL Add a text field, lets call it 'testid' Set a unique constraint on testid Add the hosted feature layer to a new map Use the Map Viewer Edit tool to create a new feature and do not enter a value for 'testid'. Save that feature Now try to create another new feature The system wont let me create a new feature. Instead, after clicking the place on the map where i want to add the new feature, no new feature is added and a popup window is displayed with the values from another feature in the hosted feature layer. If i go back to feature with the missing value for testid and populate the field with a unique value, all goes back to working as expected. I suspect it's happening because behind the scenes a new feature is created with 'null' or empty (or default if set) values for each attribute. And when the system sees a duplicated value, i.e. null/empty value for the field testid, the system can't handle that? Anyone else see this behavior? Is this the expected behavior?
... View more
04-20-2018
01:01 PM
|
0
|
3
|
2350
|
|
POST
|
As an update on this thread, Esri recently added the ability to add a Unique Index on a field for a hosted feature layer. See the help document here: Manage hosted feature layers—ArcGIS Online Help | ArcGIS Search for the section header Add a unique constraint to a field
... View more
04-20-2018
12:44 PM
|
4
|
0
|
6971
|
|
POST
|
Did you ever figure out how to do this? I have the same (or roughly the same) use-case. I have a feature with many photos and in the feature's popup i want to display only the pictures with the name 'before' and 'after' while not showing any others.
... View more
04-18-2018
11:32 AM
|
0
|
1
|
1258
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 9 | 04-14-2026 03:22 PM | |
| 1 | 02-24-2021 12:15 PM | |
| 2 | 01-05-2026 10:04 AM | |
| 1 | 09-30-2025 01:30 PM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|