In the new Firebase console I can't edit the name of nor move nor clone any node of a realtime database

killjoy picture killjoy · Aug 17, 2016 · Viewed 12.6k times · Source

In the new Firebase console I can't edit the name of nor clone nor move any node (change parent) of a realtime database

I have even tested setting Rules to Public.

Is this by design ? What then, is the use of this console ? ONLY to change child values ?

Answer

Frank van Puffelen picture Frank van Puffelen · Aug 17, 2016

There is indeed no way to clone a node or rename a key in the Firebase Database console. Since the Firebase Database API doesn't have a clone/rename operation, we also don't have an equivalent in the UI.

Note that this operation also wasn't possible in the previous Firebase Dashboard, for the same reason. It has nothing to do with your security rules nor with the new release.

If you want to move a node to a new location, you'll have to emulate it:

  1. Go to the Database tab in your Firebase Console
  2. Navigate your JSON tree until you've selected the node that you want to move
  3. Open the overflow menu (three vertical dots: ) on the right and select Export JSON. Save the file to your local disk.
  4. Delete the node from the JSON tree
  5. Navigate your JSON tree to the location where you want to move the data
  6. Open the overflow menu (three vertical dots: ) on the right and select Import JSON. Select the file from your local disk.