5

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?

2 Answers 2

12

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.

Sign up to request clarification or add additional context in comments.

1 Comment

Also note that even with this approach, the Create tab is quite limited: you can't add properties that aren't already used in the datastore, and you can't create certain types of properties (e.g. text and blob). What are you trying to do that you don't want to write some code to enter data?
1

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: enter image description here

3 Comments

I'm the owner of the application. I have the admin permissions normaly
Viewer is also defined as admin but with less privileges
So normaly I should see this link ? Why I don't see it ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.