Select to view content in your preferred language

Power Automate Overwrite Feature Layer Action

395
2
11-15-2024 06:13 AM
Status: Open
WilliamSpiking
Emerging Contributor

Idea: A new Power Automate action that overwrites/replaces all the data in hosted feature layer.

ArcGIS Online allows overwriting hosted feature layers so it would be nice to have an action that automates the process.

In my workflow, I'm using the PostgreSQL 'Get Rows' action to connect to a table in my database.  The PostgreSQL connector doesn't have any triggers, only actions, so the flow runs on a schedule grabbing all of the data daily.  It would be nice if I could just overwrite my hosted feature layer with one ArcGIS Power Automate action, but instead I have to use the 'Delete record from feature layer' action to remove all the records from my feature layer and then use the 'Create a record in a feature layer' to add all the data back.  I'm sure there are a ton of other examples where having this action would improve automated workflows. 

2 Comments
AkshayHarshe

@WilliamSpiking Thanks for submitting this idea and we will take it under consideration. We recently released a new action called `Update records in a feature layer (batch) this takes in array of features. Meanwhile, see if this this makes your life easier.

WilliamSpiking

@AkshayHarshe Thank you!  I'll check it out.