CMS Filter with component properties

Has anyone used a component property as a filter within CMS Filter?

I have a component property connected to a checkbox label that is checked on page load.

I want this to filter a collection list (testimonials) that will populate a CMS Slider.

I used Finsweet’s Automated Support Service, and it’s showing that

Attribute fs-cmsfilter-field=“category” in list was not found. Add fs-cmsfilter-field=“category” in the children list on the page.

Hey @sean1! Can you share a link to the setup? Some JS may be needed but I’d like to take a look before :thinking:

https://preview.webflow.com/preview/realife-process?utm_medium=preview_link&utm_source=designer&utm_content=realife-process&preview=0c0ea5ad94f564566c39b0fc069045e2&pageId=66ce828e357ac2fd0c4e665b&locale=en&workflow=preview

The page I’m working on is Speaking

Thank you!

Appreciated!

Hey @sean1! I see what is happening and I am afraid we cannot achieve this with CMS Filter and CMS Slider. The issue is that CMS Slider will pull the entire list without the filters applied.

I’ve tried applying the CMS Element setup for the finished slier but the filter doesn’t work after this. This setup will be natively supported for Attributes V2, which is still in the process of being finished.

If you can wait until release I’d advise we wait and set it up then. At the moment we can try Webflow’s native filter shown below

This should result in only the “Speaking” items shown on the slider.

On another note, I noticed there are 2 CMS Slider scripts on the page! You might want to take a look at your site settings and remove the extra script from there!

Thanks for taking a look at this.

My goal is to be able to reuse this on different pages with a different filter applied per page (and have the script load site-wide).

The setup for V2 will surely be able to achieve what you are looking for. Keep an eye out :wink:

1 Like