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

Current status of Delete/Expunge


  • Please log in to reply
1 reply to this topic

#1 Benjamin Schuster-Boeckler

Benjamin Schuster-Boeckler

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

Posted 29 June 2012 - 12:57 AM

Hi,

Firstly, I am a little bit puzzled by the behaviour of expungeNoteWithGuid: and expungeNotebookWithGuid: Is it allowed to use them now in 3rd party apps?

Secondly, I'm trying to grasp what syncChunk.expungedNotes contains. In my app, I was sort-of mirroring the Evernote behaviour of first moving items to the trash. I thought I could then delete them permanently when the user has expunged them via Evernote itself. However, I noticed that my EDAMSyncChunkFilter doesn't return any guid's for expunged notes. For reference, here's how the filter is generated (in ObjC):

filter = [[EDAMSyncChunkFilter alloc]
    initWithIncludeNotes:YES
    includeNoteResources:YES
    includeNoteAttributes:YES
    includeNotebooks:NO
    includeTags:NO
    includeSearches:NO
    includeResources:YES
    includeLinkedNotebooks:NO
    includeExpunged:YES
    includeNoteApplicationDataFullMap:YES
    includeResourceApplicationDataFullMap:YES
    includeNoteResourceApplicationDataFullMap:YES
    requireNoteContentClass:@"com.myapp.app"];

For some reason, the test note that I trashed and then expunged doesn't show up in there. Any ideas?

#2 Julien Boedec

Julien Boedec

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

Posted 29 June 2012 - 03:43 AM

Third party applications can delete a note (put it in the trash) but cannot expunge content (permanent deletion). That is for us the most logical behavior for our users but also for the developers.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Clip to Evernote