POST
|
How do I change the default value for a table field (has a domain) in an existing Hosted Feature Service? AGOL's Data>>Fields>>Details interface allows me to edit domain entries (very nice) but I can't change the Default Value. ArcPro's "Assign Default To Field tool" gives me a "000664: Invalid input: This type of dataset is not supported" error. The lookup table is in a Many-to-1 relationship with a point layer in the same Hosted Feature Service. Thank you for your time!
... View more
04-10-2023
03:35 PM
|
1
|
1
|
260
|
IDEA
|
Yes please - implementing this would be very helpful to me. For me it is often faster to navigate in Windows Explorer and copy paste paths into ArcPro's Save and Open interfaces than doing it in ArcPro. Our data and product output locations are spread across multiple SharePoint (GIS workspaces) and Google Drive (outputs) shares.
... View more
12-29-2022
12:54 PM
|
0
|
0
|
616
|
IDEA
|
@LindsayRaabe_FPCWA thank you for your suggestion. Getting it approved on our State managed iOS/Android mobile devices could get difficult.
... View more
03-31-2022
08:55 AM
|
0
|
0
|
796
|
IDEA
|
Allow for easy switching between multiple ArcGIS Online organization accounts in Field Maps with and without internet access. Pain points: Switching accounts during field work is impossible without internet access. Depending on the mobile device setup, many are required to type in passwords every time. Currently, we have to log out and in again every time we switch between our Department's and a National AGOL organization (NIFC). We have users with 3 or more orgs too that are used in the field (i.e. federal, state, local, and agency orgs).
... View more
03-09-2022
11:14 AM
|
8
|
3
|
905
|
POST
|
Data Expressions for Dashboard's List widget is a joy! The following code works well but only returns Domain Codes. Can DomainName($feature, 'Trap_Region') somehow be used to get Domain Names? var portal = Portal('https://www.arcgis.com/');
var fs = FeatureSetByPortalItem(
portal, 'XXXXXXXXXXXXXXXXXXXXXXX',
1,
['Trap_ID','Trap_Region'],
false
);
// Trap count grouped by trap region
var fs_gp = GroupBy(fs, ['Trap_Region'], [{name: 'Total_Traps', expression: 'Trap_ID', statistic: 'COUNT' }]);
return fs_gp
... View more
01-21-2022
04:32 PM
|
2
|
1
|
445
|
BLOG
|
@Jianxia thx - excellent news! BTW: Survey123 report templating is surprisingly powerful and flexible (even supports MS Word's dynamic elements) - kudos to that team.
... View more
01-18-2022
09:24 AM
|
0
|
0
|
3457
|
BLOG
|
@Jianxia any updates on EB print or PDF export widget timelines? Are you aware of any AGOL PDF map/report generation workarounds (besides Survey123 which has awesome report templating)? PDF reports/maps still rule in government because they can be treated as "immutable" documents. Thank you for your time!
... View more
01-14-2022
11:17 AM
|
2
|
0
|
3474
|
POST
|
Thanks Johannes for the code example! I'm updating just one record in the master and the input has one record with random unrelated attributes. With enough skill, all doable in python. However, having to manually and correctly modify a script on every record update makes me very nervous. Have to look into the costs of developing an Add-In if there are no other options.
... View more
11-16-2021
08:01 AM
|
0
|
1
|
2271
|
POST
|
How can I copy and replace the multipart polygon GEOMETRY from one feature (e.g. input FGDB layer record) to another feature (e.g. master AGOL Feature Service layer record)? Geometry copy - not feature copy - to avoid messing with: existing attributes (Object ID, GUID, create/edit name/date), nested relates, and dependent apps. Currently, I'm tracing the "input" shapes by using the "Replace Geometry" and "Continue Feature" tools to updated the master feature record. This is tedious and error prone given complex shapes with up to 100+ multipart parts. There is a python way to replace geometries but I don't know how to create a safe "press button" or copy/paste solution in ArcPro.
... View more
11-15-2021
11:49 AM
|
0
|
4
|
2332
|
POST
|
For my fellow neophytes - uploading and downloading files to the AGOL Notebooks workspace: https://doc.arcgis.com/en/arcgis-online/create-maps/work-with-content-in-a-user-workspace.htm
... View more
06-01-2021
04:15 PM
|
0
|
0
|
1353
|
POST
|
In ArcGIS Online Notebooks (Standard) how is python logging handled? How do I access the logging.getLogger() log in AGOL Notebooks? Where should the logger point to? Any other best practice suggestions? Local Notebooks (ArcGIS Pro) has documentation on logging practices but they seem not to apply to the AGOL version. As expected, I have not found any entries in the AGOL Activity Log.
... View more
05-27-2021
11:45 AM
|
0
|
2
|
1391
|
POST
|
Thx @DanPatterson! Posted a bug report on github. BTW: do you have any suggestions on a better way to bulk calculate feature acres in Esri Python API? Perhaps even with ArcPy?
... View more
05-24-2021
07:51 AM
|
0
|
0
|
766
|
POST
|
I'm trying to bulk calculate acres for polygons in a hosted feature service using ArcGIS Online Notebook Standard (no ArcPy) Is there a bug in the ArcGIS Online Notebook (API v1.8.4 at posting time) implementation of the arcgis.geometry.areas_and_lengths() function or is the API description missing vital information? Through a lot of trial and error I figured out a set of parameters that ArcGIS Online Notebook would accept For length_unit it will only accept an ID number - e.g. 9002 - not esriSRUnit_Foot For area_unit it will only accept a dictionary - e.g. {"areaUnit" : "esriAcres"} - not an ID number or esriAcres I could only get it to work with parameters formatted the following way: from arcgis.geometry import lengths, areas_and_lengths, project
from arcgis.geometry import Point, Polyline, Polygon, Geometry
# create a JSON polygon geometry
geom_json = {"rings" : [[[0, 0], [0, 10], [10, 10],[10, 0],[0, 0]]],
"spatialReference" : {"wkid" : 4326}}
# create Geometry object
test_geom = Geometry(geom_json)
# calculate areas_and_lengths
areas_and_lengths(test_geom, 9035, {"areaUnit" : "esriAcres"}, "geodesic", 4326, None, False) I welcome any suggestions on a more efficient way to calculate acres than one by one converting a Feature into a Geometry to then run areas_and_lengths(). Without using ArcPy though 🙂 edit: fixed typos
... View more
05-21-2021
06:03 PM
|
0
|
3
|
1441
|
IDEA
|
Currently AGOL's Hosted Feature Service (and Hosted View FS) Overview pages list all related layers and tables but do not show that there are DB relationships. To my limited knowledge, you either have to know they are there or discover them through Attribute Expression widgets (popup - editors), ArcGIS REST Administrator Directory (JSON in "Update Definition"), etc. It would be very helpful if the Overview page would: Display which layer/table is related to which in perhaps a tree structure (great for nested relationships). Show Relationship Class attributes such as: Cardinality (1:1, 1:M, etc.) - a must Primary and Foreign Keys for each relationship - a must Relationship Class name Forward Path label Backward Path label etc.
... View more
05-17-2021
01:14 PM
|
1
|
0
|
474
|
BLOG
|
@MichaelKelly Thank you! The ArcPro video and this article lead to a breakthrough for me in setting up one-to-many relates in AGOL. Is there a similarly thorough and intuitive article/video on how to ingest (denormalize) relates in AGOL App Builder, Dashboard, etc.? UPDATE: AGOL's Classic Map Viewer's Analysis tool allows one to create dynamic (self updating) Hosted Views of feature/table joins. This way you can create a flattened (denormalized) View of your 1:M relates for presentation use (Dashboard, etc.). Another game changer for us.
... View more
04-01-2021
01:55 PM
|
1
|
0
|
7411
|
Title | Kudos | Posted |
---|---|---|
1 | 04-10-2023 03:35 PM | |
8 | 03-09-2022 11:14 AM | |
2 | 01-21-2022 04:32 PM | |
1 | 04-01-2021 01:55 PM | |
2 | 01-14-2022 11:17 AM |
Online Status |
Online
|
Date Last Visited |
2 hours ago
|