Salesforce

Output Type (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Output Type (Magic xpa 4.x)

During runtime, select Print Data (Ctrl+P) from the Options menu to start the Print Data Wizard.

If you want to set the column order and delimiters before the data is printed, click Next to open the Column Selection dialog box.

The Column Selection dialog box includes the following fields:

Property

Description

Type

You can print the data displayed on the screen in HTML, XML, or Text format. Data can be sent to the printer, printed to file, or opened in an external application. To send data to the printer, select the Create and Print file action and Open Printer Dialog.

File Name

When printing data to a file, select the Create action and specify the file path name. If no path is specified, the file is created in the Magic xpa home directory. Search for the file path name by zooming from the field.

You can display the data in an external application assigned to the data's file type by selecting the Create and Open File action. For example, an HTML file that has a .DOC extension will be opened in Microsoft Word.

Template

You can specify a template for an HTML or XML file. For an XML template, select an XSL file. Template files specified in this field override the default files selected in the Print Data HTML Template and Print Data XML Template environment settings. If this field is left blank, Magic xpa automatically uses the default HTML and XML template files.

Action

The available actions are: Create File, and Create and Open File.

XSD File

You can create an XSD file when you specify the data to be displayed in XML format. When the Create Schema File check box is selected, Magic xpa creates the XSD file in the location specified in the Print Data XML Template environment setting. The XSD file has the same name as the XML file. For more information, see XSD Data Types.

Create Schema File

This check box is only visible when the Type field is set to XML. When the Type field is set to HTML or Text, the Print Header Line check box will appear (Since version: 1.5).

  • For HTML files, when this check box is:

  • Checked – The HTML file will include the <THEAD> section.

  • Unchecked – The HTML file will not include the <THEAD> section.

  • For Text files, when this check box is:

  • Checked – The text file will include a line containing the fields’ names. The fields’ names will be separated according to the Delimiter property value and wrapped according to the String Identifier value.
    For example: Code,Name.

  • Unchecked – The text file will not include the fields’ names.

Click Finish to print the data without specifying the column order or delimiters.

If you want to set the column order and delimiters before the data is printed, click Next to open the Column Selection dialog box.

Reference
Attachment 
Attachment