resolve_relations in custom preview

Hi there,

Is there a way to resolve relations and show some of the values of an underlying component for preview templates (config) of components?

Thank you!

Hello @harry,

at the moment it is only possible to use data for the preview template that is directly saved in a story. The relations aren’t part of the story where they’ve been referenced so it isn’t possible yet to show values of their content with the preview templates.

For this use case exists already a feature request that you can upvote and comment on: add possibility to show the name(s) of by option fields linked stories in the preview of components · Issue #326 · storyblok/storyblok · GitHub

Best regards