Hi! Do you speak spanish? I have an idea but I don't know english very well... I'll try to explain myself but I do not promise anythig lol...
I don't know if it's the best way but when I upload an image, I save the blobKey.getKeyString() into the User's model. Then I create a new BlobKey by the keyString that I was saved and I show it... - Jairo On 15 jul, 09:19, Alexander Orlov <[email protected]> wrote: > Anyone? I mean how could you assign certain blobs to certain users if > this isn't possible? > > -Alex > > On Jul 7, 12:51 pm, Alexander Orlov <[email protected]> wrote: > > > > > I want to get the BlobKey from a file a user has uploaded to link the > > BlobKey to other information. > > > First I retrieve a post URL to upload the blob: > > > val blobstoreService = BlobstoreServiceFactory.getBlobstoreService > > return blobstoreService.createUploadUrl("/") > > > Than I do a simple doPost() to post the file to the retrieved post > > URL. But doPost is a void method and don't provide any return value. > > > Is there a method which provides a return value (the BlobKey) for the > > file that was uploaded? > > > -Alex- Ocultar texto de la cita - > > - Mostrar texto de la cita - -- 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.
