ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 77 OnBeforeSaveReportAsPDF new Param necessary

Open ChristianBouska opened this issue 7 years ago • 3 comments

please see below

ChristianBouska avatar Feb 28 '19 13:02 ChristianBouska

Dear, can you please extend the Publisher by VAR FilePath, so that it is possible to handle the event and use the already instanced filepath (or one's own), which is later used as return value. This makes it possible to i.e. let pop up the UserReqPage for the Report and manipulate ReqPage Options for saving the XML-Doc.

image

ChristianBouska avatar Feb 28 '19 13:02 ChristianBouska

We cannot expose FilePath via events due to security reasons.

AlexanderYakunin avatar Mar 18 '19 09:03 AlexanderYakunin

How should we then "Handle" the event? Alternatively you should provide a TempBLOB record parameter where we can return the generated file, and then you can say (Pseudo code)

IF Handled THEN TempBlob.BLOB.EXPORT(FilePath) ELSE REPORT.SAVEAS....

mfalk118 avatar Oct 02 '19 09:10 mfalk118