Sharath,

Your question has already been answered by Aakash.

*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] <%7E@@[EMAIL PROTECTED]>
http://aakash-bapna.blogspot.com*

Frisoni


On Tue, Jul 22, 2008 at 11:02, sharath <[EMAIL PROTECTED]> wrote:

>
> Hi Jason,
>
> Can you let me know the function to retrieve the app data stored using
> above function.
>
> Thanks
> Sharath
>
> On Jul 21, 6:51 am, sharath <[EMAIL PROTECTED]> wrote:
> > 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:
> [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_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 [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