update note doesn't update image
Posted 22 June 2012 - 10:52 PM
I apologize but I am new to the evernote SDK. I am developing for iOS.
I created a note with a single image. I logged into the evernote website and verified the note was displayed with the text and image I provided as expected.
I then updated the note via my app with a replacement image. I logged into the evernote website and observed the following:
1) In the actual note (all the way to the right of the screen / full display) the image was updated as expected.
2) On the notebook's note list, the old image was still displaying
If I continue to update the image with new images, the note itself is updated but the notebook's note list page never seems to update from the originating image!
Can anyone please shed some light on this? I can't seem to figure this out.
Posted 24 June 2012 - 02:14 AM
Posted 29 June 2012 - 01:11 AM
Sorry for the late reply...
When I update a note using the Evernote iOS SDK, I create a new note (as in object-wise, not API-wise), assign all the needed data to it, do the resource and everything exactly like I do for the create/add note part of my code.
The only difference is that when updating I call updateNote instead of createNote.
This does indeed update the note but does not update the preview.
Refreshing the page does not help. Same effects on both dev and production API keys.
The docs lead me to believe that updateNote replaces all resources. Is there a step I have to take to do that instead?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users