|
POST
|
Hi Kaitlyn, The fields your contractors see/edit in Collector are those that are available through the popup. In the web map, open the layer's popup and set the appropriate Display/Edit. For example, in the image below all layers are visible but only FEATURETYPE is editable: Hope this helps, Uri If this answer solved your question or if you found it helpful please mark it accordingly to help others who have the same question.
... View more
03-11-2020
04:55 PM
|
5
|
0
|
1559
|
|
POST
|
Hi Muhammad, When I ran your query I also received a table with errors. It seems like the export is missing info in certain cities, leading to records not having identical structure. Consequently, when exported it populates rows with wrong data as the schema doesn't match. I quickly did a spatial join with a layer of country boundaries. Attached here. Hope this solves your problem. Uri If this answer solved your question or if you found it helpful please mark it accordingly to help others who have the same question.
... View more
03-08-2020
10:01 PM
|
0
|
0
|
706
|
|
POST
|
Did you enable the Extension? Go to Customize - Extensions and tick the Spatial Analyst box. If you found this answer helpful or if it solved your question please mark it accordingly to help others who have the same question.
... View more
02-16-2020
03:27 PM
|
0
|
1
|
1008
|
|
POST
|
In your Survey123 Connect form, assign null in the bind::esri:fieldType column. If you found this answer helpful or if it solved your question please mark it accordingly to help others who have the same question.
... View more
02-13-2020
09:27 PM
|
7
|
1
|
935
|
|
POST
|
HI Stephen, I've tried to replicate your error but on my end everything worked fine: The issue might be in your layer. Did you try other layers? If it's possible please share your layer and I can test it on my end. If your first code fails and the second succeeds, there might be a problem with passing the PointGeometry.y/x. Try this: var PointGeometry = Centroid(Geometry($feature));
var pointX = text(PointGeometry.x);
var pointY = text(PointGeometry.y);
return (pointX +': '+ pointY); If this answer has helpful please mark it as helpful. If this answer solved your question please mark it as the answer to help others who have the same question.
... View more
02-13-2020
03:38 PM
|
0
|
1
|
1088
|
|
POST
|
Does the fix include this issue as well? https://community.esri.com/thread/216147-survey-123-date-format
... View more
02-12-2020
08:40 PM
|
0
|
0
|
1057
|
|
POST
|
I'm not sure you can print a selection, but what you can do instead: Replicate the layer in your layer list and make sure it's on top of the original. Set the symbology of the new layer to be similar to a selection (same area or transparent area, bright blue outline). Instead of selecting features, apply a filter (through the table or Filter widget) to the new layer. Now you will have your original layer showing the same, and the new layer on top will show only the filtered features with selection-like colors.
... View more
02-12-2020
06:05 PM
|
1
|
0
|
1406
|
|
POST
|
I can't really see a straightforward solution for this issue. One possible workaround is by applying a filter in the web map. You can't filter by geometry, but if the null geometry is expressed in other ways in the attribute table you can run a filter on those 'null-related' attributes. This will solve your selection problem, but would still leave the user wondering what happened to their input if it was null.
... View more
02-12-2020
05:44 PM
|
0
|
0
|
986
|
|
POST
|
Sorry, try (${first_field} + ${second_field}+ ${third_field}) div 3
... View more
02-12-2020
03:12 PM
|
1
|
0
|
4389
|
|
IDEA
|
Unfortunately until better ways to communicate between these two apps are developed, the best solution for now seems to be the custom URL scheme. If you choose to go this way - I wrote a script that automates the production of the URL. Published here.
... View more
02-11-2020
07:09 PM
|
2
|
1
|
2578
|
|
IDEA
|
Unfortunately until better ways to communicate between these two apps are developed, the best solution for now seems to be the custom URL scheme. If you choose to go this way - I wrote a script that automates the production of the URL. Published here.
... View more
02-11-2020
07:09 PM
|
2
|
1
|
1869
|
|
POST
|
I wrote a simple script (attached) that produces the URL (mentioned in this post by Mike J Bruening and Brent Kinal) to match between the fields in your Survey123 form to a layer in a web map in Collector. If you're already familiar with working with the URL just fill the csv file with your fields, change the variables in the script to match your data and run the script to get the URL. For those who are not familiar, below is a step by step workflow to get the two apps talking to each other. ---------------------------------------------------------------------------------------------------------------- This methodology will allow you to enjoy the advantages of Survey123 in capturing form/text data, with the advantages of Collector in capturing geometries. This method also allows you to associate multiple geometries with one survey, which is impossible from Survey123. It might seem like a long process but it's fairly straightforward and easy. Steps 1-4 should already be accomplished anyway if you published and used your survey. Use: Transfer Survey123 inputs into a feature's fields in collector. Workflow: Create a survey. Note all the survey field names that you wish to write into the feature class attribute table (that will be created later in Collector). Create a feature layer with matching fields into which the Survey123 data will be written to (field names can be different but make sure field types match). Make sure the feature class is editable. Add the feature class into a web map and download to Collector. Only fields visible in the popup could be populated in later steps. Make sure in Settings page that you can open map in Collector. In a CSV file, list the fields to match between the survey and the feature class (you can modify the attached CSV example). Run the attached script (after filling lines 24-28 with your input: path to the CSV, web map ID, feature class url, and survey location field). The script will produce a url (starting with <href...). Copy the URL into a new row in your survey (paste the url in the 'Label' column). This row will be a hyperlink that will open collector and populate all the fields with your survey data. When you finish the survey click on this hyperlink. It will open Collector at the location of the survey and will allow drawing the feature with Collector, writing it into the specified layer. Fields from Survey123 will populate the feature layer fields in Collector. Draw the feature in Collector and click submit to save to layer. Go back to Survey123 and submit survey. Note that this workflow will results in a point layer created by the survey in Survey123, in addition to the feature layer which is updated in Collector (which can be polygon/line/point). Any comments/feedback is welcome, Uri
... View more
02-11-2020
06:57 PM
|
8
|
2
|
3907
|
|
POST
|
I've wrapped the script into a toolbox to be used in ArcGIS Pro (attached). It's mostly straightforward - for more info see the toolbox's help and metadata sections. Disclaimer: this is not an official Esri tool. It is not supported or updated. Any feedback is welcome. Uri
... View more
02-11-2020
05:24 PM
|
2
|
0
|
3199
|
|
POST
|
Hi David, I wrote a simple script (and a toolbox in the reply below. Modified from CreateWebLayerSDDraft—ArcPy | Documentation) that creates separate hosted feature layers on an AGOL/Poral account. The script py file is attached to this post. The script lists all layers in an ArcGIS Pro project (aprx), and then publishes each layer (which is a feature class) as a separate service Run this script with Python for ArcGIS Pro (e.g. v3.6.9). Fill lines 4-6 with your inputs: aprx path, map name (in aprx) and workspace path. Script will publish layers to your active portal/AGOL account as specified in your ArcGIS Pro. sddraft and sd files are saved to a local folder (user to provide path for folder, line 6). If you rerun the script make sure to delete these files. If you rerun this script make sure to delete existing service with the same name from your account. The service name will be identical to the layer's name. To change the service name insert a new name in line 17 (replace the second 'lyr' with the new name). import arcpy
#User to insert aprx file location, folder to which sddraft and sd files will be saved, and map name
aprx = arcpy.mp.ArcGISProject(r'C:\Users\...Project.aprx')
map_name = 'Map'
workspace = r'C:\Users\...\folder'
#List layers in aprx
m = aprx.listMaps(map_name)[0]
layers = m.listLayers('*')
#For each layer, created sddraft, sd and upload to active portal/AGOL.
for lyr in layers:
if lyr.isFeatureLayer:
sddraft = workspace+'\\'+str(lyr)+'.sddraft'
sd = workspace+'\\'+str(lyr)+'.sd'
arcpy.mp.CreateWebLayerSDDraft(lyr, sddraft, lyr, 'MY_HOSTED_SERVICES', 'FEATURE_ACCESS')
arcpy.StageService_server(sddraft, sd)
arcpy.UploadServiceDefinition_server(sd, 'My Hosted Services')
print (str(lyr)+': Published successfully')
... View more
02-10-2020
07:06 PM
|
2
|
0
|
3200
|
|
POST
|
Hi Robert, Updating fields is possible, but currently the ability of the fieldworker to attach files depends on the OS they're using. From reading Work with attachments—Collector for ArcGIS (Classic) | ArcGIS and testing on my mobile it seems that Windows-based Collector allows to add photos and files as attachments, while in iOS and Android you can only attach photos. A possible workaround could be letting the fieldworker enter a document name in a dedicated field, and then attach the file or create a URL to its location back at the office. Vote to create this functionality on ArcGIS Ideas: Attachments required in Collector for ArcGIS Hope this helps, Uri
... View more
02-10-2020
05:05 PM
|
0
|
0
|
517
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-20-2022 04:24 PM | |
| 1 | 02-12-2020 03:12 PM | |
| 1 | 08-01-2021 05:04 PM | |
| 2 | 09-30-2021 06:22 PM | |
| 1 | 09-29-2021 10:46 PM |
| Online Status |
Offline
|
| Date Last Visited |
06-05-2022
05:38 PM
|