Hi Mayank and JP,

1 - You need to require opensocial-templates, marking as process on server
<Require feature="opensocial-templates">
<Param name="process-on-server">true</Param>
</Require>

2- Inside you profile view, just add an osx tag:
<osx:NavigateToApp>Goto canvas view</osx:NavigateToApp>

You can also pass some parameters to canvas view:
<osx:NavigateToApp params='{"param":"1"}'>Goto canvas
view</osx:NavigateToApp>

If you are not sure about how to develop a profile view, I have a general
sample which I increment everytime someone ask something is not there. Take
a look here:

http://www.opensocial-br.org/exemplo/opensocialbr.xml

There are some pt-br words inside. Let me know if you have any trouble to
understand.

Regards,

Robson Dantas

2010/7/5 mayank m <may...@trendsup.com>

> I want to know this too. How to navigate to canvas view using opensocial
> 0.8. Thanks in advance.
>
>
> On Mon, Jul 5, 2010 at 1:55 PM, jp <jona...@gmail.com> wrote:
>
>> Hi Folks,
>>
>> I know that javascript cannot be used in opensocial 0.8  at profile
>> view to navigate to Canvas.
>> I've heard that the only way to make it now is using data pipelines
>> but I didn't find good references relying on that.
>> So if somene knows how to navigate from profile to canvas I'd be
>> glad .
>>
>>
>> thanks
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "OpenSocial Application Development" group.
>> To post to this group, send email to opensocial-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/opensocial-api?hl=en.
>>
>>
>
>
> --
> Best Regards,
> Mayank M
>
>  --
> You received this message because you are subscribed to the Google Groups
> "OpenSocial Application Development" group.
> To post to this group, send email to opensocial-...@googlegroups.com.
> To unsubscribe from this group, send email to
> opensocial-api+unsubscr...@googlegroups.com<opensocial-api%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/opensocial-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-api?hl=en.

Reply via email to