Difference between revisions of "Display Additional File Attributes for PDF Documents"
From SmartWiki
Line 37: | Line 37: | ||
− | There are 2 different ways of displaying additional file attributes for PDF documents, depending on whether the PDF document(s) are stored in a [[Custom Field Type (33): Link – Single File| | + | There are 2 different ways of displaying additional file attributes for PDF documents, depending on whether the PDF document(s) are stored in a [[Custom Field Type (33): Link – Single File|Single File]] field or [[Custom Field Type (80): Link – Multiple Files|Multiple Files]] field. |
==Single File Fields== | ==Single File Fields== | ||
− | * In order to extract Meta Data related to a PDF file stored in a you must create a [[Custom Field Type (109): Read Only – System Variables|Read Only - System Variables]] field to display the additional attributes. | + | * In order to extract Meta Data related to a PDF file stored in a [[Custom Field Type (33): Link – Single File|Single File]] field you must create a [[Custom Field Type (109): Read Only – System Variables|Read Only - System Variables]] field to display the additional attributes. |
− | * In the ''' | + | * In the '''Variables''' section of the [[Custom Field Type (109): Read Only – System Variables|Read Only - System Variables]] field use the following syntax: |
[[Image:PDFDetails.PNG]] | [[Image:PDFDetails.PNG]] | ||
− | + | * In the above example '''Contract Document''' is the name of the [[Custom Field Type (33): Link – Single File|Single File]] field that contains the PDF document. | |
Revision as of 14:01, 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
- In order to extract Meta Data related to a PDF file stored in a Single File field you must create a Read Only - System Variables field to display the additional attributes.
- In the Variables section of the Read Only - System Variables field use the following syntax:
- In the above example Contract Document is the name of the Single File field that contains the PDF document.
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:
- 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.
[Category:Custom Fields]