My question is probably similar to this one: Link Field: Is it possible to query Pages
I’m trying to restrict the files shown in the dialog to the page-files, when option “file” is selected. When having a huge site-structure with many children it is hard to find the specific file.
Blueprint part:
fields:
ctaLinkObject:
label: CTA
type: object
fields:
link:
type: link
options:
- anchor
- url
- file
- custom
query: page.files # didn't work
linkText:
type: text
The query didn’t work, is there a way? If not, i will add an additional files-field.
Thanks in advance.