Skip to main content

Notifications

Announcements

Dynamics Business Central migration forum
Suggested answer

Create and Export a PDF Report in base64string

editSubscribe (0) 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 10,153 User Group Leader 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 3,056 Super User on at

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,324 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,096 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans