How to view app data on google app engine datastore? - google-app-engine

I have made an android app which saves user input data in a googele app engine datastore. I want to view the stored entity on google developers console.
How can I do it? On left hand side menu I can see Query menu which takes me to my entity page but no entities are shown, just an ID.
Please advise.
Manish

If no entities are shown, this means there are no entities. If you see something like
id= 595005
and nothing else, this means you have an entity with no properties.
You can also try the older version of the Datastore Viewer (look for the link in the left menu).

Related

Is there a way to interactively create a new Datastore entity kind for Go GAE apps?

Is there a way to create a new Datastore entity kind via some interactive means for Go App Engine apps? The datastore viewer won't let me add new entity kinds, and the interactive console doesn't seem to support Go.
I'm trying to upload some configuration data to datastore, including sensitive data that I don't want to appear in code. So far the best method I can come up with is to write some code to write an empty configuration entity, deploy, run, then use the datastore viewer to set the values.
Thanks in advance.
You absolutely can add new Entity Kinds in the Console.
In the Cloud Console, Click on the Datastore menu item, then 'Create an Entity'. Handy link, just select your project name
Then in the Kind field, just type in your desired Kind name.
First of all your code is safe at AppEngine - nobody can download it. At least nobody outside of Google. You can deploy it to a dedicated version/module and restrict usage to yourself (check current user, ask pass-phrase, etc in your code).
Second you can use Remote API - this way you do not upload any code to AppEngine. You can create entities remotely as you wish using secure HTTPS connection.

Why are my Google App Engine Datastore entities reappearing after being deleted?

In the Developers Console, in Cloud Datastore > Query, I am trying to delete all entities by clicking the button to select all and then clicking delete. All the entities disappear, but when the page is reloaded they are still there!
Has anyone experienced this at all, and has suggestions?
If you deleted data from your datastore viewer in the app engine console you have to flush the Memcache or wait for a while (minutes)

Google Cloud Datastore and reports/administration

I'm quite new to Google App Engine and it's cloud Datastore which is used for storing the backend's data by default. As far as I realized you can only view it's content within the developer console and you can create or edit entities there.
But is there any external tool from which you can connect to your datastore to create reports or administer the data? What is your experience?
In fact yes it's true you can only see data's from the admin console.
If you wish to see your data's in Google Drive Table and make a report you can, but for that you need to create a connector to your sheet (I already made one). It's exactly the same if you need update or import data's to your datastore.
I use this Technic to upload or refresh products on my e-shop GAE app.
In general if I need to see a report, I design a specific web page for that and I protect theme via a login / password. To see a well formatted report you can use jquery library or use Google Charts

GWT - what type of database?

A GWT project with a few combo boxes and a button. When I click the button I need to use "if" for each combo box and depending on the answer for each one I want to get some data from a database and use it for a formula. The problem is I don't know how to create the database for the GWT project. I need to use a free one. Also maybe it is important to the question that I want to deploy the GWT project to App Engine.
I could not figure out what type of database I should use. I've read about Google Cloud SQL, but the thing**strong text** is that you have to pay for it. The other option seems to be App Engine Datastore, but I couldn't actually figure out how it should work for my project.
You can start with the App Engine documentation of different storage options:
https://developers.google.com/appengine/docs/java/storage
Datastore on App Engine has a free quota, after which you have to pay for data and transactions.

Create entity using datastore viewer Google App Engine

I would like to create an entity in my datastore from the admin console on google app engine.
To do this, I read I must clicked on the tab "create" in the datastore viewer BUT I don't have this link.
I have just the "query" tab and as I have no data, nothing appears.
How can I create an entity from the admin console on google app engine?
App Engine will only let you create new entities for a Kind that has already been defined. If you haven't ever saved anything to the datastore, your datastore is a blank slate, and you won't be able to query or create in it.
If you don't want to deploy code in order to write your first entities to the datastore, you can enable the interactive console in production, and write code that generates a model, populates, and saves it. Once you've done that, your Create link should appear.
Check the permissions section maybe you only have the Viewer role which doesn't allow you to create entities.
BTW, the create link looks like this:

Resources