you can try something like

${MyData.MyData.AppField1}

On Mar 21, 4:02 pm, neopnet <[email protected]> wrote:
> this is my code
>
> <script xmlns:os="http://ns.opensocial.org/2008/markup"; type="text/os-
> data">
>                 <os:PersonAppDataRequest key="MyData" method="appdata.get"
> userId="@owner" appId="@app" />
> </script>
>
> <script type="text/os-template">
>                         <div>${MyData}</div>
> </script>
>
> it gives me below output
>
> {"14243035565542385134":{"AppField1":"My Full
> Name","AppField2":"Male","AppField3":"1237618513558"}}
>
> I want to print individually. How i can do this?
>
> I mean I need out like
>
> Name : My Full Name
> Sex : Male
> ID : 1237618513558
>
> I tried
>
> <script type="text/os-template">
>         <div>${MyData.AppField1}</div>
>        <div>${MyData.AppField2}</div>
>        <div>${MyData.AppField3}</div>
> </script>
>
> pls help, Thanks

--~--~---------~--~----~------------~-------~--~----~
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