This example shows how to add the document description property to the report output. The view definition, ExternalXmtlReportViewDef, needs to be updated to include the document description node. Use the Schema Editor to add the Description property from an associated edge definition, as seen in the following image.
This can be represented as the following:
By updating the view definition, a new <ReportAttribute> is added to the raw XML output for the <SPFReportItem> node as seen in the following example.
The above attribute can then be used in the XSL template to display the description for the document. Only a new document column will need to be added to the XSL.
Because the XSL has already been defined to iterate through all the <ReportAttribute> nodes for the document revisions, the new Description node is processed automatically.
By updating the view definition and XSL template, the report will now show Document Description as a new column in the Documents section of the report.