Jump to content

Welcome! You're currently a Guest.

If you'd like to join in the Discussion, or access additional features in our forums, please sign in with your Evernote Account here. Have an Evernote Account but forgot your password? Reset it! Don't have an account yet? Create One! You'll need to set your Display Name before your first post.

Photo

update note doesn't update image


  • Please log in to reply
2 replies to this topic

#1 reddreamstar

reddreamstar

  • Pip
  • Title: Member
  • Group: Members
  • 2 posts

Posted 22 June 2012 - 10:52 PM

Hello,

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.

#2 Julien Boedec

Julien Boedec

  • Title: Browncoat
  • Group: Evernote Employee
  • 407 posts

Posted 24 June 2012 - 02:14 AM

If the image is updated in the note, there is no reason that it isn't updated in the preview. Are you sure you replaced the image (and not appended it to the note)? Have you tried refreshing the page?

#3 reddreamstar

reddreamstar

  • Pip
  • Title: Member
  • Group: Members
  • 2 posts

Posted 29 June 2012 - 01:11 AM

Hello,

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?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Clip to Evernote