Data problem (it's my first time using Noodl for data driven layouts)


#1

I’m coming back into Noodl after a long time away, and I’m trying to use custom structured data to get my layout populated with my data. I don’t have a great understanding of JS or models/data, so I think this is an easy question.

I want to create a simple JSON object with some test data:
[
{
“image”: “/path/to/image”,
“title”: “Album Title”,
“artist”: “Artist name”
},
{
“image”: “/path/to/image”,
“title”: “Album Title 2”,
“artist”: “Artist name 2”
},
{
“image”: “/path/to/image”,
“title”: “Album Title 3”,
“artist”: “Artist name 3”
}
]

How do I put this into a Static Data node and get it into each of my cells?

I’ve created a listItem component that has inputs for image, artist, and title, but no combination of Static Data, Model, Collection, and ForeEach nodes works for me. Can someone tell me at a high level how I should be organizing nodes to go from my JSON data to my layouts?

Thanks for you help!