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:
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!
“tim_beynart” wrote:
it’s covered, briefly, in step 6 of this lesson: https://github.com/learnroku/crash-cour … Lesson3.md
Hey Tim, I read that course and it was a goodie. You provide a lot of good information that is clear and to the point.
Cheers