Roku Developer Program

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

LabelList with ContentList ids not showing


When I manually have the content nodes defined (with the id) everything works well. However when I create them with code like this

sub addSection(sectiontext as string)
  m.sectionContent = m.content.createChild("ContentNode")
  m.sectionContent.CONTENTTYPE = "SECTION"
  m.sectionContent.TITLE = sectiontext
end sub

sub addItem(itemtext as string, id as string)
  item = m.sectionContent.createChild("ContentNode")
  item.title = itemtext = id
end sub

then ="menu") = m.content   

the ids don't come through when I do this:

Not sure what I am doing wrong.

0 Kudos