thanks for the fast reply Gupta, but i was being reallyy stupid and
didn't try a simple thing:

${appData[owner.id]['lfm']} where owner is the object from
os:OwnerRequest

On 13 mar, 11:02, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> Hi Barszcz,
> That's a good question and the answer is that we will need to support JSON
> eval of appdata.
> I know of the issue fromhttp://www.geocities.com/apurv_gupta_2000/test.xml
>
> It should be available soon.
>
> Thanks,
> -apurv
>
> On Fri, Mar 13, 2009 at 7:29 PM, barszcz <rudi...@gmail.com> wrote:
>
> > Ok, this may sound like a stupid question:
>
> > <os:PersonAppDataRequest key="appData" userId="@owner" grouIp="@self"
> > appId="@app" fields="lfm"/>
> > this is working and returning:  {"14035060268780004552":
> > {"lfm":"rudibarszcz"}}
>
> > now, how can i handle this since i only want the "rudibarszcz" value?
> > <h1> ${appData.[heretheproblem].lfm} </h1>
> > 'working':
> > <h1> ${appData.['14035060268780004552']['lfm']} </h1>
>
> > so here comes the question, how i make something like that work: $
> > {appData.${owner.id}.lfm or ${appData['${owner.id}']['lfm']?
>
> > On 12 mar, 17:01, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> > > I recommend that a click on that icon should take the user to the canvas
> > > page, with a appropriate parameter so you know what do do. [Show the
> > box].
> > > This would be a good model for all apps to follow. Action on profile page
> > is
> > > a NavigateToView with right params for next action.
>
> > > On Thu, Mar 12, 2009 at 11:48 PM, barszcz <rudi...@gmail.com> wrote:
>
> > > > i see, but after he install he will be able to change it, and in the
> > > > past it was able in profile (there was a icon after the username that
> > > > when clicked i showed the hided config div.. but thats ok
>
> > > > thanks
>
> > > > On 12 mar, 14:00, Apurv Gupta <apurv.gu...@gmail.com> wrote:
> > > > > Barszcz,
> > > > > I am somewhat confused. This configuaration screen comes on the
> > canvas
> > > > view.
> > > > > You *don't need* to use templates to do this.
> > > > > You can continue to use the javascript API to do this.
>
> > > > > Thanks,
> > > > > -apurv
>
> > > > > P.S. When a user installs an application, in orkut, they are taken to
> > the
> > > > > canvas view by default.
>
> > > > > On Wed, Mar 11, 2009 at 11:48 PM, barszcz <rudi...@gmail.com> wrote:
>
> > > > > > well, if you can have a look at the app 850136261702
> > > > > > its the configuration 'screen' i want to save the data (username
> > and
> > > > > > chart).
> > > > > > like when you click ok it sends:
> > > > > > req.add(req.newUpdatePersonAppDataRequest
> > > > > > (opensocial.DataRequest.PersonId.VIEWER, '..', ..));
> > > > > > req.send(..);
>
> > > > > > i want to convert this to be used with the templates.. will i have
> > to
> > > > > > use the rest/rpc calls?
>
> > > > > > On 11 mar, 14:55, Vijaya <api.vij...@google.com> wrote:
> > > > > > > Currently we are not supporting updateAppData feature in the
> > template
> > > > > > > spec. Could you please give your usecase for using this feature
> > in
> > > > the
> > > > > > > profile view?
>
> > > > > > > As for fetching app data, please use the following:
>
> > > > > > > <os:PersonAppDataRequest> - request to get app data
>
> > > > > > >     * @key {string}
> > > > > > >     * @userId {list<string>} Comma delimited IDs of the users to
> > use
> > > > > > > with "@groupid". Each item can be one of "@me", "@viewer",
> > "@owner",
> > > > > > > or a user ID.
> > > > > > >     * @groupId {string} The group of users to get app data for.
> > > > > > > Defaults to "@self", which returns the actual users listed in
> > > > @userid.
> > > > > > > Other values are "@friends" to get friends, or any other string
> > to
> > > > get
> > > > > > > an arbitrary group. Optional.
> > > > > > >     * @fields {list<String>} List of fields for which to get
> > data.
>
> > > > > > >     returns a map of OpenSocial app data objects, keyed by useId
>
> > > > > > >       Example:
> > > > > > >         <os:PersonAppDataRequest key="MyFriendsPets"
> > userId="@viewer"
> > > > > > > groupId="@friends" fields="pets,petNames"/>
>
> > > > > > > The information about app data in the DataPipelining spec is
> > still
> > > > not
> > > > > > > implemented on orkut, hence this is the tag you can now use to
> > access
> > > > > > > the app data in templates.
--~--~---------~--~----~------------~-------~--~----~
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 
opensocial-orkut+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to