Change tag name on firebase

Is it possible for me to change this tag, the one that is circled
image
If possible can you share the block picture

I think there is no block for rename tags from App Inventor.

Create a new tag with the same sub-content (tags and values) then delete the first one.

A rename can be done using a multistep process involving

  • saving the (old,new) tags in a dictionary {oldTag:newTag}
  • asking for FireBase to read the old tag's values
  • when the old tag's values arrive, if the old tag is in the dictionary, then add the new tag/values
  • when the new tag/values have been stored, check the dictionary values to see if the tag is a new (renamed) tag. If it is, ask FireBase to delete the old tag from that pair, then delete the pair from the dictionary.
1 Like

You can create sub folder for that
https://community.appinventor.mit.edu/t/how-to-store-sub-data-in-firebase-for-an-online-quiz-app/20178/27

Thank you so much for all the solution.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.