# CMS filter Removing Duplicates

**URL:** <https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898>\
**Category:** General\
**Created:** [May 10, 2024, 9:59pm UTC](https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898 "2024-05-10T21:59:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poetic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/poetic/32/3018_2.png) [@Poetic](https://forum.finsweet.com/u/Poetic)\
**Post date:** [May 10, 2024, 9:59pm UTC](https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898/1 "2024-05-10T21:59:46Z")

</div>

We are using an api to work with webflow CMS Collections. I’ve been tasked to match the design to the collections. There’s an issue I’m having because I can’t make reference fields to limit the amount of filters that show up. Each new collection item makes a duplicate filter and I’m trying to figure out a way to remove duplicated filters. Is there a way to remove duplicates for CMS Filters?

Read Only Link: [Webflow - SINGLE A w/ Animation (2023 Affordable)](https://preview.webflow.com/preview/single-a-2023-affordable?utm_medium=preview_link&utm_source=designer&utm_content=single-a-2023-affordable&preview=d766c22fa747301a0b81f1b2e05de021&pageId=663e4572cef1ca95feec47f3&locale=en&workflow=preview)

Link: [https://single-a-2023-affordable.webflow.io/home-b#apartments](https://single-a-2023-affordable.webflow.io/home-b#apartments)

 ![Screenshot 2024-05-10 at 4.56.55 PM](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/b/bd7f828921cbbe60e5d45a40237971d2aa2c3a3b.png)

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [May 15, 2024, 12:54am UTC](https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898/2 "2024-05-15T00:54:31Z")

</div>

Hey @Poetic! Are you using the API to sync Webflow items or to load an create the filters?

If it is the latter I would recommend seeing this page → [Attributes API](https://finsweet.com/attributes/api)

At the bottom you can find two videos from our CTO Alex, guiding how to use CMS Load and CMS Filter API to dynamically fetch the items and populate the filters.

---

<div class="post-metadata">

**Author:** ![Poetic](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/poetic/32/3018_2.png) [@Poetic](https://forum.finsweet.com/u/Poetic)\
**Post date:** [May 16, 2024, 2:29pm UTC](https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898/3 "2024-05-16T14:29:51Z")

</div>

We are using it to create the filters, but the issue is that we are trying to find a solution that removes duplicates as new items are being pulled into the collection. We will take a look at this link. Thanks!

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [May 17, 2024, 11:05pm UTC](https://forum.finsweet.com/t/cms-filter-removing-duplicates/2898/4 "2024-05-17T23:05:04Z")

</div>

Let me know how it goes!
