Please use os:PersonAppDataRequest

On Wed, Mar 11, 2009 at 8:10 PM, sunnydiv <[email protected]> wrote:

>
> requesting a reply/answer
> in data pipelining
>
> how do we get app data / presistant data
>
> On Mar 9, 10:54 pm, sunnydiv <[email protected]> wrote:
> > the previous version @
> http://docs.google.com/View?docid=dc5qrdst_19fbb8fpd3
> >
> > says :
> > <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. Defaults to "@viewer'. Optional.
> >     * @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.
> >     * @dataKeys {list<String>} List of keys for which to get data.
> >     * returns an array of OpenSocial app data objects, keyed by userid
> >       Example:
> >         <os:PersonAppDataRequest key="MyFriendsPets" userid="@viewer"
> > groupid="@friends" dataKeys="pets,petNames"/>
> >
> > which makes sense,
> > so what would we use in lieu of it
> >
> > On Mar 9, 10:50 pm, sunnydiv <[email protected]> wrote:
> >
> > > in the Data Pipelining wikihttp://
> wiki.opensocial.org/index.php?title=Data_Pipelining#Tag:_.3Cos...
> >
> > > i see
> > > ' #  <os:PersonAppDataRequest> - not needed due to Radically simplify
> > > the Persistence/AppDataAPI '
> >
> > > and the page after the jump says
> > > " Summary
> > > Simplify the API used to get/setappdata. "
> >
> > > .... umm WHAT ?
> > > are we still using JS to get app data ?
> >
> > > i dont understand this one,
> > > can anyone post an example ?
> >
> > > On Mar 9, 8:59 pm, Apurv Gupta <[email protected]> wrote:
> >
> > > > Anatoly,
> > > > The usage of @app that you have won't work. What you are really
> trying to do
> > > > is to navigate to profile view. We'll be implementing
> os:NavigateToView to
> > > > take of these issues. Please refer to the blog post and the section
> on
> > > > missing features.
> >
> > > > Thanks,
> > > > -apurv
> >
> > > > On Mon, Mar 9, 2009 at 4:09 PM, anatoly <[email protected]> wrote:
> >
> > > > > I don't pass @app to my server in this app.
> >
> > > > > Here is my xml with 5 lines of code for profile view:
> > > > >http://www.vandalismpro.com/opensocial/orkut.xml
> >
> > > > > I don't see any profile box in sandbox. It was announced that
> profile
> > > > > templates should work @ sandbox.
> >
> > > > > Any idea why it's not working?
> >
> > > > > On Mar 9, 12:33 pm, Apurv Gupta <[email protected]> wrote:
> > > > > > You can use HttpRequest and pass @app in a parameter to generate
> the
> > > > > right
> > > > > > view. You can test if things are working by using the canvas
> view.Profile
> > > > > > views for compliant apps will be enabled in a few weeks.
> >
> > > > > > On Mon, Mar 9, 2009 at 3:54 PM, anatoly <[email protected]>
> wrote:
> >
> > > > > > > I need to pass it actually.
> > > > > > > So I just add @app as id and that should work?
> >
> > > > > > > One of my apps has a very simple html profile view with app id
> is the
> > > > > > > only thing I should get.
> >
> > > > > > > I updated this profile and I don't see anything in sandbox, how
> do I
> > > > > > > know what is wrong?
> >
> > > > > > > On Mar 9, 12:06 pm, Apurv Gupta <[email protected]> wrote:
> > > > > > > > Hi,
> > > > > > > > I am not sure you can get the gadget-id. To pass the id where
> > > > > required,
> > > > > > > you
> > > > > > > > can use @app in the templates. Why do you need the gadget Id,
> > > > > > > incidentally?
> >
> > > > > > > > -apurv
> >
> > > > > > > > On Mon, Mar 9, 2009 at 3:24 PM, anatoly <[email protected]>
> wrote:
> >
> > > > > > > > > Hi apurv
> >
> > > > > > > > > How can I make an equivalent to the following call in
> templates
> > > > > > > > > gadgets.util.getUrlParameters()["gadgetId"]
> >
> > > > > > > > > to get the gadget id?
> > > > > > > > > Did not find that in the docs
> >
> > > > > > > > > thanks
> >
> > > > > > > > > On Mar 9, 7:41 am, Apurv Gupta <[email protected]>
> wrote:
> > > > > > > > > > Hi Sharath,
> > > > > > > > > > Those are regular html tags and are allowed.
> >
> > > > > > > > > > @prashant:
> >
> > > > > > > > > > If you use only basic html, you should be fine and
> profile view
> > > > > will
> > > > > > > > > display
> > > > > > > > > > when we enable all applications. I am curious though: is
> your
> > > > > profile
> > > > > > > > > view
> > > > > > > > > > not at all dependent on viewer/owner? If yes, then
> remeber that
> > > > > JS
> > > > > > > won't
> > > > > > > > > > execute on profile page - so you would have to use
> templates to
> > > > > > > customize
> > > > > > > > > > the profile view per owner/viewer.
> >
> > > > > > > > > > Thanks,
> > > > > > > > > > -apurv- Hide quoted text -
> >
> > > > > > > > - Show quoted text -- Hide quoted text -
> >
> > > > > > - Show quoted text -
> >
>

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