First of all I just want to say, yes, I know there’s a lot of topics regarding Dynamic components and so on.
But I’ve read alot, and I feel so stupid for not understanding anything. I’ve downloaded some aia files also to test out, but I can’t seem to find any solution for my wantings.
I get data from Airtables, it’s 4 column, were I put all 4 in different Variables, and then put them together in a 5th Variable. I then put this list into ColinTreeListView.
But I don’t want that look the ColinTreeListView gives. I want it to be a more good looking list.
I’ll give here an example of what I want it to look like:
Okay. So I will explain you how Dynamic components work.
When we use for each number block, we use Create Dynamic Component block inside for each number block so that the particular component will be created for a certain length of list.
Coming to Dynamic components ID, particularly we use get number block to set the id for Dynamic Component so that the ID will not repeat itself, or else, we will get error.
For design parts:
We can literally create anything using Dynamic Components extension. I will recommend you to create a static layout, i.e. a layout which will have everything that you want inside Dynamic layout. After creating a static layout, try creating the same layout using Dynamic Components. As you are a beginner, drag and drop all the components which you will be needing inside your layout and make all those components invisible, so that you will not have any problem while creating it.
To know how to create custom layouts, you can check out this guide:
If you still have any confusion, feel free to ask.
Hope it helps.
As the error says, the ID for each dynamic component that is being created should be unique.
Can you tell what’s the value of global DC_nummer variable?
Because the problem here is, each time the for each loops runs, the components are created with same ID. For example, during the first run of for each loop a card view with ID DynamicCard1 is created.
Now on the second run also the ID doesn’t change and that results in error which you have mentioned.
Just another question @Vaibhav or anyone else who knows.
Now I’ve set up the look and everything. But when I add more data to the list in Airtables, and goes back to archive were the Dynamic list are, they duplicate. How do I avoid that? I only want the last row with data to be added.