Add DOC, PDF, Excel, and data transfer actions
Add DOC, PDF, Excel, and data transfer actions
Technologies > User Interface Add-Ins > Parts for Reports > Report with DOC, PDF, Excel, and Data Transfer Actions
Add DOC, PDF, Excel, and data transfer actions using the
exportPanel
command and setting the
outputType
to
docx
,
pdf,xls
or
txfr
:
<panel type="grid" id="reportGridExport_grid" ... >
<action id="exportDOCX">
<title>DOC</title>
<command type="exportPanel" outputType="docx" panelId="reportGridExport_grid"/>
</action>
<action id="exportPDF">
<title>PDF</title>
<command type="exportPanel" outputType="pdf" panelId="reportGridExport_grid"/>
</action>
<action id="exportXLS">
<title>XLS</title>
<command type="exportPanel" outputType="xls" panelId="reportGridExport_grid"/>
</action>
<action id="exportTXFR">
<title>DATA</title>
<command type="exportPanel" outputType="txfr" panelId="reportGridExport_grid"/>
</action>
You can specify document import and export options in the command:
-
isImportDocument
: set to "true" to make data transfer import related document files if they are referenced in the import table. -
isExportDocument
: set to "true" to make data transfer export related document files if they are referenced in the export table.
By default, if you do not specify these options, data transfer will not import or export documents.
Invoke a paginated report from a DOC panel action
View: http://localhost:8080/archibus/schema/ab-products/solutions/parts/grid/ab-ex-report-grid-export.axvw
Record limits for reports generated by the XLS and DOCX action buttons
Record limits for reports generated from the grid control panel reporting (generated by XLS and DOCX action buttons for views that are not specialized panel reporting views) are determined by the following setting found in:
-
\WEB-INF\config\context\compatibility\afm-config.xml:
<recordLimit output="file" ruleType="Message" perTgrp="0" perView="1000"/>.
To override this global recordLimit, you can specify a per export recordLimit value when using the exportPanel command, such as:
<action id="abViewdefReport_export:XLS"> <title>XLS</title> <command type="exportPanel" outputType="xls" panelId="abViewdefReport_detailsPanel" recordLimit="1500"/> </action>