Hi.
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:
Picture has been downloaded and edited from This Post on Section 3.
What I want from you is to please give me an example of how to create dynamic card in a easy way from a list.
If anyone knows of a post where it’s given a good tutorial on how, I’m glad to have it. But I’ve looked in a lot of posts, but I have no idea what to look for, and don’t understand how it’s made.
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.
How do I put the values into the Dynamic Component?
Now I’ve made it, and think I did it correct, but I have not yet set the properties, just want to add the values first to see how it looks when I change the properties.
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.
No the value of global DC_nummer should change with every run of for each loop.
For example in the same guide, a counter is set-up. Look the marked area
Original post:
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.