Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
KDOV
Visitor

Can I Link to Another Channel?

Is it possible to link from inside my channel, to another channel in the channel store?
For example - I have two channels (each with different content).. and they are companions are each other. Is there a way to be able to link from one, to the companion channel in the channel store??!
Thanks.
0 Kudos
5 REPLIES 5
RokuChris
Roku Employee
Roku Employee

Re: Can I Link to Another Channel?

You can use ECP to launch the Channel Store to a specific channel's detail screen. Example #6 in the ECP Guide does just that: http://sdkdocs.roku.com/display/sdkdoc/ ... olExamples

And there's a discussion of doing it in BrightScript here: viewtopic.php?f=34&t=45580
0 Kudos
KDOV
Visitor

Re: Can I Link to Another Channel?

Thank you. This worked well.. I am able to link to the channel store (and my companion channel).

I have a follow up question... How do I do the thing that the PBS app does - and check first if the channel I want to link to is installed or not?
I'm having a hard time working out how to integrate query/apps into my code (if indeed that is what I need to do to be able to determine this).
0 Kudos
destruk
Streaming Star

Re: Can I Link to Another Channel?

It might not be the best way, but it's certainly easy to add a roku registry key when the channel is first loaded - if all your channels share the same dev key then you can check if that specific registry value exists.
0 Kudos
TheEndless
Channel Surfer

Re: Can I Link to Another Channel?

"destruk" wrote:
It might not be the best way, but it's certainly easy to add a roku registry key when the channel is first loaded - if all your channels share the same dev key then you can check if that specific registry value exists.

The problem with that is that the registry key wouldn't be deleted if they remove the channel, so it would only tell you if it has been installed at some point.

The best method would be to parse the XML returned from the query/apps ECP command, and see if the channel is listed.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Streaming Star

Re: Can I Link to Another Channel?

Good point.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.