ciack404
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2015
07:16 AM
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?
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?
3 REPLIES 3

TheEndless
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2015
10:46 AM
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)
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
ciack404
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2015
12:24 AM
Re: Deep Linking field
Thank you very much for the reply.
sjb64
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2015
06:54 AM
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