You use this field to add an option to attach a media to a content item in the backend and then display the media together with the item on the frontend.
EXAMPLE: You add an image custom field to the News module. Then, you create a news item. You can see the custom field and you can use it to add one or more images to the news item. Then, you must add the image custom field to the widget template of the News widget. When you drop the widget on a page, the website displays news, together with images.
You can add a media field to built-in and dynamic modules, as well as pages. The supported media types are images, videos, and files.
To add a media field to a module or page, perform the following:
For each content type, you can add related media fields. Each related media field can work with only one provider, for example, Default libraries provider. However, you can configure the field to work with Default site source. This means that the provider the related media field works with changes dynamically as you switch sites to the default provider for the current site. You can also set the same default provider for a content type, for example, News, for all sites in your instance. For more information, see Share content providers of modules.
In scenarios where you configured a related media field provider to be “Default site source” and each site has a different default provider for the media content, the related media field displays content only on the site where this content was originally created.
The following table lists the default widget for each media type:
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important