Overriding Print button action on Pages
Based on the previous questions on the same subject in community we have an assumption that calculated fields on Word printables is not supported.
A workaround would be to have the calculated fields in the entity (Account, Order) itself and compute the values of these calculated fields on certain events with a business process. However, this will result in the business process to be triggered repeatedly just for computation of these calculated fields and may have performance implications.
An alternate would be to compute the values of this printable fields when the user clicks on the Print button, because that is when the computed fields will actually be used.
Is it possible to override the print button action (in PrintReportUtitlies mixin), and add a custom function call before the printable is processed. If so, can we have details of how to override the "Print" button action?