Is there a way to restrict a Media field using an existing Media Type (File) in a Content Type to permit only a certain file extension in that instance?
In particular, I need a subset of the permitted files types in the 'File' Media Type - just PDFs, without affecting the Media library or the 'File' media type.
I've tried creating a new Media type (in addition to Audio, File, Image, Video) and added a restricted File field that only supports PDFs, however because it's new there are no file entities to select; and I need to show a subset of the existing File library.
To demonstrate the desired behaviour:
Content type A
- Media field > File, exposes all files supported by the 'File' Media type:
- pdf etc
Content type B
- Media field > File, exposes only one extension: