Is it possible to reference a CMS item in rich text? Let’s say I am writing an article and would like to pull in dynamic data from a CMS collection (e.g. image, pricing information) for featured items throughout the article. How would you do this?
See this screenshot for an example of what I’m trying to achieve.
You would create one fs-component that represents every product, and put it on your product page. There you can hide it, and reference it from your CMS page remotely.
Read the PRT docs, they’ll explain.
EDIT: I was just adding this to a site, here’s a simple v1;
The FS PRT macro looks like this, and references the fs-component from another page ( in this case an article CMS page );
Not need to create Components. A much more flexible option is to use blocks with multi-reference Collections.
Webflow supports a maximum of 20 collections per page, let’s take into account that there may be some more collection inserts on the page with other collection elements (menus, sliders, etc. ~5 collections)
We get that we can create 15 multi-reference collections for the blog and can use them in the post in 15 places.