AL
AL copied to clipboard
ERROR : The type or method SAVEASPDF cannot be used for Extension development.
Facing the above issue while convert our extension from V1 to V2
Assuming this is on Reports we are looking into this. No ETA though.
In the meanwhile you can export the report into a stream in the PDF format.
Closing this as by design. For On-Premises usage just change your app.json to Target : Internal and the function will be available. For Cloud usage you need to withc to using Report.SaveAs function with the ReportFormat::PDF parameter and save the report to a stream.