How to export a Hosted Feature Layer View?

102
1
Jump to solution
06-29-2022 04:24 PM
Labels (2)
OliverIshmael
New Contributor III

I have created a Hosted Feature Layer View (HFLV), following this ESRI tutorial:

Inspection Workflows Part 2: Web Map Creation & Dynamic Symbology - YouTube

This HFLV symbolises features based on the date of their most recent inspection. Taking advantage of the analysis tools in MapViewer Classic to create a join between a related table of survey inspection data, features are symbolised as either 'Recently Surveyed' or 'Inspection Overdue'.

This is done using the following Arcade that compares the most recent date surveyed with the inspection frequency in days:

IIf(DateDiff(now(), $feature.InspectionDate, 'days') < $feature["Inspection_Frequency"], "Recently Inspected", "Inspection Overdue")

This works seamlessly in an online environment, however, HFLV cannot be used offline. Therefore, working primarily in an offline environment, I need to find a way of exporting the HFLV as a Hosted Feature Layer (not a View) with a new attribute that records features as either 'Recently Surveyed' or 'Inspection Overdue' so that this data can be taken offline to support a surveying workflow using ArcGIS Field Maps.

Every time a member of staff wishes to carry out an inspection survey, I will need to export this data so that they can tell which assets need inspecting. Clearly this will be onerous so I am interested in whether there is a way that this can be done solely within ArcGIS Online?

If that is not possible, is there a lengthier workflow that involves ArcGIS Pro, for example?

0 Kudos
1 Solution

Accepted Solutions
magisian
Occasional Contributor

Clarification for this reading - hosted Feature Layer Views can be used offline. You need to enable sync on the parent layer first, and then the view:

https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm#ESRI_SECTION1_3C30E0A91C...

If you run the Join Features tool with the option to store as Hosted Feature Layer Views, it will not let you take it offline as per the limitation identified here:

https://www.esri.com/arcgis-blog/products/arcgis-online/uncategorized/bring-your-data-closer-togethe...

You can run the classic 'join features' without the option checked to create a View, duplicating your data, but this give you an output where you can enable sync etc.

Or you can seek to run the analysis in ArcGIS Pro using the alternative tools identified here:

https://doc.arcgis.com/en/arcgis-online/analyze/join-features.htm#ESRI_SECTION1_A5389E3A2DCD42E99878...

Personally I would look to have ONE Hosted Feature Layer if possible and do any data management in ArcGIS Pro e.g. joins, back-ups, appends. Then create additional Hosted Feature Layer Views to share the data e.g. a View could apply a filter to only show the 'Inspection Overdue' features.

View solution in original post

0 Kudos
1 Reply
magisian
Occasional Contributor

Clarification for this reading - hosted Feature Layer Views can be used offline. You need to enable sync on the parent layer first, and then the view:

https://doc.arcgis.com/en/arcgis-online/manage-data/create-hosted-views.htm#ESRI_SECTION1_3C30E0A91C...

If you run the Join Features tool with the option to store as Hosted Feature Layer Views, it will not let you take it offline as per the limitation identified here:

https://www.esri.com/arcgis-blog/products/arcgis-online/uncategorized/bring-your-data-closer-togethe...

You can run the classic 'join features' without the option checked to create a View, duplicating your data, but this give you an output where you can enable sync etc.

Or you can seek to run the analysis in ArcGIS Pro using the alternative tools identified here:

https://doc.arcgis.com/en/arcgis-online/analyze/join-features.htm#ESRI_SECTION1_A5389E3A2DCD42E99878...

Personally I would look to have ONE Hosted Feature Layer if possible and do any data management in ArcGIS Pro e.g. joins, back-ups, appends. Then create additional Hosted Feature Layer Views to share the data e.g. a View could apply a filter to only show the 'Inspection Overdue' features.

0 Kudos