Today I would like to share another mini tip about Business Central, how to quickly get the extension name, file name without extension, and Media (MIME) types from an uploaded file.
This new feature is not mentioned in the 2023 wave1 release plan, but it is in Business Central Launch Event (2023 release wave 1) and AL Language extension changelog version 11.0.
Media.FindOrphans & MediaSet.FindOrphans: New methods for finding media and media sets that are no longer referenced, and can be deleted.
In Microsoft Dynamics 365 Business Central we can use Media and MediaSet Data Types to store images, or other types of documents. In this post, you will learn how to use them, and how to create a process to import and export images. Also, you will learn the differences between them and blob types.
Media, such as images are frequently used in Dynamics 365 Business Central. To work with media files, you need to learn about file handling. This blog post introduces Media, Mediaset data types, and how to upload and download images using MediaSet in Dynamics Business Central 365.
One of the things that has changed when you are building V2 extensions for a cloud environment is that you cannot access most functions that work with physical files.
This presents a bit of a challenge when it comes to working with the media and media set field types, as the typical approach is to have an import and export function so that a user can get pictures in and out of the field.