Copy Webflow Collection ID and Item ID to Item Fields so they're available to Collection Lists.
This is a straightforward helper endpoint that will copy the UUID of a Webflow Item and it's Collection then add them back to the item as field values; allowing these values to be used in Collection Lists.
- Webflow Item Changed
- Webflow Item Updated
N.B. The item will only be updated if the Webflow ID field is not set.
You will need to add fields named
Item ID and
Collection ID to all your Collections. This endpoint does not discriminate between Collections ie. you need to add these fields to all of your Collections.
Once you have deployed the app, just do a bulk update on your Collection Items in Webflow; setting them to
Staged for Publishing — This will trigger the update.
What's the point?
I want to use web components for things like Nested Collection Lists, I need to be able to add Webflow Collection Item ID's and Collection ID's to Collection Lists so I can make API calls with that data.