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] http://aakash-bapna.blogspot.com 



> Date: Sun, 20 Jul 2008 07:59:55 -0700> Subject: [orkut-developer] Fetch 
> Persistence Data> From: [EMAIL PROTECTED]> To: 
> [email protected]> > > 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_mobile_072008
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to