Skip to content

Embedded Map {{Clicked Marker }} unable to pass row into form - Update Marker Position #14061

Answered by mikesealey
LucianHorrobin asked this question in Help
Discussion options

You must be logged in to vote

Hey @LucianHorrobin, this is a cool use for Budibase!

Having looked into what you're working on, I think on your Map (in the page) you should set your Update State action to Clicked_Marker_id = {{ Clicked marker._id }}

And then pass this value into the Map_Modal_DP data provider so that only that clicked marker is displayed on the map to be sure you're updating the location of the correct asset.

I've also swapped out your form for a Multi-Step Form Block set to update the row of the clicked asset. Clicking "Create New Marker" on the map passes these values into the fields, and the form saves them, closes the modal, and refreshes the Data Providers on the screen, so you can see the new loc…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LucianHorrobin
Comment options

@gravyplaya
Comment options

Answer selected by mikesealey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants