Timeline
Timeline is a feature by Contentful that allows you to create, schedule and preview multiple upcoming versions of the same digital experience.
Note: The Timeline feature is available on specific plans. For more information, reach out to your Sales representative.
To enable Timeline Preview, you need to use the @timeline directive and pass the Timeline preview tokens as arguments. For example:
Notes:
- The
@timelinedirective is a query-level directive. - You need to ensure that the directive is present in all preview queries made by your website.
- The
previewargument must be set totrue, just like regular preview. If thepreviewargument is set tofalse, the directive has no effect. - The
@timelinedirective should work with all of your existing GraphQL queries. If something doesn’t work, please report a bug.