Difference between revisions of "Custom Field Type: Upload - Single File Storage"

From SmartWiki
Jump to: navigation, search
Line 33: Line 33:
 
* '''Style''': Yes
 
* '''Style''': Yes
 
* '''Tool Tip''': Yes
 
* '''Tool Tip''': Yes
 +
 +
<u>'''[[Indexing Multiple and Single File Fields]]'''</u>
 +
 +
The '''Link Multiple File Field''' and the '''Link Single File Field''' both support a file index feature. Using this feature provides the ability to search documents attached to the field (subject to the [[User|user]] having permission to access the field).
 +
 +
<u>'''File Types Supported'''</u>
 +
 +
* When you add a document to this file you must make sure that the document can be indexed for searching.  The following types of documents are supported: Microsoft Word and Excel, Adobe PDF, HTML and RTF files.
 +
 +
<u>'''Ensuring that PDF Files are searchable'''</u>
 +
 +
* If using PDF you must ensure that the files are text-searchable.  You can test for this functionality by opening the file with Adobe Acrobat Reader and ensuring that the '''Select Text''' tool can be used to select text from the file.
 +
 +
<u>'''Indexing after uploading'''</u>
 +
 +
The '''indexing''' function takes place when the file is first uploaded so if you decide to index a file file after the file is uploaded you must re-index the field.  Use the following steps to index the field:
 +
 +
1. Locate and edit the [[Custom Field]].
 +
 +
2. Click the '''File Index''' check box.
 +
 +
3. Click the '''Save''' button.
 +
 +
4. Click the '''File Index''' tab.
 +
 +
5. Click the option button '''Re-index all files in this field now!'''
 +
 +
6. Click the '''Save''' button.
 +
 +
<u>'''Disabling a File Index'''</u>
 +
 +
If you wish to disable the '''File Index''' function and no longer make attached files searchable use the following steps:
 +
 +
1. Locate and edit the [[Custom Field]].
 +
 +
2. De-select the '''File Index''' check box.
 +
 +
3. Click the '''Save''' button.
 +
 +
4. Click the '''File Index''' tab.
 +
 +
5. Click the option button '''Remove index from all files in this field now!'''
 +
 +
6. Click the '''Save''' button.
  
 
[[Category:Custom Fields]]
 
[[Category:Custom Fields]]

Revision as of 15:54, 25 November 2008

Field Display

Cf27.png

General Description

Stores a single file into a single field. This field type is used to store a single uploaded document.

Field Options

  • Allow Empty: N/A
  • Default Text: N/A
  • Options: N/A
  • Track Changes: Yes
  • Store To Value: Yes

Special Options for Field

File Index – enables file indexing and full text searching using the Lucene full text search engine that is built into SmartSimple.

Field Validation

  • Type: N/A
  • JavaScript Validation: N/A
  • Message: N/A
  • HTML Tag: N/A

Field Formatting Options

  • Height: N/A Measure: Default:
  • Width: N/A Measure: Default:
  • Number Format: N/A
  • Style: Yes
  • Tool Tip: Yes

Indexing Multiple and Single File Fields

The Link Multiple File Field and the Link Single File Field both support a file index feature. Using this feature provides the ability to search documents attached to the field (subject to the user having permission to access the field).

File Types Supported

  • When you add a document to this file you must make sure that the document can be indexed for searching. The following types of documents are supported: Microsoft Word and Excel, Adobe PDF, HTML and RTF files.

Ensuring that PDF Files are searchable

  • If using PDF you must ensure that the files are text-searchable. You can test for this functionality by opening the file with Adobe Acrobat Reader and ensuring that the Select Text tool can be used to select text from the file.

Indexing after uploading

The indexing function takes place when the file is first uploaded so if you decide to index a file file after the file is uploaded you must re-index the field. Use the following steps to index the field:

1. Locate and edit the Custom Field.

2. Click the File Index check box.

3. Click the Save button.

4. Click the File Index tab.

5. Click the option button Re-index all files in this field now!

6. Click the Save button.

Disabling a File Index

If you wish to disable the File Index function and no longer make attached files searchable use the following steps:

1. Locate and edit the Custom Field.

2. De-select the File Index check box.

3. Click the Save button.

4. Click the File Index tab.

5. Click the option button Remove index from all files in this field now!

6. Click the Save button.