CA Technologies Prerelease Documentation. Authorized Use Only.
Use the lsExport macro in place of lsCol to specify a column for a list form that is not included in the web UI list. However, this column is included in the spreadsheet generated by exporting the list. You define the contents of a list form with the lsStart, lsCol, and lsEnd macros. You can optionally include lsWrite and lsExport macros. For example:
<PDM_MACRO name=lsStart. . .> <PDM_MACRO name=lsCol . .> <PDM_MACRO name=lsCol . .> <PDM_MACRO name=lsWrite . .> <PDM_MACRO name=lsCol . .> . . . <PDM_MACRO name=lsEnd>
HTML for the entire list is output by the lsEnd macro. The other list macros save information used by lsEnd to generate the list.
This macro has the following properties:
(Required) Specifies the name of the attribute associated with the control.
Specifies whether the column contains an SREL attribute. The common name of the referenced table replaces this attribute value when the list is exported.
Specifies whether this column is exported when the user clicks the Export button.
Specifies the text of the header.
Specifies the name of a JavaScript function (without parentheses) that returns a string format code used to control formatting the column when it is exported. The function can return the following values:
Specifies the header for the column when it is exported. You can specify the value as explicit text, or as the keyword value DISPLAY_NAME, which sets the header to the value of export_hdr_default.
Specifies the text of the export column header when exportHdr has the keyword value DISPLAY_NAME. You rarely must specify this property, which defaults to the display name of the attribute of the column.
Specifies the text of the caption on the control; defaults to the DISPLAY_NAME of the attribute associated with the control.
Specifies text for a label positioned to the left of data.
Copyright © 2012 CA.
All rights reserved.
|
|