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

Hey there,

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

Published site - https://discover.atomicmind.com

Code here - 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

Let me know!
Thanks

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

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

Hey @tejus.kabadi Can you please change this

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:

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 :slight_smile:

Thank you so much!!!

You are welcome! I hope this fixes the issue! :muscle: