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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Streaming Star

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