Select to view content in your preferred language

Hosted feature layer view to view latest date

82
1
11-13-2024 08:55 AM
JaysonLindahl
Frequent Contributor

Is this still applicable: https://community.esri.com/t5/arcgis-online-documents/display-latest-feature-in-a-feature-service/ta...

Would anybody know a solution to being able to view just the latest record on the map? 

0 Kudos
1 Reply
JaysonLindahl
Frequent Contributor

To update....

You can access the administrative endpoints (assuming you have admin privileges'), in a similar fashion to the linked post earlier.  After you create an initial view, click on the "view" button by the views URL in its overview section.  From that popup window, at the top right there is an "admin" link.  Clicking on it allows you to find the "Update Layer Definition" REST endpoint.

The problem now, I've been playing around with the JSON and I'm unable to come up with a combination of existing JSON with the JSON in the linked solution, and have had no luck getting the layer definition to update.

0 Kudos