I am trying to configure the tree management solution for use by my organisation. I have updated some of the fields on the Trees layer including fields in the Inspection and Maintenance tables. These changes are not reflected in the hosted feature layer views 'Recent inspections' and 'inspections history'. Do I need to recreate these layers? If so how do I do this as I have tried to do this in ArcGIS online and there is no option to create your own filter expression? I can only select specific dates not the most recent date?
Also I have tried to update the species roster to UK species. The instructions on the configuration page simply state 'follow the update wizard'. However the wizard asks you to select the unique identifier fields and the options given in the drop down menus do not work? I have tried adding the data rather than updating but now cannot add any tree data as the forms do not work?
@AlisonAbercrombie Alison, to update the view layers you'll need to go the each view layer's item page, go to settings, then down the page you'll see 'Update View' for the layer. Go through that walkthrough and you can then pick the newly added fields you created in the source layer, and make them visible for the view layers.
I haven't used the tree solution but a different solution with view layers. I did the same thing with adding custom fields and needed to do the above workflow.
Hope this helps!
This would be a much easier solution but I cannot find Update View as an option in settings for the layers?
@AlisonAbercrombie There should be a source feature layer where all the views were made from. In the screenshot, the source would be the Feature layer (hosted) and then below are 2 view layers created from it. I'm assuming the tree layer is the same and if you searched for it in the Contents of AGOL, it'll likely have a Feature layer (hosted) version which is the layer you can go to settings for and find that update view button.
I think that this might not work for a couple of reasons. Where you have shown the update view button I have the following text:
"feature layers that participate in view layers with joins cannot have their schema altered and are always read-only and cannot be used offline."
I think that because source layer has multiple table joins I can update the view layer?
That might be why then - the joins.
Because Trees_currentinspection and Trees_inspections are hosted joined views, they do need to be recreated to expose additional fields.
To do that, you can follow these steps:
Note that while the join views are deleted, apps like the Trees page on the Tree Management Center will have broken data sources.
I hope that helps!
Mike
@AlisonAbercrombie Regarding the species roster documentation, sorry that hasn't been helpful. After updating the species roster csv and clicking Update Data from the Trees feature layer's item details page, click Add features. Select the Species Roster table, then click Next. Drag your csv into the window. The window should update with the field mapped correctly. Click Add and complete.
Once you've done that, you're ready to move onto the next section on the configure documentation: Update domain and contingent values, which uses a Notebook to update domain and contingent values with those you've uploaded into the Species Roster table from your updated csv.
We'll make a note to improve that section of the documentation at our next release.
Cheers,
Mike