CMS Multi-Reference Filtering

Let's say I have a "Blog Post" collection, with a reference (or multi-reference) field pointing to a "Tags" collection.

On the blog post template, I won't be able to display ONLY "Tags" that are related to this post.

It would be great to be able to filter them.

  • Matthieu Layes
  • Jan 18 2017
  • In backlog
CMS
  • May 12, 2017

    Admin Response

    If I understand you correctly, you're trying to show only the list of multi-references on a collection template page. Ex: You have a collection of blog posts and each blog post references many tags. If you want to have a list of tags displayed on your blog post page, you can drop a new dynamic list and in the collections dropdown choose Tags collection under the Multi-reference section. (See screenshot). Our apologies for this being hard to discover. Can you confirm that this is what you're looking for? 

  • Sean Kinney commented
    January 23, 2017 07:58

    That, and it would be great if you could create tags directly from the blog post collection instead of having to add them to a separate category first (think squarespace). I find the reference and multi-reference a less than ideal solution for tags and categories.

  • Peter Schröder commented
    March 14, 2017 14:07

    i do not understand the current use-case for multi-reference fields.

    the only way that i kinda got this working by having a multi reference on the category/tag and referencing blog posts from there.

    in my mind, this direction should be the other way around. when i create a blog-post, i want to have a multi-ref field there. on the blog detail page i want to show the categories that i referenced in the blog post.

  • Matthieu Layes commented
    May 15, 2017 14:45

    Not really...

    I'll continue with your exemple to explain :

    On each blog post, I would like to have the possibility to display "RELATED POSTS" that are similar to the current one... In order to do so, I would like to drop a dynamic list below my article and generate a list of articles, filtered according to their tags. For now it is not possible to filter an external reference...

    I hope I could clarify the problem !

  • Peter Schröder commented
    May 15, 2017 15:53

    as far as i can recall my issue, i think it's actually solved. don't know if that feature was not available or if i just missed it.

    use-case:

    a) show all categories belonging to a blog post (worked at that time)

    b) on a categories page, show all blog posts belonging to the current category (now there is a "Categories contains Current Category" option that i havn't seen before)

  • Sean Tubridy commented
    October 19, 2017 20:00

    But that solution only shows the all the tags - not just the tags associated with that category. And you can't make links from those tags that link to page that shows only posts with those tags assigned to them.

  • Jay Bussiere commented
    December 14, 2017 12:20

    You cannot use a multi-reference on regular pages?! 

  • Donald Savard commented
    June 19, 2018 19:06

    Here Is the use case I want to achieve with this feature:

    So first of all, it’s a web offers website. Here is the structure:

    • Area page - All offers within this area (10+ areas)
    • Category page - All offers within this category AND area (200+ categories)
    • City page - All offers within this city (Cities are linked to an area) (100+ cities)
    • Category by city page - All offers within this city AND this category
    • Sub-category page - All offers within this city AND this category AND this sub-category

    So it’s all about filtering! all offers are in a collection list with multi-reference lists for areas and cities etc. But actually we’re not able to filter that far.

  • Marius Du Toit commented
    August 13, 2018 05:38

    Use case:

    I have a business directory - each business belongs to multiple categories (or tags).

    When viewing a business page, I want to list businesses at bottom of it's page which belongs to the same categories.

    So basically, if the business you are viewing is not what you are after, then here is a list of similar businesses you could look at.

    At this time it is possible to insert a collection list and filter it on the reference field (category), but it is a manual selection.  All other businesses will show the same list based on this manually set filter.

    The ideal is to set filter where cms list reference field = current record reference field.

  • Roope Hovi commented
    October 28, 2018 17:14

    Hey, all 👋I'm an engineer at Webflow and trying to understand your use cases better.

    Would it solve your use cases if you could list items of a collection whose Multi-Reference field contains any of the values in the Multi-Reference field of the current Collection Template page item?

    -------

    Re: Donald Savard

    We would like to understand your use case better. Could you, please, help us and list the collections you mentioned with the lists of which collections they reference to with Single and Multi-Reference fields? Thanks!

  • Devone Paul commented
    November 02, 2018 20:17

    Roope Hovi,

    That is the exact capability I'm looking for several of my websites and what I believe is being requested. The current limitations mean I can't use a multi-reference Tag/Category collection for "Related Posts" sections. Being able to show all matching items in a Multi-Reference would be amazing.

  • Hamish Maclean commented
    14 Feb 12:21

    Hi Roope Hovi! You approach sounds great. I am encountering this issue for ecommerce related products. I had to ditch the ecommerce categories because they are multi ref. Then related products are only able to show related for one category. This is right up there with nested collection lists in solving data model / architecture planning pain! Thank you.