Skip to main content

Notifications

Announcements

No record found.

Dynamics Business Central migration forum
Suggested answer

Create and Export a PDF Report in base64string

(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 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 Super User on at

Helpful resources

Quick Links

New Blog Features Released!

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

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Featured topics

Product updates

Dynamics 365 release plans