How to write a new document of a Firebase Collection taking the given userId key(UID)


#21

I think the best way to accomplish this is to simply edit the Login plugin so that it will fetch the NeighborhoodId from database and stores it to dataslot after succesful login. Any other solution would be pretty “hacky” and would not work on all cases.

P.S. If you’re trying to use the Screen state script for fetching data you need to have more than one state for the screen. Otherwise the script will never be executed.


#22

I see. Let’s try this. Thanks


#23

Btw. You can overwrite any existing document simply by setting the document name in Save data interaction. Set the document name with Document_key “column”.