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