This video demonstrates how to effectively extract data from collections. It covers manual access using indices and the recommended method of repeating items to bind data such as titles within your application.
Transcript
00:02
Hi.
00:02
So you just posted a question in the community about, how to extract or how to use the data that's inside collection.
00:11
like let's say I want to use my title and how do I reach it?
00:17
So that was your question.
00:18
First things first, I believe that you.
00:21
Let's facilitate this for us.
00:22
So in here, when you're repeating the formula, I think you're repeating the collection itself, which is not the ideal situation.
00:30
So this is the one you're repeating.
00:32
You're repeating, you're passing through information that we don't need.
00:38
And what we need is this data.
00:39
So it's the one below it.
00:41
So let's just delete it, Click the one below it.
00:44
So here we have all of the objects.
00:46
So basically every single rule that we want to bring.
00:50
Now in order to use this data, once we go a level deeper, you can see that we have a number here.
00:59
So if you want to use it manually, we could just open these brackets and put a number here.
01:04
So in this case I'm telling I want to grab the number two out of task data.
01:09
And then in here I can put dot title, and this is how I'm going to reach the exact title of the object number two manually.
01:19
But, but now we want to make it easier for us.
01:22
So what I've done here as an example is I created, a div here and I put it, I set it to repeat items.
01:30
And in here what I want to repeat is my collection data, right?
01:35
So tasks, dot data.
01:37
And inside every single, card I'm going to grab a, let's say this title.
01:42
And in here I'm going to be able to click here and bind it with this little button.
01:48
And in here I'm going to be able to choose whatever I want.
01:52
So it could be the category, it could be the due date.
01:54
In this case, I want the title.
01:57
So this is grabbing every single repeating item that we set, up before it.