Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
ciack404
Level 7

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
TheEndless
Level 7

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

Re: Deep Linking field

Thank you very much for the reply.
0 Kudos
sjb64
Level 7

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
FlixRaider channel
0 Kudos