Plaza 365
Plaza 365

No results found for your search

RegisterLog in

6

Visit article

#attachment

#block

#customization

Dynamics 365 Business Central

Category

Feb 22, 2025

Published date

Text

Article Type


AI Summary

  • The article discusses how to limit specific file types for uploading attachments in Business Central.
  • By default, all types of files can be uploaded, but customization can restrict it to only allow certain file types like PDF or image.
  • The event 'OnBeforeInsertAttachment' in table 1173 "Document Attachment" can be used to control file extensions and types.
  • The provided test code demonstrates how to restrict file types to only image and PDF files.
  • The article suggests adding a setting to specify allowed or disallowed file types for user uploads.
  • A video test example is included to showcase the process.
  • The post also references a similar customization for limiting the maximum file size for attachments in Dynamics 365 Business Central.
  • The author hopes that the information shared will be helpful to readers.

Registered users can view the full text for FREE!

Sign In Now!