I have a block marked with Dynamic List Behavior (BlockList) and inside I have another block marked with as Data Container (BlockRecipes). Inside the BlockRecipes I have a text which will contain the name of the recipe. When I try to add Content Logic I missed the BlockRecipes Data Block
I used the first method before because it is easier than the container method for a simple list of names, so I was wondering if this functionality is intentionally deprecated or this is a bug?
one for preparation time and the other for the cooking time but both values are inside an object that I call “time”. In the database I save this in a json column
so I set the block Time as a Data Container and I asing to him the property time from my object recipe
and for the inputs inside I set the value logic as the preparation property from the Time Data Model
So, in short you can asing any object to a data container.
I hope this help you. I am not an expert so I apologise if I’m not precise.
Also the json object can be very large and complex and I prefer have the infomeation related in one object.
I did not chose to have it in other table, because it seems to me more dificult work with relations between tables.
But the data container you can use it also for data you get from other services, and normaly that comes as json objects. I use, for exemple, the API for the USDA food data center.