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: 
ciack404
Visitor

Deep Linking field

Hi,

I am implementing deep linking for a channel. I saw in the documentation
http://sdkdocs.roku.com/display/sdkdoc/ ... inaChannel

that I need to add a piece of code to make it work.
The problem is, on the "Partner Guide to Integration into Roku Search" I saw the field should be PlayID, while in the sdkdocs I see the field should be contentID,

Which one should I use?
0 Kudos
3 REPLIES 3
TheEndless
Channel Surfer

Re: Deep Linking field

contentID is the correct value to use for Global Search and Roku home screen ads. If you're not implementing for either one of those, you can use any parameter names you want.
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
ciack404
Visitor

Re: Deep Linking field

Thank you very much for the reply.
0 Kudos
sjb64
Roku Guru

Re: Deep Linking field

If it helps heres a small code snippet of mine, and it works fine for me

Sub RunUserInterface(Args as Dynamic)

...startup code, splash screen, initializing data, tables, arrays, and so on...

if (Args<>Invalid and Args.contentID<>Invalid) ' Probably overkill to do both checks, but works
Episode=m.Tables.Episodes.Records[Args.contentID]
if Episode<>Invalid ShowVideoScreen(Episode, false)
end if

ShowMovieScreen("Main", "") ' This is my main screen

End Sub
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.