I can't seem to find anything on the forum or in the SDK on how to add a custom field into the node object. For example, a roSGNode is set up like this:
<Component: roSGNode> =
{
change: <Component: roAssociativeArray>
focusable: false
focusedChild: <Component: roInvalid>
id: ""
DESCRIPTION: ""
HDBACKGROUNDIMAGEURL: ""
HDPOSTERURL: ""
RELEASEDATE: ""
STREAMFORMAT: ""
TITLE: "cartoon 1"
URL: ""
}
Now, using my server data, I know I can program my content with the corresponding Content Meta Data. I can set the TITLE, URL, DESCRIPTION, id etc because that is what is provided to me in the roSGNode. What if I need custom fields in order to continue setting up my application? For example, I need to add a TYPE right under the 'URL' in the node above.
I tried using .addFields() but that didn't seem to work.
Any help is greatly appreciated since I've been trying for a few days and can't figure it out. Thanks!