How to fill-up (update) a map (list) array field from another collection, using actions

Actions & Logic

I'm new in Flutterflow and trying my first project. I have a collection called Igrejas that contains a map (list) array field structure called membros. I need to update an Igrejas document filling-up its membros array structure using the data from another collection documents that has same layout fields as membros in Igrejas, called TempMembros. I'd like to use button called actions to achieve this.

What have you tried so far?

I have tried to use query based list views and action queries followed by update documents, but in the action where I try to update the document, I got stuck, because when selecting the value to set, there is always another option list to select from like (first items, item at index..., and so on). Any clues to do this ? Thanks in advance. Roquevalder.

Action readding TempMembros collection

Action readding Igrejas collection

Action trying to update Igrejas collection

Did you check FlutterFlow's Documentation for this topic?
Yes
1 reply