How can I update a single value in a Firebase project bucket?

Hi,

First of all, here’s what my project bucket looks like : [there are sub-buckets inside a main project bucket, which contain the values]

image

Here, I plan to update the status property of the ODR2571 sub-bucket, which is under the STR1001 bucket. I want to update that property from ‘processing’ to ‘completed’.

But, when I execute these blocks : [the textinput1 & textinput2 contain the STR1001 & ODR2571 respectively]

image

Something like this happens : [the status is updated successfully, but all the other properties get deleted]

image


Here’s a video with a proper representation of my issue :

Please guide me if you have any idea about what I should do :slightly_smiling_face:
Thanks a lot!

You need to drill down

Instead of just this

image

Add /status to the end of the path and only update the value with a text block. Don’t use the object block

2 Likes

Hi, @jared! How are ya?

That worked like a charm! I did this :

image

And everything worked perfectly :grinning: You just solved a very big problem of mine! :grinning_face_with_smiling_eyes:

Thanks a lot!

3 Likes