|
IDEA
|
Definitely a necessary functionality for published layers. I tried the REST Admin endpoint workaround and doesn't work. ArcGIS Pro already have this tool: Assign Default to Field but it doesn't work with hosted feature layers. It's incredible the amount of work one have to do to fix this behavior: 1. Arcade is showing the default value on records with null value 2. We have to create another field, do a field calculation, delete the previous field. 3. Reorder the new field on the popup window and FieldMaps form. Create calculated field from the new added field. 4. Edit labels on the map to show the new created field. All of this for one single wrong default value. Please, implement this on the next AGOL release.
... View more
06-20-2022
03:35 PM
|
0
|
0
|
11187
|
|
POST
|
Folks, Tested on Android and the problem is there: if the calculated fields have names with a common root (in my case COD) then the calculations are ignored. I was breaking my head wondering why my arcade code wasn't working until I found this post and changed the field name to BAND_CODES instead of CODES_BAND to change the common root with other fields (CODES_TREES, CODES_DENDO). Wao, I was going crazy trying to figure out what was happening. I hope the folks at FieldMaps fix this inconvenient bug. Milton
... View more
06-14-2022
01:28 PM
|
0
|
2
|
2309
|
|
POST
|
@RhettZufelt, My man! I owe you a couple of beers. I couldn't figured it out by myself in a million years. Lessons learned through your help: 1. Never publish a Feature class with Labels defined from ArcGIS Pro. It's a headache. 2. JSON Lint. Thank you for sharing this tool. 3. A real world example to use Notebooks. I used AGOL Notebooks to make these changes instead of ArcGIS Pro. 4. I executed the Python code against the Feature Layer (the original layer) and the 3 Views created from there. Although, the original layer changed the definition, the views kept the original one. After running the notebook, I checked the REST endpoints and the Drawing Info was changed. Now the labels are showing just fine on FieldMaps online and offline. Sometimes I feel a little bit dismayed by the amount of tools we need to know in order to have everything running top notch (ArcGIS Pro, Cartography, Coordinate systems, Symbology, AGOL, FieldMaps, JSON, Python, REST manipulation, Ecology, maths, logic, etc. Thanks God there's people like you, available to help other people.
... View more
04-21-2022
03:00 PM
|
1
|
0
|
1529
|
|
POST
|
I'm really interested in learning how to clear the default labeling issue rather than having to recreate everything. Can you show me how to use the Python API to clear the labeling issue? I'll really appreciate this. Milton
... View more
04-21-2022
09:20 AM
|
0
|
0
|
1537
|
|
POST
|
Hi @RhettZufelt , Thank you for looking into this issue. It seems like a bug and you basically can't fix it without deleting and re-publishing the layers. It happened once with a domain for a field: I wasn't able to delete the domain and had to delete de FC and re-create everything again. I edited the JSON definition directly for the FC and Views with no luck. After updating the FC JSON definition, I created another view (to inherit the new definition) and the labels problem persist. I think is more than just editing the FC JSON definition. Your findings were correct and I tried that way. The solution then is to re-publish the FC, recreate the views, maps, smart forms, etc. Thank you for your time!
... View more
04-20-2022
01:26 PM
|
0
|
0
|
1550
|
|
POST
|
Yes, I sent you an invitation to join a group on AGOL. Join the group and check the content there @RhettZufelt when you have access to the group, try the following: open the map in FieldMaps, notice the labels. Then, take the map offline and open it again. Check the labels Milton
... View more
04-19-2022
04:31 PM
|
0
|
0
|
4077
|
|
POST
|
Added. The map name is "ForestGeo Censo 2022 - Piloto Supervisores". Important... use the Map Viewer Classic to open the map, please. Milton
... View more
04-19-2022
03:58 PM
|
0
|
2
|
4083
|
|
POST
|
Hi @RhettZufelt , Thanks for taking the time to see this and sorry for the late answer; I was working on other improvements on the form. Some fields are empty because those trees are not finished yet (not all fields are capturedt), hence the empty labels. I'm using a view to display these trees. The thing is: labels are showing just fine on FieldMaps when online. BUT, if you take the map offline and open the map in FieldMaps, the labels are shown incorrectly. I might share with you the Feature View and the map, so you can test it out. What is your AGOL user? Or is there another way for you to have access to the view and the map and test the label issue? Best, Milton
... View more
04-19-2022
03:05 PM
|
0
|
4
|
4091
|
|
POST
|
Rhett, My bad at attaching images not quite the same on the question. I reattached the images at the same extent and data. The supervisors need to see more info on the label string the quickly **bleep** the census status, whereas the field crew just need 3 fields concatenated. Each field worker has the option to take the map offline on a "as needed" basis. So the map is taken offline on the spot, no pre-created offline areas. The problem is when you see the map Online, the labels are shown correctly. But once you take the map offline, the labels are changed to the original labels defined on the View. When I created the view, I defined the label as part of the view. Now it seems, when taking the map offline, is using this label as a default, ignoring the labels at the map level. Any ideas? Milton
... View more
04-09-2022
11:24 AM
|
1
|
0
|
4159
|
|
POST
|
Hi Folks, I created two webmaps with some views for editing control. One webmap is used by the field crew to census trees. This webmap contains labels with 3 attributes: $feature.TAG + " - " + $feature.SPP + " - " + $feature["DBH_DAP"] I saved the original map AS another webmap, which is used by supervisors. To make their work easy, the label for the trees needs to have 6 fields concatenated: $feature.TAG + " - " + $feature.SPP + " - " + $feature["DBH_DAP"] + " - " + $feature["DBH_DAP2022"] + " - " + $feature.CODES + " - " + $feature.CODES2022 When opening the Supervisors map, the labels are shown perfectly (see the attached image named Labels_Online.jpg) when in online mode. If we take the same map offline and the open it, the labels default to other labels (see the Labels_Offline.jpg). Is the saved map using a default label for this layer? Why is not using the labels defined on the map? Is there a limit on the number of fields used to create a label? Thanks! Milton
... View more
04-08-2022
12:53 PM
|
1
|
14
|
5753
|
|
POST
|
Hi Folks, I scourged the forum looking how to do the following: 1. I have old tree measurements (DAP - Diameter at breast height from previous census) and I need to capture new DAP measurements. Sometimes, when you measure a stem, you type the wrong number (higher or lower than the previous). 2. I can do a calculate field and compare the old DAP vs the new DAP and if this is more than 50mm, issue a warning or show a message. 3. How can I display such a warning or message to the field crew? Thanks! Milton
... View more
03-29-2022
02:06 PM
|
0
|
0
|
416
|
|
POST
|
Wonderful Josh, it worked straight from the forum! Thank you for taking the time to help with this. Milton
... View more
03-25-2022
07:46 AM
|
0
|
0
|
1595
|
|
POST
|
Hi Folks, I have this expression on my map popup window to show in one field, the content from 8 different fields (see screenshot below): Trim(Concatenate([$feature["COD_A"], $feature["COD_B"], $feature["COD_D"], $feature["COD_L"], $feature["COD_M"], $feature["COD_N"], $feature["COD_P"], $feature["COD_Q"], $feature["COD_R"], ], '')) I'm trying to create a graph on my dashboard to show exactly this expression (See the screenshot with the Pie Chart as example). The graph will show how many variations of the codes are in the database (ex. LR - 10, BQ-5, RB-2, D-15, etc.). The field expression is not available in Dashboards, so I can't use the expression. I tried Data Expressions but I can't figure out how to do it. Can you help me to figure out how to achieve this? thanks in advance! Milton
... View more
03-24-2022
02:19 PM
|
0
|
2
|
1703
|
|
POST
|
Sure @BlakeSmith. I noticed when creating a view that you may forget to include the fields Editor and Editdate (maintained by AGOL) in the View definition. Then you add this view to a map, create popups and a FieldMaps form. After your field crew takes de map offline and makes edits, then this triggers the "Offline Map - SQLite Error". It makes sense to always allow these field available to update, but sometimes we may forget. I'm just saying in case someone forget to include these fields. Update 04/02/2023: The error is happening on iPadOS 16.3 when an offline view has the following layer settings enabled: Keep track of changes to the data (add, update, delete features). Keep track of who edited the data (editor name, date and time). But the fields Creator, CreationDate, EditDate, Editor are not available as part of the fields view; the error will raise in offline mode. Online mode will work without problems. On Android it will work without issues.
... View more
03-09-2022
08:53 AM
|
3
|
1
|
5220
|
|
POST
|
Hi R_, Thanks for taking the time to reproduce my error. All your steps are correct and those are the supposed steps to update a view. On my case, the view inherited the field for the feature class only; I was able to select the new added fields, but for the related table the new added fields never appeared. Because our trees are classified in Big, Regular and New Trees, I have 3 exact views from the same FC and related tables. On none of those related table views, the new fields appeared. The FC views showed the new fields but not the related tables. I finally had to recreate the views; it took me more time to reconfigure the map viewer, Field Map smart forms and so on, but fixed the problem right away. And yes, I use AGO Assistant to copy and paste the JSON definition for the formInfo and popupInfo tag for my maps. It accelerates the process but you have to manually modify some aspects. Your response is correct although it didn't fixed my problem. Milton
... View more
03-01-2022
06:21 AM
|
1
|
0
|
1505
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-26-2025 10:44 AM | |
| 3 | 09-06-2025 02:13 PM | |
| 1 | 06-30-2025 10:40 AM | |
| 1 | 11-17-2023 09:28 AM | |
| 1 | 11-30-2023 01:39 PM |
| Online Status |
Offline
|
| Date Last Visited |
Saturday
|