Salesforce

How Do I Dynamically Export the Dataview of a Task into an XML, HTML, Text, or CSV file? (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

How Do I Dynamically Export the Data View of a Task into an XML, HTML, Text, or CSV file? (Magic xpa 4.x)

One of the more common user requests is to have data dumped into a flat file so it can be read into a spreadsheet, word processor, or other software. Conveniently, Magic xpa has nice built-in functionality to do just that, so you don’t even have to do special programming.

There are two ways to do this.

  • The DataView functions: Internally to the program, you can use the DataViewTo functions from within the program to do the export programmatically. These functions give you, the programmer, most of the control over what is printed and in what format. See How Do I Export Data Into an HTML File?.

  • The Print data utility: Or, you can allow the end user to access the Print data utility from any online screen. This utility gives most of the control to the user. See How Do I Allow the End User to Dynamically Export Data?.

Either method gives the same variety of output options: text, CVS, XML, or HTML.

See also

The Online and Rich Client Samples projects (programs RP02 and RRP02)

Reference
Attachment 
Attachment