I have an existing Firebase project with an empty real time database. I want to switch/add the new Firestore beta but I don't see any option in the dashboard to add it. If I click on Database in the left menu, all I see is the realtime database.
How do I add/enable the Firestore beta on a project using the dashboard admin?
Do I have to delete the existing real-time database? Or can they exist side-by-side on the same project?
I don't see the drop down in my dashboard like others have mentioned.
Select Database on the left menu and then click on the drop down menu as shown in the screenshot and from there you select the interface you want to work on (real time DB or Firestore).
Related
While launching the react native expo app,got this prompt.
The query requires an index. You can create it here: https://console.firebase.google.com/v1/r/project/production-a9404/firestore/indexes?create_composite=Ck5wcm9qZWN0cy9wcm9kdWN0aW9uLWE5NDA0L2RhdGFiYXNlcy8oZGVmYXVsdCkvY29sbGVjdGlvbkdyb3Vwcy9jb2lucy9pbmRleGVzL18QARoMCghhdXRob3JJRBABGg0KCWNyZWF0ZWRBdBACGgwKCF9fbmFtZV9fEAI
When I clicked, the google console showing error as below.
But, this one worked earlier for a different collection and when trying for a new collection, getting this.
Please suggest.
It looks like you're signed in with an account that doesn't have permission to read or create indexes.
You should open the link from a user account that does have those permissions. When you do that, you'll see a screen that has all information prepopulated, and you can create the index with a single click (and some patience).
I want to manually create a document in my Cosmos DB collection but "Create" option in Document Explorer is disabled -- see below. I used to be able to do this.
How do we create documents manually now?
#Sam: looks like you're seeing the old version of the Data Explorer. Try cleaning browser cache or logging in to the portal with another browser. You should see "New Document" button when you click on your documents collection in Data Explorer.
I am trying to make multiple pages with the name of users which will then be shared with each them. However, once I tested it by adding one of them, they managed to get to the page, but no results are shown when clicking at the button for pulling the data from the Drive Sheet. The circle is doing a single circle and that's it - no data, only the headers are shown.
Is it required for the users to have the file shared with them in Drive in order to pull it on Google App Maker or is there any security setting that I have to adjust?
Settings in the publish menu:
User roles in Security in the PAGE and DATA:
There are no errors in the Developer or Preview tab.
If you go down with Spreadsheet approach, then you'll face with implementing CRUD operations almost from scratch, what is opposite from the App Maker mission.
only the Admins want to see everything
Out of the box deployment Admins can see all data
employees access only for the accounts assigned to them
You can achieve such security configuration by adding Owner field to your model (Record Permissions).
Take a look at App Maker Templates, there are lots permission configuration samples.
The Console ONLY allows you to add a CHILD to the root. You cannot add a NODE in the Windows Console or in the Chrome Console.
So, if I got the question right, the following is desired:
/db-root
/newly-added-node-1
/newly-added-node-2
...
Had the same problem recently. There was also such a warning in the Firebase database console section:
Read-only & non-realtime mode activated to improve browser performance. Select a key with fewer records to edit or view in realtime.
If this is the case, you can simply add a node through the URL string. So, just visit:
http://console.firebase.google.com/project/${project-id}/database/${db-root}/data/${new-node-name}
And you'll be able to add data to the new node.
Hope this helps. Cheers!
This must be staring me in the face, but don't see the command. How do I delete an unused Firebase DB from the Console in the new Firebase? And Google did not help with an answer, which is kind of a first.
Another way if you don't want to delete the project, and just the database, is to create a file on your computer empty.json like this:
{}
Then click on the ... and "Import JSON"
Then "Browse" and upload your empty file:
You overwrite your database with an empty JSON file, effectively "deleting" the old database.
THIS DELETES THE ENTIRE PROJECT
To delete ONLY the database just delete the top level object/node.
Click on your project (the white box below, hiding name):
Then click on gear (settings) icon and click "Project Settings":
Scroll to bottom and click "DELETE PROJECT":
It's currently not possible to delete other Realtime Database instances created via Firebase Console.
They do have plans for adding the feature,but It'll come in the future.
For now, you can watch their updates here:
https://firebase.googleblog.com
https://firebase.google.com/support/releases
Their support suggested me to wipe all data and to lock down the database to prevent any usage, as a work-around for now.
Just remembering that having multiple instance is only possible if you have a Blaze account.
Looks like Google recently introduced this feature to delete a Firebase RTDB. To delete this (after we raised this concern with Google Firebase team on Firebase RoadShow India 😃).
To do this, follow these steps:
Go to your Firebase RTDB which you want to delete
Delete all your data from the database
Select the 3 dots on the top right corner
Hit the "Disable Database" button
After the database is disabled, hit that 3 dots again and click "Delete Database"
Cheers!
If the dots method doesn't work then here's another option-
Open the project you want to delete.
Go to setting (on the left side of the page|near Project Overview).
Select project settings.
You'll find delete project option at the end of that page (below app config).
Then you'll be asked things about the policy of deleting the project and your preference and stuff... you can answer accordingly.