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

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!
Categories:
  • ManishS Profile Picture
    ManishS 6,578 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans