Skip to main content

Notifications

Announcements

No record found.

Dynamics Business Central migration forum
Suggested answer

Create and Export a PDF Report in base64string

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,959 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 9,942 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans