Updated publishing behavior for collection items
Starting December 2024, Webflow is introducing an improved publishing workflow for collection items. When a live item’s isDraft property is set to true, the item will continue to remain published on the live site even after a full site publish. This allows users to make updates to the collection item in a draft state without changing what’s visible on the live site.
To remove an item from the live site, you must now explicitly call the unpublish endpoint. This change gives developers more precise control over the publishing state of individual items. Please see the “publishing items” section of the CMS guide for more details.
-
Create CMS Item
The default behavior of thecreateItemAPI is now to create a draft item. All new items will be created with theisDraftflag set totrue. -
Publish CMS Item
Due to changes in how publishing is handled, sites with multiple domains are no longer required to have their domains in sync when publishing a single CMS Item. Previously, users would receive a409error when attempting to publish a CMS item while the domains weren’t in sync. Users will no longer receive a409error when attempting to publish a CMS item.
Page and component content updates
We’ve updated the request body structure for updating content:
-
Update page content
To update a nested Component Instance within a Component, use thepropertyOverridesproperty instead of using thepropertiesproperty. -
Update component content
To update a nested Component Instance within a Component, use thepropertyOverridesproperty instead of using thepropertiesproperty.