# CMS attributes API + external data, existing placeholder items still showing

**URL:** <https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608>\
**Category:** General\
**Created:** [July 10, 2023, 5:01pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608 "2023-07-10T17:01:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tejus.kabadi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tejus.kabadi/32/66_2.png) [@tejus.kabadi](https://forum.finsweet.com/u/tejus.kabadi)\
**Post date:** [July 10, 2023, 5:01pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/1 "2023-07-10T17:01:47Z")

</div>

Hey there,

Loom here - [https://www.loom.com/share/5d41fff47b9b40378f1ef4ce382b0921?sid=b6e3eaf3-f325-4449-80d9-6313ed0ba503](https://www.loom.com/share/5d41fff47b9b40378f1ef4ce382b0921?sid=b6e3eaf3-f325-4449-80d9-6313ed0ba503)

Published site - [https://discover.atomicmind.com](https://discover.atomicmind.com)

Code here - [https://github.com/tejusk06/discover-plus-webflow/blob/master/src/index.js](https://github.com/tejusk06/discover-plus-webflow/blob/master/src/index.js)

Read Only Link - [https://preview.webflow.com/preview/discoverplusdev?utm\_medium=preview\_link&utm\_source=designer&utm\_content=discoverplusdev&preview=0465028a35a597ebf4682e282cf6de3c&workflow=preview](https://preview.webflow.com/preview/discoverplusdev?utm_medium=preview_link&utm_source=designer&utm_content=discoverplusdev&preview=0465028a35a597ebf4682e282cf6de3c&workflow=preview)

Let me know!  
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:** [July 13, 2023, 6:50pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/2 "2023-07-13T18:50:15Z")

</div>

Hey @tejus.kabadi! I have requested some additional support for this. I’ll get back to you 🙂

---

<div class="post-metadata">

**Author:** ![tejus.kabadi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tejus.kabadi/32/66_2.png) [@tejus.kabadi](https://forum.finsweet.com/u/tejus.kabadi)\
**Post date:** [July 17, 2023, 11:04pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/3 "2023-07-17T23:04:35Z")

</div>

Hey @Support-Luis , Do let me know if there is an update!

---

<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:** [July 17, 2023, 11:11pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/4 "2023-07-17T23:11:54Z")

</div>

Hey @tejus.kabadi Can you please change this

```auto
const populateDateFromCms = () => {
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmsfilter',
    async (filtersInstances) => {
      // Get the filters instance
      const [filtersInstance] = filtersInstances;

      // Get the list instance
      const { listInstance } = filtersInstance;

```

For this:

```auto
const populateDateFromCms = () => {
  window.fsAttributes = window.fsAttributes || [];
  window.fsAttributes.push([
    'cmsload',
    async (listInstances) => {
      // Get the list instance
      const [listInstance] = listInstances;

```

You should be waiting for CMS Load instead of CMS Filter to finish loading 🙂

---

<div class="post-metadata">

**Author:** ![tejus.kabadi](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/tejus.kabadi/32/66_2.png) [@tejus.kabadi](https://forum.finsweet.com/u/tejus.kabadi)\
**Post date:** [July 19, 2023, 7:29pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/5 "2023-07-19T19:29:47Z")

</div>

Thank you so much!!!

---

<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:** [July 19, 2023, 7:58pm UTC](https://forum.finsweet.com/t/cms-attributes-api-external-data-existing-placeholder-items-still-showing/1608/6 "2023-07-19T19:58:29Z")

</div>

You are welcome! I hope this fixes the issue! 💪
