I'm using the 2sxc module for the first time, so it is possible that I'm just being a newbie.
I created an app, added a content-type with 3 fields
- Name (translated)
- Email (translated)
- Phonenumber (translated)
Then I created a view
<h2>Werknemers</h2>
@foreach(var cont in AsDynamic(Data["Default"])){
<div>
@Edit.Toolbar(cont)
<p>@cont.Naam<br>
@cont.Email<br>
@cont.Telefoonnummer</p>
</div>
}
At first it was only showing the demo item. So I added an item with the "+" icon in the toolbar. And yes, this item gets added in the list.
But I have a lot more items in this content-type
Why is it only showing the data you added with the toolbar in the app itself and not the items you added through the admin of the app?
I hope anyone can help me.
Thanks in advance!