|
POST
|
I want to add a custom chart to my Hub site. The documentation (Design the layout of your Hub site—ArcGIS Hub | ArcGIS ) says that Cedar is the charting software and that I can use Vega/D3 to create the custom chart. But Cedar is being updated to use AmCharts instead of Vega/D3 (at least thats what i think based on this @esri/cedar - npm ) What version of Cedar is being used by Hub today? If Hub is using the older version of Cedar, will it switch to using the newer version? If there is a change, will that break my custom charts? thank you.
... View more
09-25-2018
09:29 AM
|
0
|
0
|
720
|
|
POST
|
I'll open up a tech support case and get back to you with the number. Unfortunately the view is based on a hosted feature service that contains three related tables. I am not certain of how to create the view in a way that does not automatically contain the related tables. If such a thing is possible, please let me know. Thank you.
... View more
08-29-2018
10:19 AM
|
1
|
0
|
2239
|
|
POST
|
Hi khaled hassan. I tried the 'DeleteFromDefinition' approach as suggested by you, i.e. dropping the three related tables from the service definition. Indeed the three related tables were dropped from the View. However, there have been some very 'interesting' side effects from doing that. 1) When on the service's Item Details > Visualization tab of the View, i am unable to configure the pop-up because there are no fields listed in any of the inputs of the Configure Pop-up dialog: 2) When executing a query from the WAB Query widget, no results are returned - and there is some additional odd behavior - and by that i mean that the query is executed against the layer ids of the related tables that were dropped. I know that probably doesn't make sense the way i typed it. Here's a screen shot from the Chrome browser tools showing what i mean. The app sends off requests against FeatureServer layers 1, 2, and 3 --- none of those layers exist. The response for the queries is not unsurprising: {"error":{"code":400,"message":"","details":["The requested layer (layerId: 1) was not found."]}} I have verified that if i create the View they way you had me do it before - drop the relationship from the layer then drop the layer from service - that i can configure the popup and i can execute a query against the View as expected. If it's time to move this to a new thread or submit an Tech Support request, please let me know. Thank you.
... View more
08-27-2018
04:07 PM
|
0
|
0
|
2239
|
|
POST
|
Hey Shana. Alas, I have not yet found a way to create a 'performance' index on an attribute field in AGOL (doesn't mean there isnt one though ). Let me know if you do find a way. I was feeling lucky just to get a unique index. I wonder if an index you created on the local feature layer (before posting to AGOL) would be respected when you published to AGOL or not. I suspect not.... Good luck, Tom
... View more
08-14-2018
02:07 PM
|
0
|
2
|
1861
|
|
POST
|
Hi Shana. You can add a unique constraint on an attribute field. Here's the right link: Add a unique constraint to a field—ArcGIS Online Help | ArcGIS
... View more
08-14-2018
12:50 PM
|
0
|
4
|
4356
|
|
POST
|
Hi Philip. thank you for following up. The issue is no longer relevant to our workflow, so i won't be able to test on our production survey. but when the chance comes up for any new surveys, i'll give it a go and let you know how it works out.
... View more
08-02-2018
11:14 AM
|
1
|
0
|
1906
|
|
POST
|
Hi Kelly Gerrow After your earlier clues, i tracked down the 'queryAttachments' REST endpoint. That shows some promise but i am running into some unexpected behavior. If i execute a query with the following parameter value: Definition Expression: 1=1 I get the expect results - info about the attachments for all features with attachments. An abbreviated version of the response looks like this: { "parentObjectId" : 15, "parentGlobalId" : "7432c245-6fd8-413a-b2d2-1d43a3dd15cf", "attachmentInfos" : [ { "id" : 1025, "globalId" : "ee2e72a7-11b0-4310-af6b-212cd9a4efcd", "name" : "Photo2.jpg", "contentType" : "image/jpeg", "size" : 660136, "keywords" : "" }, If i change the parameters to include 'Attachments Definition Expression' like below: Definition Expression: 1=1 Attachments Definition Expression: name='Photo2.jpg' I get an empty attachmentGroups element where i am expecting at least one record to be returned based on the previous response that shows 1 record with a name = Photo2.jpg. Instead, the response looks like this: { "fields" : [ { "name" : "OBJECTID", "type" : "esriFieldTypeOID", "alias" : "OBJECTID", "sqlType" : "sqlTypeOther", "domain" : null, "defaultValue" : null }, { "name" : "GlobalID", "type" : "esriFieldTypeGlobalID", "alias" : "GlobalID", "sqlType" : "sqlTypeOther", "length" : 38, "domain" : null, "defaultValue" : null } ], "attachmentGroups" : [] } In messing around with some of the other parameters like Size and Attachment Types, i see the expected behavior - only attachments that match the parameters are returned. Is the parameter 'Attachments Definition Expression' valid on the back end? If so, is there some special syntax i need to use? ** EDIT ** I played around a bit more and discovered that if i set the parameter Attachments Definition Expression: 1=1 i get the expected results, i.e. all attachments, and if i set the parameter like so Attachments Definition Expression: 1=2 i also get the expected results, i.e. no attachments returned. So it seems like the parameter is valid, but i am not setting it correctly? ** END EDIT ** One more side question -- i see that there is an Attachment Info field 'keywords'; is there some place in AGOL where i can set\edit that value for each attachment? thanks again for your help.
... View more
07-05-2018
05:18 PM
|
1
|
0
|
2597
|
|
POST
|
Hi Kelly. I wasn't aware of the 'Attachment Info' endpoint. Thanks for pointing that out to me. I played around with the endpoint for a bit, but as best as i can tell i don't get information about creation date or edit date (those fields were part of the Attach table of the file geodatabase that i published to agol). Additionally, the Attachments endpoint works on a per feature basis. I am trying to discover features (if any) had a new attachment added since some previous date, e.g. in the last 7 days. Is there a way to do something like that......As an example, the SQL query would look something like SELECT features FROM featureclass INNER JOIN featureclass__ATTACH ON featureclass.GlobalId = featureclass__ATTACH.parentGlobalId WHERE featureclass__ATTACH.CreationDate > DATEADD(day,-7, GETDATE()) Thank you, Tom
... View more
07-05-2018
03:20 PM
|
1
|
0
|
2597
|
|
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
|
2885
|
|
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
|
1268
|
|
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
|
1268
|
|
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
|
1268
|
|
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
|
4668
|
|
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
|
2286
|
|
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
|
8102
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 4 weeks 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
|