Skip to main content

Notifications

Announcements

No record found.

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

Create text file without uploading one and putting it into a blob

(0) ShareShare
ReportReport
Posted on by 2
Greetings Expert,
I am trying to create a text file, use text builder and put the result in that file, and then add the text file to a blob field.
I do not want to upload the file and i do not want to save the text directly to the blob.
The problem I am facing is I do not know how to create a file without uploading one when working on cloud.
I have tried the /File.UploadIntoStream/ but it requires to upload the file which I do not want.
Sorry, I am still a beginner and i have tried to find the results online but I couldnt.
Thank you for the help!
  • ManishS Profile Picture
    ManishS 78 on at
    Create text file without uploading one and putting it into a blob
    What are you trying to achive, you want to upload file in blob type file ?
     
    Below example of importing & exporting using Stream, does this helps.

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans