|
POST
|
I know this post is ancient, but are there limitations to what kinds of fields will show up in the Configure Allow List? I have two date fields related to image acquisition and I can't get them to even show up as checkbox options in the Configure Allow List. They are in the mosaic Footprint attribute table, and I have another field I added there (Text) that shows up fine. I see other services have date fields in their imagery service, so I'm stumped. EDIT: Moments after posting, I figured it out. Before publishing, you need to first go in through Catalog in ArcGIS Pro and right click the mosaic, then go to Properties. Choose the Defaults menu from the left side of the window, and then set the Allowed Fields option to include your new field(s). Then, do the same thing when publishing (or overwriting) the service as described in the accepted solution above (Configuration -> Imagery -> Allowed Fields in the panel when publishing/overwriting). EDIT EDIT: Oh lord, plot twist—I posted too soon! The fields were available in the Configure Allowed Fields for the MD properties in Pro, but when I went to publish, they were not available as options in the Allowed Fields section, there. I have no idea what the issue is.
... View more
02-16-2023
01:21 PM
|
2
|
1
|
3122
|
|
IDEA
|
@JimW You can do this currently using the ArcGIS API for Python. That allows you to target a specific layer within a hosted feature layer collection when working with data updates, using things like truncate and edit_features to do an 'overwrite'. But it would be nice to have it available via the website UI, too, if it's feasible.
... View more
02-01-2023
09:39 AM
|
0
|
0
|
2567
|
|
POST
|
Thanks @JakeMatthys . That's going to be my next direction, though I've never tried to make edits via a replica from a script before. If I manage to get it to work, I'll try and share what I did.
... View more
01-31-2023
09:32 AM
|
2
|
0
|
2375
|
|
POST
|
Well, I went ahead and tested it using a dummy project and data. The answer is it does prevent Field Maps from syncing ALL of the layers, if one or more of the replicas is missing for any layer, even it the layer has no edits to push up. I was hoping it would sync the editable layers just fine and then just skip or ignore any missing replicas for the reference data, since there were no edits for them to be pushed. Back to the drawing board, I guess. EDIT: For reference, the error you get in Field Maps is "Error while handling start sync geodatabase on the server."
... View more
01-30-2023
02:57 PM
|
0
|
0
|
2387
|
|
POST
|
Hello, I have a use-case where staff need to be able to take non-editable reference data offline in their Field Maps projects—which is straightforward. The twist, however, is that these reference datasets are part of our Open Data catalog and have regular refreshes using various sources/methods, and we are not able to have enable the sync capability of a Feature Service on them directly. So very long story short, I wrote a Notebook to essentially create and maintain some 'Offline' versions of these reference layers, that would refresh from the source layers on a schedule, making sure our users always had an offline-ready version of these basic organizational datasets for their offline various projects. This has worked mostly well so far, with the exception of one major issue—the script can't complete its updates if there are any outstanding replicas on those offline copies. Since these reference datasets are not editable, I thought it might be okay to just add a step that clears out the outstanding replicas each time before attempting to update — however I'm uncertain how this might affect other editable layers within the project web map. The notebook doesn't directly interact with those at all, but I'm worried that when they go to sync those field edits from the layers that are actually editable, the missing replicas for the non-editable data may prevent the app from being able to sync anything in the project at all. Does anyone know what might happen in this case? I hope my question/situation makes sense. I figured I'd reach out here first to see if anyone knew or had experience with this, and potentially save myself the effort of setting up a big test project. Thanks!
... View more
01-30-2023
10:35 AM
|
0
|
3
|
2416
|
|
IDEA
|
@John_Spence I haven't tried it yet, but looks like you can use assign_categories( users, categories) https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.UserManager.assign_categories
... View more
01-17-2023
11:36 AM
|
0
|
0
|
4083
|
|
IDEA
|
@Egelkroutk, @mada, @r3weber , @John_Spence Looks like this info is available via the UserManager: https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.UserManager.categories Not sure how long it's been there, I kept expecting to find it under the gis.user class with those other properties. Example (Using AGO Notebooks): from arcgis.gis import GIS
gis = GIS("home")
users = gis.users.search(max_users=10) #just using first 10 as example
for user in users:
print(user.categories)
... View more
01-17-2023
08:42 AM
|
0
|
0
|
4103
|
|
IDEA
|
Thanks @OwenGeo . I think that covers some cases well, like the example you included. But in situations where the individual stories were not necessarily designed to be in a collection originally, it is a bit limiting. We can't alter those descriptions if the item is from another organization, either. Or in other cases, we want to make a collection of stories from different departments within our own org, but we don't want to have to 'hijack' the item description just to serve the purposes of the collection, when the individual items might also need to stand on their own, if that makes sense. If there was an option to manually edit the descriptions on the Journal layout (under the existing Custom item details settings, like the Title option there now) rather than only pulling from the item summaries, that would be really great. I think our current workaround for some of these cases would be to create a separate StoryMap that links to each story and then include a bit of commentary via the text blocks, or use some external option like a blog post the way ESRI does for their Favorites Stories of the Year. Which works fine, too—but the compactness, functionality, and structure of using the Collections would be nice, and integrates well as an item with the rest of the ArcGIS platform, such as on Hub/Open Data sites. Appreciate you all taking the time to respond and update these idea posts.
... View more
01-09-2023
07:59 AM
|
0
|
0
|
2171
|
|
IDEA
|
@Egelkroutk I haven't had a chance to check since the ArcGIS Online update occurred last night (11/9), but I didn't see anything on the release note blog mentioning it. I also don't see it in the documentation yet, either: https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#user
... View more
11-10-2022
09:52 AM
|
0
|
0
|
4197
|
|
POST
|
Would really like this functionality as well. Quite unfortunate for organizations utilizing both Enterprise Portal and ArcGIS Online together.
... View more
11-01-2022
01:39 PM
|
2
|
0
|
1443
|
|
POST
|
Any update on this? Running into the same issue, would like to export data from a REST/feature service on an Enterprise Portal, rather than one hosted on ArcGIS Online, using an ArcGIS Online Dashboard. Currently don't get the option to enable download in the widget, even when Extract is enabled in the feature service. Quite a bummer.
... View more
11-01-2022
01:35 PM
|
2
|
0
|
6378
|
|
POST
|
Thanks for letting me know @JLBlair . It would be helpful if there was a way to search the list of open/unresolved bugs. If there is, I haven't found it yet (other than ones where I've had a cased attached to it.)
... View more
10-31-2022
07:15 AM
|
0
|
2
|
3351
|
|
POST
|
I'm experiencing an issue when using Tasks in ArcGIS Online Notebooks. I have a Notebook that runs as expected whenever I start it manually, but when I use the Tasks options to schedule it, it will fail sporadically in the very first cell when simply trying to import arcpy. See error below: "startTime": "2022-10-13T03:33:04.3991322Z",
"endTime": "2022-10-13T03:33:54.2327257Z",
"type": "executeNotebook",
"results": {},
"status": "FAILED",
"username": "",
"errors": {
"messages": [
"An error has occurred.",
"",
"---------------------------------------------------------------------------",
"Exception encountered at \"In [1]\":",
"---------------------------------------------------------------------------",
"error Traceback (most recent call last)",
" in 7 import arcpy",
" 8 from arcgis.gis import GIS",
" 9 from arcgis.features import FeatureLayer",
"",
"/opt/conda/lib/python3.6/site-packages/arcpy/__init__.py in 72 import _initagsenv",
" 73 ",
" 74 from arcpy.geoprocessing import gp",
"",
"error: WSLib: failed initializing arcpy. Check if environment was activated correctly."
] The Task I have set up runs every 3 hours, and fails roughly 30-40% of the time. I've included a screenshot below of the recent results, but I've been seeing this behavior the past few weeks. It was not occurring this past June, when I last had it running with Tasks. I have not been able to identify any pattern to it yet, as the times vary. I will note, my Notebook is using Runtime 4.0 - Advanced. I have not had a chance to upgrade it to a newer runtime for this particular Notebook as some of the packages it relies on have changed in newer versions and will require me to rewrite how some portions of it work. I will get to that after hurricane season, but in the meantime I'm curious if anyone else has run into this issue, or if it has maybe already been logged as a bug?
... View more
10-13-2022
08:31 AM
|
0
|
4
|
3422
|
|
POST
|
Hi @ShengdiZhang I appreciate you taking a look. It turns out I was being a dummy and was choosing the wrong source for my table within Experience Builder. While I had previously set up the Show Time option within the web map as you suggested, I was using the hosted table directly when setting up the 'Connect to Data' settings, rather than choosing the appropriate web map that had the field configurations. I probably wouldn't have ever noticed though if I hadn't been putting together screenshots to show the issue after your reply, so thanks for the help!
... View more
09-26-2022
07:33 AM
|
0
|
0
|
3665
|
|
POST
|
This issue is still present as of September 2022. We're using Experience Builder for some emergency response applications, and letting users download certain tables that have been trimmed down to only the fields from the table view would save staff a lot of time in having to trim and format them afterward to meet their needs.
... View more
09-26-2022
07:10 AM
|
1
|
1
|
5851
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 04-24-2026 09:14 AM | |
| 1 | 09-19-2023 08:22 PM | |
| 1 | 06-24-2022 09:52 AM | |
| 1 | 03-26-2026 12:44 PM |
| Online Status |
Online
|
| Date Last Visited |
an hour ago
|