Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

How to convert TEXT value into BLOB ?

(0) ShareShare
ReportReport
Posted on by 80

I have a text value and it has 15000+ characters, i need to save it in a table. And after doing some research i now know that i have to use BLOB to save this value in a Table. Now how can i convert this text value into BLOB.

  • Verified answer
    Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: How to convert TEXT value into BLOB ?

    Just want to add to Soft Devil's if you want to temporary write the data to a Blob,

    you can also use TempBlob.Blob.CreateOutStream(OStream)

  • Verified answer
    Soft Devil Profile Picture
    Soft Devil 30 on at
    RE: How to convert TEXT value into BLOB ?

    Hi

    record.Blobfield.CreateOutStream(OStream);

    OStream.Write(TextVar);

    community.dynamics.com/.../how-to-write-the-blob-filed

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,904 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans