# \[SOLVED\] Don't download entire cloud object, filter instead

**URL:** <https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, database, lists, list, cloud-variable\
**Created:** [April 13, 2023, 12:32am UTC](https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738 "2023-04-13T00:32:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [April 13, 2023, 12:32am UTC](https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738/1 "2023-04-13T00:32:27Z")

</div>

![Screenshot 2023-04-12 at 7.28.59 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/7/d7e154a2d0dd149ce4424262cd7752169cc8a910.png)

I don’t want to download the entire object from the cloud, I just want to download based on criteria.  
I’m aware that I can download the entire object, and then filter, but I don’t want to do that.

I’ve tried a for each item j but that only ends up saving the object properties as a simple list, instead of preserving the data of each one.

---

<div class="post-metadata">

**Author:** ![overshield](https://avatars.discourse-cdn.com/v4/letter/o/e19b73/32.png) [@overshield](https://community.thunkable.com/u/overshield)\
**Post date:** [April 13, 2023, 12:44am UTC](https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738/2 "2023-04-13T00:44:40Z")

</div>

Ok, so I solved my own problem, kinda fun when you do that, feels like an achievement unlocked.

Anyway what I needed was the [set property \> of object \> to] block (indicated by the green arrow).

I’ve tried that block several times in the past with no success, but the trick was first setting the variable to an object by using the [create object] block indicated by the blue arrow, THEN using the block indicated by the green arrow.

Anyway, marking this as solved in case anyone else finds this troubling

 ![Screenshot 2023-04-12 at 7.40.13 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/1/313fbb57dbea026d99d7a3accab478cb22546eee.png)

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [April 14, 2023, 11:37am UTC](https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738/3 "2023-04-14T11:37:25Z")

</div>

@overshield Congratulations! Thank you for sharing that.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [April 14, 2023, 11:38am UTC](https://community.thunkable.com/t/solved-dont-download-entire-cloud-object-filter-instead/2369738/4 "2023-04-14T11:38:09Z")

</div>


