# Single nest source for multiple collection lists?

**URL:** <https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685>\
**Category:** Attributes\
**Tags:** cmsnest\
**Created:** [March 26, 2024, 6:23pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685 "2024-03-26T18:23:53Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 26, 2024, 6:23pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/1 "2024-03-26T18:23:53Z")

</div>

I am working at combining a bunch of different lists with rich data into a single list that can be filtered. It’s possible that I simply need to configure this differently but I’m trying to get one ‘nest-source’ collection list to be nested in three different collections (the ones that will be combined using API callback).

Essentially I have a ‘topics’ collection that I want to be applied to different resources/collections. One topic can be applied to different media types for which I have various collections (article, video, photo-essay etc…)

Is this possible?

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 26, 2024, 10:34pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/2 "2024-03-26T22:34:36Z")

</div>

Here’s the link to the page I’m working on: [Search Results](https://dev-pioneers.webflow.io/search)

What’ you’ll notice is that when you filter by Type: Video or Type: Photo Essay, non of the regions or topics have been nested.

---

<div class="post-metadata">

**Author:** ![candidleap](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/candidleap/32/3711_2.png) [@candidleap](https://forum.finsweet.com/u/candidleap)\
**Post date:** [March 27, 2024, 5:14am UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/3 "2024-03-27T05:14:46Z")

</div>

I came to post this exact question.

I think you are right that this is not possible in Webflow? Which is just shocking. I thought this was the case months ago.

For example, we can’t do this:

/resources  
/resources/resource-planning  
/resources/resource-planning/templates

The only way to embed the /resource-planning/ folder inside the /resources/ folder, is if there is a manually created /resources folder.

But you can’t create a /resources folder if there is a static /resources page, which we obviously need.

TLDR - There’s no way to embed a CMS inside another CMS, i.e. you want to have nested folders.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/3/3cf0a3217a31649589fbfaae5ac2ac5c323d1519.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/finsweet1/original/2X/e/e87987e23c47df9f80f6ce5a3328f6859e34d3e0.png)

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 11:16am UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/4 "2024-03-27T11:16:40Z")

</div>

I’m actually talking about the CMS Nest Attributes solution 🧐 but folders in Webflow definitely have their limitations as well.

---

<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:** [March 27, 2024, 12:31pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/5 "2024-03-27T12:31:29Z")

</div>

Hey @ShaneArrivalCreative! I am not sure if we can make it work in this setup. Could you share a read-only? I see some of the setup missing for the photo essay items.

What I’d like to try is to combine all the lists first, and then initialize CMS Nest. This way, all the `nest-target` are inside a single collection.

If this does not work I’m afraid we will need to use the same collection several times with different ID

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 1:24pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/6 "2024-03-27T13:24:09Z")

</div>

Thanks @Support-Luis ! What you’re suggesting makes sense. I’m going to give it a go. I’m working on getting the read only link now. (Apparently you can’t do that as an agency/guest role 🤷‍♂️).

Yes, I probably missed something on photo essay collection as I’m just trying to get it working once and then I have a number of more collections to add to the mix.

More from me soon.

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 1:37pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/7 "2024-03-27T13:37:43Z")

</div>

What I’ve done, doesn’t seem to have done the trick. Here is how I have the code arranged (the jQuery at the bottom is just what I’m doing to show/hide loading elements):

````auto
<script>
window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
  'cmsload',
  (listInstances) => {
    window.fsAttributes.cmscombine.init();
  },
]);

window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
  'cmscombine',
  (combineInstances) => {
    console.log('cmscombine Successfully loaded!');
    window.fsAttributes.cmsnest.init();
  },
]);

window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
  'cmsnest',
  (listInstances) => {
    console.log('cmsnest Successfully loaded!');
    window.fsAttributes.cmsfilter.init();
  },
]);

window.fsAttributes = window.fsAttributes || [];
window.fsAttributes.push([
  'cmsfilter',
  (filterInstances) => {
    console.log('cmsfilter Successfully loaded!');
    $('.search_tag-loader').unwrap().remove();
    $('[search="is-loading"]').hide();
    $('[search="is-loaded"]').show();
    $('.search_results-wrapper').css('filter', 'blur(0)'); // Set blur to 0
    $('.search_results-wrapper').css('cursor', 'auto'); // Set cursor to auto
    $('.search_results-wrapper').css('pointer-events', 'auto');
    setTimeout(function() {
        $('.search_results-wrapper').css('opacity', '100%');
    }, 200); // Set opacity to 100%
    $('.section_search-background_loading-wrap').css('opacity', '0%');

    // The callback passes a `filterInstances` array with all the `CMSFilters` instances on the page.
    const [filterInstance] = filterInstances;

    // The `renderitems` event runs whenever the list renders items after filtering.
    filterInstance.listInstance.on('renderitems', (renderedItems) => {
        $('.search_tag-loader').unwrap().remove();
        console.log(renderedItems);
    });
  },
]);
</script>```
````

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 2:11pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/8 "2024-03-27T14:11:23Z")

</div>

Ok, so now I’ve moved on to trying to use multiple collections but still can’t get that to work 😅

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 5:11pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/9 "2024-03-27T17:11:51Z")

</div>

@Support-Luis any advice you can give on how to structure this to get multiple instances of Nest to work is much appreciated 😊 I wandered into other fruitless solutions but don’t love the prospect of going outside of an attributes solution

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 27, 2024, 8:33pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/10 "2024-03-27T20:33:38Z")

</div>

Hey just keeping you updated on this 😅 I got multiple nests to work. On my second instance of it, I didn’t have a link to the child template on the parent template-reference page.

I would still love to be able to simplify this implementation a bit as it is both a bit complicated and slow-loading BUT… I think I have something that will work. And I am grateful 🙏

---

<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:** [March 28, 2024, 10:51am UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/11 "2024-03-28T10:51:29Z")

</div>

Hey @ShaneArrivalCreative! Sorry for the slow reply! I am glad you got this working. I know this is a tedious workaround, but I’ve opened a feature request for this feature 😉

Hopefully this will not be a limitation soon!

---

<div class="post-metadata">

**Author:** ![ShaneArrivalCreative](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shanearrivalcreative/32/1817_2.png) [@ShaneArrivalCreative](https://forum.finsweet.com/u/ShaneArrivalCreative)\
**Post date:** [March 28, 2024, 5:21pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/12 "2024-03-28T17:21:37Z")

</div>

No worries. I’m also opting to use the second nest option that uses a plain text field as the reference page route is taking a pretty big hit to the page loading speeds. Thankfully the API Callbacks have allowed me to inject some custom code to help really control the loading experience.

---

<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:** [March 29, 2024, 11:40am UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/13 "2024-03-29T11:40:58Z")

</div>

Yes, option 2 does not fetch the items from the template page.

Option 1 has cache optimization but it will only help after the user loads the page once.

---

<div class="post-metadata">

**Author:** ![jon.thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jon.thomas/32/2829_2.png) [@jon.thomas](https://forum.finsweet.com/u/jon.thomas)\
**Post date:** [July 10, 2024, 6:17pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/14 "2024-07-10T18:17:19Z")

</div>

I also came to ask this question. I have 2 separate lists on the same page. Each list has its own single dropdown filter. The dropdown is populated with the same source list of U.S. States. As of now, it looks like I currently have to output that same list of U.S. States twice, just so I can populate each dropdown for each form/filter list.

---

<div class="post-metadata">

**Author:** ![jon.thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/jon.thomas/32/2829_2.png) [@jon.thomas](https://forum.finsweet.com/u/jon.thomas)\
**Post date:** [July 10, 2024, 7:04pm UTC](https://forum.finsweet.com/t/single-nest-source-for-multiple-collection-lists/2685/15 "2024-07-10T19:04:24Z")

</div>

Follow-up, I actually can’t seem to get that to work either.
