Anthony is correct - a new improvement in 0.8 is the ability to explicitly delete information from app data. For 0.7, some containers have provided workarounds for this limitation, usually just deleting any keys that you set to a value of null.
Elitmus_ppl, please check out http://groups.google.com/group/opensocial for a description of what we're discussing. In the future, please try not to derail threads about a specific question, instead, post your own. ~Arne On May 19, 12:36 pm, Anthony Lai <[EMAIL PROTECTED]> wrote: > From what discussed in the OS API v0.8 spec, there will be a specific > way to delete data, rather than relying on setting values to null. > > On May 13, 6:10 am, "justin kruger" <[EMAIL PROTECTED]> wrote: > > > this article explains it really well, so well, i feel like its a > > hidden gem on the site that deserves more attention. > > >http://code.google.com/apis/opensocial/articles/persistence.html#pers... > > > On Tue, May 13, 2008 at 7:53 AM, peps <[EMAIL PROTECTED]> wrote: > > > > Ok thank you, but I'm not completely sure I understand what you mean. > > > I made it like this and it doesn't seem to work: > > > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", > > > null)); // tried also "null" > > > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", > > > data1)); > > > > -P > > > > On 13 touko, 15:22, "justin kruger" <[EMAIL PROTECTED]> wrote: > > > > you have to set it to null, on an update. they admit its weird in the > > > > documentation, but that is how we do it for now. > > > > > On Tue, May 13, 2008 at 7:16 AM, peps <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > Couldn't find a list of methods. So, the problem is that I need to > > > > > delete or edit a value that I saved like this: > > > > > req.add(req.newUpdatePersonAppDataRequest("VIEWER", "AppField1", > > > > > data1)); > > > > > > Could someone please help me to do this? Something like > > > > > newDeletePersonAppDataRequest or something like that I guess.. > > > > > > Thank you! > > > > > -P > > > > > -- > > > > -- > > > > Justin Krugerhttp://jDavid.net > > > > [EMAIL PROTECTED] > > > > > "If you are successful, it is because somewhere, sometime, someone > > > > gave you a life or an idea that started you in the right direction. > > > > Remember also that you are indebted to life until you help some less > > > > fortunate person, just as you were helped." --Melinda Gates > > > -- > > -- > > Justin Krugerhttp://jDavid.net > > [EMAIL PROTECTED] > > > "If you are successful, it is because somewhere, sometime, someone > > gave you a life or an idea that started you in the right direction. > > Remember also that you are indebted to life until you help some less > > fortunate person, just as you were helped." --Melinda Gates --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" 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/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---
