I copied the PreviewPDF method from the EE-Web example into my app. The example compiles without error, but Xojo fails when I try to compile my app. When I opened the examples, it said I was opening a file from a newer version of Xojo which surprised me because I am running 2022r1.1, the current version.
Session.PDFFolder.DeleteFile which I was able to cure with
The big problem is with
dat.Add(Session.PDFFolderItem.Base64Data) The error message says
ReportsPage.PreviewPDF, line 15
Type “FolderItem” has no member named “Base64Data” dat.Add(Session.PDFFolderItem.Base64Data)
I tried using EncodeBase64 but that only works with strings. Apparently the old Base64Data converted the websile to a string that base 64 encoded it. Any help resolving this will be greatly appreciated.