Reverse multi-reference fields?

The Webflow CMS appears to be based on a key-value document database like MongoDB, rather than a relational database, so there is no way to reverse the multiref field. It’s not a relational datastore.

What you can do, depending on your use case, is to create an xrefs table. Here’s an example;

  • Movies collection contains details about your movies
  • Actors collection contains details about your actors
  • MoviesActorsXref collection contains a single-ref to Movies, a single-ref to Actors, and other relation-specific fields like role, character name, awards…

Now, on your Movies collection page, you can include a collection list bound to MoviesActorsXref, which is filtered to Current Movie. You easily show all of the actors that are in that movie, and the ref lets you pull specific Actor record fields.

On your Actors collection page, you can include a collection list bound to MoviesActorsXref, which is filtered to Current Actor. You can easily show all of the movies that this actor was in, and the ref allows you to pull specific Movie record fields.

In the right situation, this works perfectly. However the data admin is a bit more grunty.

1 Like