Plaza 365
Plaza 365

No results found for your search

RegisterLog in

1

Visit article

Dynamics 365 Business Central

Category

Jul 7, 2024

Published date

Text

Article Type


AI Summary

  • A BLOB (Binary Large OBject) is a complex data type used to store large binary data such as images, documents, or other types of large files.
  • When a Blob field has Subtype = Bitmap, you can upload images directly and view them as small thumbnails.
  • To delete a Blob image, you can build a custom action to handle this function.
  • Copying content from one Blob to another can be done by reading from the origin with Instream, writing to the destination with OutStream, and using CopyStream to copy the data.
  • Downloading the contents of a Blob field can be achieved through the "DownloadFromStream" function, saving the downloaded content in the "Downloads" folder with the correct extension.
  • Temporary Blobs can be used to hold data temporarily when a Blob field is not available, typically used for tasks like sending custom emails with attachments.
  • To input text into a Blob, the ExtendedDatatype = RichContent can be used to input rich text, images, etc., saving the data in the item card and retrieving it with OnAfterGetRecord.
  • Microsoft recommends using Media or MediaSet data types over Blob for storing images due to advantages such as generating thumbnail versions of images, caching data on the client, and improved performance.

Registered users can view the full text for FREE!

Sign In Now!

Cookies Consent

We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.