This is giving few errors, after storing the app data , i am passing in to function init1, can you let me know what is the function init1 to retrieve the data stored with above function.?
Thanks Sharath On Jul 21, 3:12 am, Aakash Bapna <[EMAIL PROTECTED]> wrote: > Hi Sharath, > > you can retrieve it like this- > var req = > opensocial.newDataRequest();req.add(req.newFetchPersonAppDataRequest('VIEWER', > 'data1'), 'inst');req.send(function(resp){ > var data= dataResponse.get('inst').getData();var myVar > =data[viewer.getId()]['data1'];}) > Thanks ~@@[EMAIL PROTECTED]://aakash-bapna.blogspot.com > > > Date: Sun, 20 Jul 2008 07:59:55 -0700> Subject: [orkut-developer] Fetch > > Persistence Data> From: [EMAIL PROTECTED]> To: > > opensocial-orkut@googlegroups.com> > > Hello,> > I am storing data using > > the below function:> > function populateMyAppData() {> var req = > > opensocial.newDataRequest();> var m = document.x.keyword.value> > > req.add(req.newUpdatePersonAppDataRequest('VIEWER','data1',m),'installationUpdate');> > > req.send(init1);> };> > I need to retrieve the variable data1 stored and > > use it in my app.> what is the exact function to achieve it?> > Thanks> > > Sharath> _________________________________________________________________ > > With Windows Live for mobile, your contacts travel with > you.http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mob... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---