Difference between revisions of "Display Additional File Attributes for PDF Documents"

From SmartWiki
Jump to: navigation, search
Line 57: Line 57:
 
=Multiple File Fields=
 
=Multiple File Fields=
 
 
* To include the above attributes in the list view of documents stored in a Multiple File field use the '''Extra Columns''' section when you create a Multiple File field:
+
* To include the above attributes in the list view of documents stored in a [[Custom Field Type (80): Link – Multiple Files|Multiple Files]] field use the '''Extra Columns''' section when you create the [[Custom Field Type (80): Link – Multiple Files|Multiple Files]] field:
 
[[Image:PDFExtraColumns.PNG]]
 
[[Image:PDFExtraColumns.PNG]]
 
* In the '''Extra Columns''' field enter the desired column headings (separated by commas), followed by two colons, following by the fields codes from above (again separated by commas)
 
* In the '''Extra Columns''' field enter the desired column headings (separated by commas), followed by two colons, following by the fields codes from above (again separated by commas)
 
* '''Note''': be sure there are no spaces between the field codes, just a comma.
 
* '''Note''': be sure there are no spaces between the field codes, just a comma.
 
* These attributes will only be displayed for PDF documents. They will be left blank for all non-PDF documents.
 
* These attributes will only be displayed for PDF documents. They will be left blank for all non-PDF documents.
 +
[[Image:PDFDetails3.PNG]]
  
  
 
[[Category:Custom Fields]]
 
[[Category:Custom Fields]]

Revision as of 15:15, 1 April 2009

  • This feature allows you to display extra information (called Meta Data) extracted from PDF files that are stored in Singe File or Multiple Files field.
  • Only PDF files will display this information.
  • The additional attributes that can be extracted and displayed are:
Meta Data Field Name Field Code
Author author
Creator creator
Producer producer
Keywords keywords
Subject subject
Title title
Number of Pages numofpages
Creation Date creationdate
Modified Date modifieddate


There are 2 different ways of displaying additional file attributes for PDF documents, depending on whether the PDF document(s) are stored in a Single File field or Multiple Files field.

Single File Fields

@Field Name. 
Label [field code] 
@
  • Where Field Name is that name of the Single File field that contains the PDF document.
  • You can use html to format the output:

PDFDetails.PNG

PDFDetails2.PNG


Multiple File Fields

  • To include the above attributes in the list view of documents stored in a Multiple Files field use the Extra Columns section when you create the Multiple Files field:

PDFExtraColumns.PNG

  • In the Extra Columns field enter the desired column headings (separated by commas), followed by two colons, following by the fields codes from above (again separated by commas)
  • Note: be sure there are no spaces between the field codes, just a comma.
  • These attributes will only be displayed for PDF documents. They will be left blank for all non-PDF documents.

PDFDetails3.PNG