Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8124781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:34:40+00:00 2026-06-06T06:34:40+00:00

I am using GAE’s high replication datastore. I previously downloaded a table in csv

  • 0

I am using GAE’s high replication datastore. I previously downloaded a table in csv using this:

appcfg.py download_data --application=<your_app_id> --kind=<kind> --url=http://your_app_id.appspot.com/[remote_api_path] --filename=<data-filename>

Now I made some modifications into that CSV file, and I want to upload it to replace the online data. So I used this:

appcfg.py upload_data --config_file=bulkloader.yaml --filename=<data-filename> --kind=<kind> --url=http://your_app_id.appspot.com/[remote_api_path]

This successfully uploaded the data, but the problem is that now all of the newly uploaded keys (including references) look like this: name=99764 instead of id=99764

GAE didn’t recognize that both are the same thing, so it didn’t replace the ones out there, it added new ones. But now the references are now broken.

In the bulkloader.yaml, I have this:

- kind: Kind
  connector: csv
  connector_options:
    # TODO: Add connector options here--these are specific to each connector.
  property_map:
    - property: __key__
      external_name: key
      export_transform: transform.key_id_or_name_as_string

Is this part: transform.key_id_or_name_as_string causing the problem? if so then how do I fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T06:34:41+00:00Added an answer on June 6, 2026 at 6:34 am

    I’m not sure but maybe this can help you. I have used this only for link a ReferenceProperty, not for replace data

    - property: __key__
          external_name: key
          import_transform: transform.create_foreign_key('key', key_is_id=True)
          export_transform: transform.key_id_or_name_as_string
    

    edit:

    - property: category
      external_name: category
      import_transform: transform.create_foreign_key('Category', key_is_id=True)
    

    ‘Category’ in uppercase is the Model referenced from the property ‘category’. In csv file I have a string like ‘123456’ and in datastore the ID of Category Kind is ‘123456’. In this way GAE has associated the referenceproperty to the relative Kind otherwise it would be a simple string. Now in your case is different because you work with the Key for replace the data and I don’t have experience in this sense.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using GAE with python and I came across this problem, I'm trying to
I'm trying to get Django running on GAE using this tutorial . When I
I want to develop a GAE application using python, but I fear that Google
I am using GAE Java for a multi-user application. There are multiple users with
I have been working on an application using GAE in eclipse and I have
I'm using GAE memcache to fetch a boolean on each request. This boolean is
I am working on web application and using GAE/J blobstore tutorial http://code.google.com/appengine/docs/java/blobstore/overview.html I was
I'm using the GAE datastore with JDO to hold course information. Each Course has
I wrote a little application using GAE and the playframework. I am trying to
I've been building a GWT 1.7 + GAE application using the eclipse plugin. The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.