Difference between revisions of "Custom Field Type: Upload - Multiple Files Storage"

From SmartWiki
Jump to: navigation, search
(Field Options)
 
(122 intermediate revisions by 14 users not shown)
Line 1: Line 1:
<u>'''Field Display'''</u>
+
__TOC__
  
[[Image:Cf25.png]]
+
==General Description==
+
This custom field type stores multiple files into a single field. Files can be uploaded individually or in groups.
<u>'''General Description'''</u>
 
 
 
Stores multiple files into a single field.
 
  
 
This field type is used to store:
 
This field type is used to store:
* Uploaded documents.
 
* Documents that are created using the '''Web Page View''' type field using the '''Store to Server''' option.
 
 
<u>'''Field Options''' </u>
 
  
* '''Display Order''': The order (relative to other fields) in which this field is displayed
+
* Uploaded documents
* '''Tab Name''': Displays the field under a given tab
+
* Uploaded media
* '''Field Name''': The name of the field, used internally to reference the user's input
+
* Documents that are created using the [[Web Page View]] type field using the '''Store to Server''' option.
* '''[[Caption]]''': The leading question or prologue before the field
 
* '''Track Changes''': Keeps track of changes made to this field
 
 
<u>'''File Options'''</u><br>
 
[[Image:PDFMerge.PNG]]
 
* '''Allow External Access''' - if there is an externally enabled report that includes files in this Multiple Files field, anyone viewing the report will be able to click on the file names listed on the report for this Multiple Files field and view the underlying files.
 
* '''File Indexing''' – enabled file indexing and full text searching using the Lucene full text search engine, which is built into [[SmartSimple]].
 
* '''Enable Online Editing''' - when enabled an '''edit''' button will appear next to the documents in this field that will allow you to edit the documents online. When the changes are saved the updated document will automatically be saved back into the appropriate Multiple Files field. (''Note: documents with special characters such as apostrophes in the file name will not be editable'')
 
* '''Keep Version''' – provides for version control over documents added.  When a second document with the same name is added the name will be appended with V_# (where # is the version number starting at 1). Similarly if you have enabled Online Editing above the updated version will not overwrite the original but will add one with the next appropriate version number.
 
* '''No Deletion''' – suppress the [[User|user’s]] ability to delete any files stored in the field, and manager permission is required by the [[User|user]] to delete an '''Allow Delete Multiple Files Fields'''.
 
* '''Allow Merging''' - allows the user to select any or all pdf documents in the field to be merged into a single document. Described [[#Allow Merging (PDF files only)|below]]
 
 
<u>'''Field Formatting Options'''</u>
 
  
* '''Sort Order''': Lists several options for ordering the files
+
==Field Illustrated==
* '''Style''': '''Bold''', <u>Underline</u>, ''Italic'', <font color="red">Highlight</font>
+
View Mode:
* '''[[Tool Tip]]''': Enter help text to be shown on mouse-over
 
* '''Read Only''': Checkbox
 
* '''HTML Tag''': Additional attributes to the field HTML tag
 
* '''[[Custom Fields – Detailed Descriptions#Visibility Condition|Visibility Condition]]''': Conditions upon which the field is visible
 
  
<u>'''Role - Field Permissions'''</u>
+
: [[Image:View-mode_cft.png]]
 +
Edit Mode:
  
These [[Custom Fields UTA Status Permissions|fields]] allow you to control who is allowed and who is denied viewing and/or modifying the field.
+
: [[Image:Edit_mode_MultiFile.png]]
<u>'''[[Indexing Multiple and Single File Fields]]'''</u>
+
==Field Options==
+
All common options:<br />
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).
+
[[Custom Fields – General Information#General_Settings|General Settings]]<br />
+
[[Custom Fields – General Information#Permissions & Availability|Permissions & Availability]]<br />
<u>'''File Types Supported'''</u>
+
[[Custom Fields – General Information#Classic Options|Classic Options]]<br />
 +
For further information, please refer to [[Custom Fields – General Information]].<br /><br />
 +
Options listed below are specific to this particular field type.<br />
 +
{{SecurityOptions}}
 +
{{EnableOnlineEditing}}
 +
{{RealTimeVirusScan}}
  
* 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.
+
''Other Options''
  
<u>'''Ensuring that PDF Files are searchable'''</u>
+
* '''File Index''' – enabled file indexing and full text searching using the Lucene full text search engine, which is built into [[SmartSimple]].
 +
* '''Create Optimized Image Version''': If checked, a small version (thumbnail) will be created when the user uploads an image. The thumbnail image will be compressed and restricted to 1024 pixels wide. The thumbnail can be called using the syntax @fieldname.compressedlink@. This feature is intended to improve the load time of pages displaying many high resolution images.
 +
* '''Enable Annotation''' – allows users to add [[PDF Annotation|annotations]] to uploaded PDF documents from within the SmartSimple system.
 +
<!--* '''Disable Email Button''' - removes the option to email uploaded documents-->
 +
* '''Keep Version''' – provides for version control over documents added. When a second document with the same name is added the name will be appended with V_# (where # is the version number starting at 1). Similarly if you have enabled Online Editing above the updated version will not overwrite the original but will add one with the next appropriate version number.
 +
* '''Disable Delete''' – suppress the [[User|user’s]] ability to delete any files stored in the field. The '''Allow Delete Multiple Files Fields''' [[Manager Permissions|manager permission]] is required by the [[User|user]] to bypass this restriction.
 +
* '''Enable Merging''' - allows the user to select any or all pdf documents in the field to be merged into a single document. Described [[#PDF Document Options|below]].
 +
* '''Document Console''' - Enabling the [[Document Console]] allows the user to easily preview and print the documents contained in the Multiple File field. [[File:Documentconsolefin.jpg|thumb|right|link=|300px|Example of [[Document Console]]]]
 +
* '''Auto Convert Documents to PDF on Upload''' - Automatically converts Word Documents into PDF versions of the same document asynchronously.
 +
* '''Enable Excel Parsing''' - parse an uploaded Excel files and populate mapped fields based on the files' content see [[Excel_Parser|Excel Parser]].
 +
* {{FileTypeRestriction}}
 +
* '''Maximum File Size''' - drop-down with options to allow a limit on the file upload size
 +
* '''File Name Restriction''' - Allows you to enforce a file naming convention to files uploaded to SmartSimple. See the [[File Name Restriction]] page for more information.
 +
* '''Workflow on Upload''' - Allows you to define a [[Workflow]] that will be triggered whenever a file is uploaded to this field.
 +
{{Media Library Field Options}}
  
* 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.
+
<pre style="white-space: -o-pre-wrap; word-wrap: break-word;">The ability to delete files from Multiple File fields is granted to roles using the Allow Delete on MultiFile Fields Manager Permission.</pre>
  
<u>'''Indexing after uploading'''</u>
+
{{FileSizeUpload}}
 
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.
+
==Special Field Options==
 +
===[[Indexing Multiple and Single File Fields]]===
 +
The '''Upload - Multiple Files Storage''' and the '''Upload - Single File Storage''' 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).
  
3. Click the '''Save''' button.
+
<u>'''File Types Supported'''</u>
  
4. Click the '''File Index''' tab.
+
* 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.
  
5. Click the option button '''Re-index all files in this field now!'''
+
<u>'''Ensuring that PDF Files are searchable'''</u>
  
6. Click the '''Save''' button.
+
* 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>'''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.
+
<u>'''Indexing after uploading'''</u>
  
3. Click the '''Save''' button.
+
* The '''indexing''' function takes place when the file is first uploaded so if you decide to index a file after the file is uploaded you must re-index the field. Use the following steps to index the field:
  
4. Click the '''File Index''' tab.
+
# Locate and edit the [[Custom Field]].
 +
# Click the '''File Index''' check box.
 +
# Click the '''Save''' button.
 +
# Click the '''File Index''' tab.
 +
# Click the option button '''Re-index all files in this field now!'''
 +
# Click the '''Save''' button.
  
5. Click the option button '''Remove index from all files in this field now!'''
+
<u>'''Disabling a File Index'''</u>
 
 
6. Click the '''Save''' button.
 
 
<u>'''Notes'''</u>
 
 
 
Files can be uploaded individually or in groups.
 
  
When in '''Edit''' Mode, the following buttons will be displayed:
+
* If you wish to disable the '''File Index''' function and no longer make attached files searchable use the following steps:
  
[[Image:Cf26.png]]
+
# Locate and edit the [[Custom Field]].
+
# De-select the '''File Index''' check box.
To use the '''Multiple File''' feature requires the use of a Java Applet. If the [[User|user’s]] computer is not permissioned to run Java applets, then the '''Single file''' upload should be used.
+
# Click the '''Save''' button.
 +
# Click the '''File Index''' tab.
 +
# Click the option button '''Remove index from all files in this field now!'''
 +
# Click the '''Save''' button.
  
==PDF Document Options==
+
===PDF Document Options===
 +
<u>'''Allow Merging ([[:Category:PDF|PDF]] files only)'''</u>
  
===Allow Merging (PDF files only)===
 
 
* If you are using a Multiple File field to store PDF documents then you can enable a '''Merge''' button:
 
* If you are using a Multiple File field to store PDF documents then you can enable a '''Merge''' button:
 
* When editing a record with a Multiple File field that has "Allow Merging" enabled, the '''Merge files''' button will be present:
 
* When editing a record with a Multiple File field that has "Allow Merging" enabled, the '''Merge files''' button will be present:
[[Image:PDFMerge2.PNG]]
+
[[Image:Mergefile.png]]
* Clicking the '''Merge files''' button will allow you to select which PDF documents that are already stored in the field you wish to merge into a single PDF document.
+
* Clicking the '''Merge files''' button will allow you to select which PDF documents that are already stored in the field you wish to merge into a single PDF document, as well as the sequence in which they are merged.
 
* The resultant document will also be stored in the Multiple File field. The original documents will not be changed.
 
* The resultant document will also be stored in the Multiple File field. The original documents will not be changed.
* The order the pdf files are included in the resultant document cannot be controlled.
 
 
* This feature will provide for easier printing of "sets" of documents.
 
* This feature will provide for easier printing of "sets" of documents.
 
* The resultant file cannot have a space in the file name.
 
* The resultant file cannot have a space in the file name.
  
===[[Display Additional File Attributes for PDF Documents|Display Additional File Attributes (PDF files only)]]===
+
'''Note about Merging:''' Any PDF files that have the '''Content Copying''' or '''Content Copying or Extraction'''
 +
security restriction in place '''cannot''' be merged.
 +
* The settings can be viewed by opening the PDF and clicking
 +
      File > Document Properties > Security (steps may vary depending on the version of your PDF reader)
 +
See also: [[Display Additional File Attributes for PDF Documents]]
 +
 
 +
<u>'''[[Display Additional File Attributes for PDF Documents|Display Additional File Attributes (PDF files only)]]'''</u>
 +
 
 
* This feature allows you to display extra information (also called Meta Data) extracted from each PDF into the list view of the files stored in this field.
 
* This feature allows you to display extra information (also called Meta Data) extracted from each PDF into the list view of the files stored in this field.
 
* This is done using the '''Extra Columns''' section:
 
* This is done using the '''Extra Columns''' section:
Line 112: Line 108:
 
* Please see [[Display Additional File Attributes for PDF Documents]] for details.
 
* Please see [[Display Additional File Attributes for PDF Documents]] for details.
  
 +
==Variables==
 +
The following extensions can be used with Multiple File fields:
 +
 +
* '''.numOfPages''': the total [[PDF Page Count|number of pages in all PDF files]] stored in the field.
 +
* '''.numOfFiles''': the number of files in the field.
 +
 +
: Example: To validate if the custom field has any uploaded files:
 +
: ''"@level1.Link-Multiple Files custom field name.numOfFiles@">0''
 +
* '''.uploadlink''': the URL that can be used to upload a file to the field.
 +
* '''.value''': the filenames of the files separated by pipes (|) with file identifiers.
 +
* '''.filenames(''separator'')''': the filenames of the files separated by the ''separator'' entered between the parentheses.
 +
* '''.files''': the URL/path to each of the files separated by pipes (|).
 +
 +
'''NOTE''': To display a list of files in a table format with hyperlinks to the files just reference the fieldname. e.g @Annual Financial Documents@
 +
 +
Example:
 +
Upload file function using hyperlink:
 +
 +
<pre style="white-space: -o-pre-wrap; word-wrap: break-word;"><a href="@Additional Files.uploadlink@" target="_blank">Click Here to upload</a></pre>
 +
 +
Upload file function as a button:
 +
 +
<pre style="white-space: -o-pre-wrap; word-wrap: break-word;"><input class="Button" type="button" value="Upload Files" /></pre>
 +
 +
==HTML 5 Upload feature==
 +
A new HTML 5 format for the file upload feature on [[Custom Field Type: Upload - Multiple Files Storage|multiple file]] fields has been implemented as of May 2013. The new uploader obviates the need for a Java applet plug-in; end users are no longer required to install anything in order to upload multiple files. Note that HTML 5 is available on the following [[browsers]]:
 +
 +
* Internet Explorer [http://windows.microsoft.com/en-IE/internet-explorer/download-ie download]: version 10.0 and higher
 +
* Firefox [http://www.mozilla.org/ download]
 +
* Chrome [http://www.google.com/chrome/ download] <br />
 +
[[Image:HTML5UploadNew.png|500px]]
 +
 +
Any user that is not using one of these browsers will continue to use the file upload applet, which will require installing the Java applet plug-in.<br />
 +
[[Image:JavaAppletUpload.png|500px]]
 +
 +
==Notes==
 +
<!--* Use of the '''Multiple Files...''' button requires the use of a Java Applet that will be automatically installed on your PC.  If the [[User|user’s]] computer does not allow installation or execution of Java applets then the '''Single file''' upload should be used.-->
 +
* Commas in the file names of uploaded files will be replaced automatically with underscore characters ("_"). This is to prevent errors with JavaScript execution.
 +
 +
==See Also==
 +
* [[What is the Spool Folder Setting in the Global Settings?]]
 +
* [[Indexing Multiple and Single File Fields]]
 +
* [[:Category:PDF]]
 +
* [[PDF Annotation]]
 +
* [[Validating File Attributes]]
 +
* [[Custom Field Type: Upload - Single File Storage]]
  
[[Category:Custom Fields]]
+
{{CustomFieldPageFooter}}[[Category:Files]]

Latest revision as of 10:43, 4 May 2020

General Description

This custom field type stores multiple files into a single field. Files can be uploaded individually or in groups.

This field type is used to store:

  • Uploaded documents
  • Uploaded media
  • Documents that are created using the Web Page View type field using the Store to Server option.

Field Illustrated

View Mode:

View-mode cft.png

Edit Mode:

Edit mode MultiFile.png

Field Options

All common options:
General Settings
Permissions & Availability
Classic Options
For further information, please refer to Custom Fields – General Information.

Options listed below are specific to this particular field type.
Security Options

  • Allow External Access: if there is an externally enabled report that includes files in this Multiple Files field, anyone viewing the report will be able to click on the file names listed on the report for this Multiple Files field and view the underlying files.
  • Enable Online Editing - when enabled an edit button will appear next to the documents in this field that will allow users to edit the documents online. When the changes are saved the updated document will automatically be saved back into the appropriate Multiple Files field. (Note: documents with special characters such as apostrophes in the file name may not be editable) See Online Editing.
  • Real-Time Virus Scan - performs virus scan on uploaded documents

Other Options

  • File Index – enabled file indexing and full text searching using the Lucene full text search engine, which is built into SmartSimple.
  • Create Optimized Image Version: If checked, a small version (thumbnail) will be created when the user uploads an image. The thumbnail image will be compressed and restricted to 1024 pixels wide. The thumbnail can be called using the syntax @fieldname.compressedlink@. This feature is intended to improve the load time of pages displaying many high resolution images.
  • Enable Annotation – allows users to add annotations to uploaded PDF documents from within the SmartSimple system.
  • Keep Version – provides for version control over documents added. When a second document with the same name is added the name will be appended with V_# (where # is the version number starting at 1). Similarly if you have enabled Online Editing above the updated version will not overwrite the original but will add one with the next appropriate version number.
  • Disable Delete – suppress the user’s ability to delete any files stored in the field. The Allow Delete Multiple Files Fields manager permission is required by the user to bypass this restriction.
  • Enable Merging - allows the user to select any or all pdf documents in the field to be merged into a single document. Described below.
  • Document Console - Enabling the Document Console allows the user to easily preview and print the documents contained in the Multiple File field.
    Example of Document Console
  • Auto Convert Documents to PDF on Upload - Automatically converts Word Documents into PDF versions of the same document asynchronously.
  • Enable Excel Parsing - parse an uploaded Excel files and populate mapped fields based on the files' content see Excel Parser.
  • File Type Restriction - Use this option to specify the only file types that may be uploaded, in a comma-separated list. Please note that file extensions (e.g., txt, jpg, pdf) must be in lower case. See the File Type Restriction page for further information.
  • Maximum File Size - drop-down with options to allow a limit on the file upload size
  • File Name Restriction - Allows you to enforce a file naming convention to files uploaded to SmartSimple. See the File Name Restriction page for more information.
  • Workflow on Upload - Allows you to define a Workflow that will be triggered whenever a file is uploaded to this field.

Media Library Options

  • Enable Media Library - enable the media library interface. Only selectable when in Arcadia mode.
  • Enable Media Download - only exposed when Enable Media Library is checked. Permits downloading of any uploaded media files.
  • Enable Mobile Link - only exposed when Enable Media Library is checked. Permits access to mobile link.
  • Enable Closed Caption - only exposed when Enable Media Library is checked. Permits access to Closed Captions (CC) as well as the ability to customize the label on CC button.
  • Enable Media Annotation - only exposed when Enable Media Library is checked. Allows users to make annotations against the media item as well as the ability to customize label on the Annotation button.
  • Use thumbnail image in print view - only exposed when Enable Media Library is checked. If not set, then print view shows the whole image. If set, then the print view will show the image with half width and metadata fields on the right-hand side. NOTE: will require the latest Web Page View "SmartFields Sample Template".
  • Watermark - only exposed when Enable media Library is checked. Entered text appears as watermark when any uploaded media is viewed.
The ability to delete files from Multiple File fields is granted to roles using the Allow Delete on MultiFile Fields Manager Permission.

File Size Upload Limitations (Size Restrictions)

Files with sizes up to 1GB can be uploaded into Custom Field Type: Upload - Multiple Files Storage and Custom Field Type: Upload - Single File Storage

File Size Upload Times

 
Region File Size; Upload Time
Canada (Peer1) The nested table must be on a new line>
50MB ~ 51,200KB; approximately 1 min
100MB ~ 102,400KB; approximately 1 min
200MB ~ 204,800KB; approximately 2 min
500MB ~ 512,000KB; approximately 3 min
1GB ~ 976,563KB; approximately 4 min

Notes

  • File upload time tests were completed from SmartSimple head office. Upload times may vary based on your ISP and other factors.
  • Last speed test - Aug. 2015

Special Field Options

Indexing Multiple and Single File Fields

The Upload - Multiple Files Storage and the Upload - Single File Storage 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 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.

PDF Document Options

Allow Merging (PDF files only)

  • If you are using a Multiple File field to store PDF documents then you can enable a Merge button:
  • When editing a record with a Multiple File field that has "Allow Merging" enabled, the Merge files button will be present:

Mergefile.png

  • Clicking the Merge files button will allow you to select which PDF documents that are already stored in the field you wish to merge into a single PDF document, as well as the sequence in which they are merged.
  • The resultant document will also be stored in the Multiple File field. The original documents will not be changed.
  • This feature will provide for easier printing of "sets" of documents.
  • The resultant file cannot have a space in the file name.
Note about Merging: Any PDF files that have the Content Copying or Content Copying or Extraction 
security restriction in place cannot be merged. 
* The settings can be viewed by opening the PDF and clicking 
      File > Document Properties > Security (steps may vary depending on the version of your PDF reader)
See also: Display Additional File Attributes for PDF Documents

Display Additional File Attributes (PDF files only)

  • This feature allows you to display extra information (also called Meta Data) extracted from each PDF into the list view of the files stored in this field.
  • This is done using the Extra Columns section:

PDFExtraColumns.PNG

Variables

The following extensions can be used with Multiple File fields:

Example: To validate if the custom field has any uploaded files:
"@level1.Link-Multiple Files custom field name.numOfFiles@">0
  • .uploadlink: the URL that can be used to upload a file to the field.
  • .value: the filenames of the files separated by pipes (|) with file identifiers.
  • .filenames(separator): the filenames of the files separated by the separator entered between the parentheses.
  • .files: the URL/path to each of the files separated by pipes (|).

NOTE: To display a list of files in a table format with hyperlinks to the files just reference the fieldname. e.g @Annual Financial Documents@

Example: Upload file function using hyperlink:

<a href="@Additional Files.uploadlink@" target="_blank">Click Here to upload</a>

Upload file function as a button:

<input class="Button" type="button" value="Upload Files" />

HTML 5 Upload feature

A new HTML 5 format for the file upload feature on multiple file fields has been implemented as of May 2013. The new uploader obviates the need for a Java applet plug-in; end users are no longer required to install anything in order to upload multiple files. Note that HTML 5 is available on the following browsers:

HTML5UploadNew.png

Any user that is not using one of these browsers will continue to use the file upload applet, which will require installing the Java applet plug-in.
JavaAppletUpload.png

Notes

  • Commas in the file names of uploaded files will be replaced automatically with underscore characters ("_"). This is to prevent errors with JavaScript execution.

See Also