Skip to content
Discussion options

You must be logged in to vote

The way to go is to use the relationship field (Documentation)

My recommendation is to look and try the public demo. There is an example there on how to reference the media collection:
(https://github.com/payloadcms/public-demo/blob/master/src/blocks/Media.ts)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eypacha
Comment options

@matthijs166
Comment options

Answer selected by zubricks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants