Mmmm yes. Makes sense I think.
- App can only write VIEWER data, but can access OWNER data - Exposing UI for editing app data only to OWNER, then using functions storing VIEWER data (because you know it's the owner who is the viewer) is a successful approach - All app has to do then is always pull OWNER data to display. lovely. thanks as always. -Christopher On Feb 13, 1:12 pm, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> wrote: > Hi Chris, > > That's correct - we actually expect most sophisticated applications to > work chiefly with retrieving OWNER and OWNER_FRIENDS data in order to allow > user to present applications customized to their own profile. However, you > cannot just find/replace VIEWER with OWNER to make an application work this > way - you will only be able to write to VIEWER app data, for example. > > The approach I've used is to check to see whether VIEWER == OWNER when > rendering the gadget. If true, then I give extra UI to allow customization > of the application. In your case, when the viewer is the owner, you would > want to present the quiz questions, or possibly a button to take another > quiz, storing all the results in VIEWER data. In the case where the viewer > is not the owner, then you would only want to render the OWNER's quiz > results. > > Hope this helps, > ~Arne > > On Feb 13, 2008 8:35 AM, Markitecht <[EMAIL PROTECTED]> wrote: > > > Instead of saving/displaying the data of the VIEWER of the > > applications, my goal is for the OWNER of the app to take a quiz, > > store the result, and display it on the profile view. > > > I am getting an error when trying to modify the tutorial code and > > instead of 'opensocial.DataRequest.PersonId.VIEWER' use > > 'opensocial.DataRequest.PersonId.OWNER' > > > Any ideas? Is this just not yet implemented but the approach will be > > successful in the future? Did I misunderstand the JS API spec? > > > thanks in advance everyone. > > > Christopher (markitecht/CODonnell) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---