Announcements
No record found.
Is it possible to save HTML content in Business Central table record?
I was using Text[2048] but the HTML content size exceeds this limit and does not save the record.
You can use BLOB data type to save long text .
Check below :
https://docs.microsoft.com/en-us/dynamics-nav/write-function--bigtext-
https://andreilungu.com/read-write-text-from-to-blob-field-nav/
Thanks for your quick reply.
Can you please write some code to define a blob field in a table?
And how to use that WRITE function for blob field?
You can read from and write to BLOBs by creating input and output streams, respectively. To do so, use CREATEINSTREAM Function (BLOB) and CREATEOUTSTREAM Function (BLOB).
For more information, see InStream and OutStream Data Types here: docs.microsoft.com/.../instream-and-outstream-data-types
Thank you so much Stefano Demiliani. I Just implemented this solution and it worked for me.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to a top community star!
In our never-ending quest to help the Dynamics 365 Community members get answers faster …
Welcome to the next edition of the Community Platform Update. This is a status …
Stay up to date on forum activity by subscribing.