Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Create and Export a PDF Report in base64string

(1) ShareShare
ReportReport
Posted on by
Hello all, I would like your help here.
Am still learning the current business central and I have experienced a challenge here.

In the Microsoft Dynamics Navision I used to create and export it through a function in code unit, where i could create a function which takes a users Id and then a reference string which I would use it for the Base64String output, let me show you....
 
 
 

then using this code I would create a file then export it as a Base64String for the users to view it in their personal portals, now am unable to achieve this in particularly BC230 (AL)
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    Create and Export a PDF Report in base64string
    Hi,
     
    here is a sample code that have reference to convert a document to Base 64.
     
     
    This shows a sample of How to import documents via API to Business Central. 
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 12,290 Most Valuable Professional on at

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans