Media Library Integration

Created on 23 July 2025, 25 days ago

Problem/Motivation

I have created a Configuration to produce nodes on webform submissions and everything is working as it should except for file uploads that I would like to save as Media Library entities. Is there some kind of mapping that I can use to do this?

I would like people to be able to upload PDF, Word, PowerPoint and remote video URL's and have them mapped to their respective Media types.

Thanks,
Andrew

💬 Support request
Status

Active

Version

4.0

Component

Documentation

Created by

🇨🇦Canada awasson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @awasson
  • 🇵🇹Portugal joaomarques736

    Hello awasson,

    The only plugin type /field mapping provided by default which can be related with those fields is entity reference. If it doesn't work, you need to create a new plugin type to handle it (you can see some examples in src/Plugin/WebformContentCreator/FieldMapping folder).

    Best regards.

Production build 0.71.5 2024