Search the web
Sign In
New User? Sign Up
simpy-dev · Simpy Developer Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Updating Notes   Message List  
Reply | Forward Message #281 of 305 |
Re: [simpy-dev] Updating Notes

Hi Benjamin,

Benjamin Reitzammer wrote:
> Hi Otis,
> while updating simpy.py to v1.1 I resurrected my notes syncing script.
> But didn't get very far.

Notes syncing script?

> Because I found, that it's not possible to _update_ notes via the API.
> The documentation for SaveNote doesn't mention an "id" or "noteId"
> parameter. And even if I provide one anyway, it gets "ignored" and
> every note I save via SaveNote ends up as a new note.
>
> Is it possible to fix that?

Of course. I changed SaveNote call to take an optional noteId
parameter. If noteId is valid (matches an existing Note), the existing
Note is updated with the new values specified in the SaveNote call.

Let me know if this works for your script.

Otis

> Benjamin
>


--
Simpy -- http://www.simpy.com/ -- Tag. Search. Share.




Sun Apr 22, 2007 3:41 am

otis@...
Send Email Send Email

Forward
Message #281 of 305 |
Expand Messages Author Sort by Date

Hi Otis, while updating simpy.py to v1.1 I resurrected my notes syncing script. But didn't get very far. Because I found, that it's not possible to _update_...
Benjamin Reitzammer
breitzammer@...
Send Email
Apr 19, 2007
2:41 pm

Hi Benjamin, ... Notes syncing script? ... Of course. I changed SaveNote call to take an optional noteId parameter. If noteId is valid (matches an existing...
Otis Gospodnetic
otis@...
Send Email
Apr 22, 2007
6:10 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help