Skip to main content

Notifications

Business Central forum
Answered

How to convert TEXT value into BLOB ?

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.

Categories:
  • 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

Helpful resources

Quick Links

Dynamics 365 Community Update

Welcome to the inaugural Community Platform Update. As part of our commitment to…

Dynamics 365 Community Newsletter - August 2024

Catch up on the latest D365 Community news

Community Spotlight of the Month

Kudos to Mohana Yadav!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,142 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 227,979 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans