FWIW, I've been looking for a solution to this myself.

I generally need to automate and bulk uploads to my app on a daily
basis. Having any manual interaction to move the data will prevent my
goal from ever being reached.

So, the solution that I have found that seems to work is to create
your own bulk uploader via the FileUpload example from here:
http://code.google.com/appengine/kb/java.html#fileforms

And you can then use python's poster library to post files to your
app. You will still need to figure out how you want to handle
administrative privileges.

On May 21, 10:21 pm, Craig Berry <[email protected]> wrote:
> I have an xml file containing data which I wish to bulkupload to GAE.
> I am using the preview version of the new bulk uploader, if that
> matters. How do I include an int value for the __key__ derived from a
> field in the xml data? If I specify no import transform, like so
>
>     - property: __key__
>       external_name: id
>       export_transform: transform.key_id_or_name_as_string
>
> it loads the key as a string 'name', so it sorts lexicographically
> rather than numerically. I want an int id instead. But I can't find
> what to put in as an import_transform to make this happen.
>
> Thanks in advance for any help on this.
>
> --
> Craig Berry -http://lapidum.org/home.html
> "Magicians lie to the universe, and the
> universe believes them."  -- Lenore Berry
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to