Skip to main content
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)
Attachments
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 10,067 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 2,984 Super User on at

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Business Process Guidance Badges and New…

The Microsoft Success by Design is the framework for implementing Dynamics 365…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 222,987 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans