Hello,
I'm very new to Dynamic Web so forgive me if my question seems obvious. I have been reading the documentation and fumbling around for a while and I can't find an answer.
I have created an item type representing a person with some plain information, then another type, a Person List, which contains a list of persons plus a department name. I am trying to set up an URL returning JSON containing the list corresponding to a department in particular. I have written the HTML template for that and I think I've gotten around the basics so this part should be ok. However I'm having difficulties finding where should the values come from. All the information concerning the persons and the departments should come from Dynamic Web, but I have no idea how and where to create objects of a given item type.
I have tried to create a paragraph based on an html template for my Person List. If I add one or more to another page, I can populate it with data, which then shows up accordingly. I have therefore tried to use the "Select specific items" in the item publisher, and I have selected my paragraphs. But still no data in my json, and I'm not sure if this is the right way anyway.
Thanks !