display

The display element allows you to control how the script output will be rendered when the script is run.

Hierarchy

Syntax

Copy
<display type = string>
     <!-- children –->            
</display>

Attributes

Name Description Data Type Required
type declares what data type the output should be when the script is executed. Valid values:
  • Report - outputs data as a PDF report
  • Table - outputs data as a standard item list
string yes

Children

Name Description
settings defines certain attributes about your report. Currently you can define the report title.

Example

Copy
<script>
     <name>Display Element</name>
     <description></description>
     <category> </category>
     <input orientation="horizontal" />
     <display type="report"></display>
     <action returns="table">
          <![CDATA[
               Select top 10 [ArtifactID] from [View]
          ]]>
     </action>
</script>