Salesforce

Printing Events (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Printing Events (Magic xpa 4.x)

Event Name

Description

Keyboard Mapping

Samples Projects

Page Footer

This event is invoked before the Page Footer form defined in the I/O properties is printed.

The event will be invoked only if there is a page footer form declaration in the I/O properties.

During this event, you cannot output any forms to this I/O.

Note: This internal event is not supported in Web Client tasks.

RP09, RRP09

Page Header

This event is invoked before the Page Header form defined in the I/O properties is printed.

The event is invoked only if there is a page header form declaration in the I/O properties.

During this event, you cannot output any forms to this I/O.

Note: This internal event is not supported in Web Client tasks.

RP09, RP11,
RRP09, RRP11

Print Data

This event is used to give your end users the ability to print data or to export data from a table into an Excel file. The event can be raised globally (such as by using a toolbar icon or a menu entry) or in specific programs.

This event includes the type parameter, which can have the following values (Since version: 3.2a):

  • If the type is 0, the Print Data wizard will be launched. The Print Data wizard will also be launched if the type is not set or if the event is raised by the keyboard shortcut.

  • If the type is 1, the table's data will be exported into an Excel file.

  • If the type is 2, the table's data will be displayed in a chart. A screen will be displayed and the end user can select what columns to display in the chart and what type of chart to display. Then, the chart and the data will be exported into an Excel file.

In order for this event to work, the Print Data task property must be set to Yes.

If the export into an Excel file is not working in runtime, click here to see possible solutions.

Ctrl+P

RP13, RRP13

Related Topics

Reference
Attachment 
Attachment