POST
|
Update: I was able to find a solution - not perfect it works. The issue seems to be that the search appearance expression only evaluates if there is a calculated expression that feeds into it. This will rerun the filter on the search. For example, a prior question can be used to rerun the filter. Replace 'matches' with concat(substr(${some_prior_question},1,1),"matches"). This will still always output 'matches'. Replace: compact search('Lotcode?url={featureServiceUrl}','matches','SiteID',${siteid}) with compact search('Lotcode?url={featureServiceUrl}',concat(substr(${some_prior_question},1,1),"matches"),'SiteID',${siteid}).
... View more
07-19-2024
10:02 AM
|
1
|
1
|
1334
|
POST
|
The "Default" column in the XML form drives what multiselect values are automatically selected. If you had two sublots called Farm 01 and Farm 02 you would input into the default column: Farm 01,Farm 02 and they will be selected by default. If there's not too many sublots, you could try to just list every single one separated by a comma and see if that works. It looks like the Default column is calculated when the survey is open, so it would be more challenging to write an expression that is dynamic off of the farm input from a prior question. How to pre-populate answers in Survey123 - Esri Community
... View more
07-19-2024
09:50 AM
|
1
|
1
|
982
|
POST
|
I am using the Field Maps app to generate a URL link to open Survey123 in the pop up. The URL passes a parameter called "siteid" to the survey, and once the survey is completed (or closed) it will callback to the field maps app: arcgis-survey123://?itemID={surveyID}&update=true&field:search_mode=manual&field:siteid={siteID}&callback=https%3A%2F%2Ffieldmaps.arcgis.app%2F%3FreferenceContext%3Dopen%26itemID%3D{fieldmapsID} In my XLSForm, I have a select_multiple question where I search a value called 'LotCode' from a feature service and filter the list based off the input parameter "siteid' matching 'SiteID' in the feature service: compact search('Lotcode?url={featureServiceUrl}','matches','SiteID',${siteid}). However, the survey does not filter the list by siteid and will instead give me the entire list of all lotcodes. The filter works if the SiteID was selected or keyed in directly in the survey. Maybe something is being bypassed with URL parameters and it is not triggering the filtration step to occur, or this is a bug. Can anyone help me with this?
... View more
07-17-2024
02:23 PM
|
1
|
3
|
1393
|
BLOG
|
Ihab, Yes, I had been doing something similar to your last approach by overwriting the sd using a weblayersharing draft. The issue with this approach is there is a bug in the implementation so that not all the prior sd information is preserved (like sync & editing setting, item description, symbology?,...) From my understanding this approach downloads the sd, unzips it, then overwrite the feature classes in the geodatabase, rezips the sd and updates the item's sd. This way only the feature class is updated but the other aspects of the sd are preserved. Does this sound about correct? Thanks, Brent
... View more
10-23-2020
04:36 PM
|
0
|
0
|
1628
|
POST
|
There is a note in the 'Add Attribute Rule' notes I have a question about: "Note: Once you add attribute rules to a dataset, the minimum client version for the dataset is ArcGIS Pro 2.1. This means that the dataset will no longer be available for use in ArcMap." If I add an attribute rule by right clicking a layer (or table) in my SDE (Design -> Add Attribute Rule) will I be unable to open any feature classes or tables from my SDE in arcmap or just that specific feature class or table?
... View more
10-19-2020
04:01 PM
|
0
|
1
|
1174
|
POST
|
Introduction to the Spatial DataFrame | ArcGIS for Developers This article mentions that a Spatial DataFrame can be created from a local feature class using the ArcGIS API for python: "If the ArcPy module is installed, meaning you have installed ArcGIS Pro and have installed the ArcGIS API for Python in that same environment, the SpatialDataFrame has methods to read a subset of the ArcGIS Desktop supported geographic formats, most notably: feature classes shapefiles, ArcGIS Server Web Services and ArcGIS Online Hosted Feature Layers OGC Services " The article goes through an example where they construct a SDF using a local path to a shape file, but I'd like to build a spatial dataframe from a feature layer coming from a map in a ArcGIS pro project. Does anyone know how one could do this? I've looked into the documentation for the API. The arcgis.features module has the SpatialDataFrame object and a constructor method called "from_layer", but I am not sure how to pass a FeatureLayer object to it. Is there a way to construct a FeatureLayer object from a local feature layer? I was able to host the feature layer on AGOL and then create the spatial data frame from there, but I'd like to bypass having to host it.
... View more
09-29-2020
01:07 PM
|
1
|
4
|
5030
|
POST
|
O.k. GCS NAD83 did work for the coordinate system. Thank you. Is this because I was using a PCS for my coordinate system but decimal degrees should be using a GCS?
... View more
09-24-2020
02:16 PM
|
0
|
3
|
5793
|
POST
|
Attached is the settings used for Add Geometry Attribute and what attributes were created for a selected feature. Looks like I'm getting the same values.
... View more
09-24-2020
12:46 PM
|
0
|
5
|
5793
|
POST
|
We are right clicking a field in the attribute table for the layer and clicking on 'Calculate Geometry'. I believe this is the same thing as using the 'Calculate Geometry Attributes' geoprocessing tool. I've screenshot two images: The Calculate Geometry tool and the Spatial Reference information for the layer.
... View more
09-24-2020
12:33 PM
|
0
|
7
|
5793
|
POST
|
Dan thanks for your reply. I am not sure where to find this out. These are the spatial reference properties of the feature layer in question.
... View more
09-24-2020
11:47 AM
|
0
|
1
|
5793
|
POST
|
UPDATE After further investigation the environment variables not carrying over under scheduled tasking is indeed a bug. I have been notified a patch has been made and this functionality will be availible in ArcGIS Pro 2.6.2.
... View more
09-24-2020
11:39 AM
|
0
|
0
|
774
|
POST
|
Often we need to edit a polygon feature and recalculate a longitude and latitude field for the centroid of the feature. Historically, we have been doing this editing calculation within arcmap, but have been trying it out in ArcGIS pro. Unfortunately when we try and calculate the centroid x-coordinate and centroid y-coordinate for longitude and latitude in decimal degrees we are getting very large values as compared to the workflow used in arcmap. It looks like the format is being displayed in meters. Below are the setting we are using: Here is the output of (Lat,Lon) for a test feature that was created. Any ideas on how to reproduce the calculate geometry function from arcmap? Thanks
... View more
09-24-2020
11:19 AM
|
0
|
11
|
6822
|
POST
|
We have scheduled four geoprocessing tools which appends collected data from four hosted feature layers on AGOL into four local database tables. The tools are scheduled every night. Five of the six days of scheduled appends were successful, but one of the days produced an error for each of the four scheduled tools: "When running a geoprocessing tool, ArcMap returns the following error message: Error 000229: Cannot open <value>. This error message indicates the data required by the geoprocessing tool is unavailable or invalid. However, the error message can display when the data is valid and accessible if background geoprocessing is enabled." Each tool is scheduled to run at the same time. My best guess is poor internet connectivity or issues with the system health of ArcGIS online at the time the tools were scheduled. Also, on some days we are receiving 'broken data source' exclamation marks next to the hosted web layers when they are viewed as a feature layer within an ArcGIS pro project. When we close ArcGIS pro and then restart the project the broken data sources are repaired. Does anyone have any ideas about the causes of this or better solution? We would like a more robust approach to appending data nightly from ArcGIS online. Thanks
... View more
09-24-2020
10:59 AM
|
0
|
0
|
1031
|
Title | Kudos | Posted |
---|---|---|
1 | 07-19-2024 10:02 AM | |
1 | 07-17-2024 02:23 PM | |
1 | 07-19-2024 09:50 AM | |
1 | 09-29-2020 01:07 PM |
Online Status |
Offline
|
Date Last Visited |
07-25-2024
01:07 AM
|