Difference between revisions of "Custom Field Type: Upload - Image"

From SmartWiki
Jump to: navigation, search
Line 4: Line 4:
 
==Field Display==
 
==Field Display==
 
[[Image:Display_only_image_ex1.png]]<br />
 
[[Image:Display_only_image_ex1.png]]<br />
''Display Only - Image, in Edit Mode''
+
''Upload - Image, in Edit Mode''
  
  
  
 
[[Image:Display_only_image_ex2.png]]<br />
 
[[Image:Display_only_image_ex2.png]]<br />
''Display Only - Image, in View Mode (with Image uploaded)''
+
''Upload - Image, in View Mode (with Image uploaded)''
  
 
{{FieldOptions}}
 
{{FieldOptions}}

Revision as of 09:47, 13 August 2018

General Description

Displays an uploaded image. Any image file type can be uploaded to a maximum of 1GB. The image size can be constrained by setting the height and width properties; otherwise the image will be displayed at its original size. Alternatively, the image file can be referenced from a Smart Folder. If the image referenced in the Smart Folder changes, the displayed image will also change.

Field Display

Display only image ex1.png
Upload - Image, in Edit Mode


Display only image ex2.png
Upload - Image, in View Mode (with Image uploaded)

Field Options

Option Description Format
Custom Field ID The unique ID number associated with the custom field. Not Applicable
Field Type The list of available Field Types. @fieldtype@
Field Name The name of the field, used internally to reference the user's input; @fieldname@
Caption  The leading question or prologue before the field. @caption@
Display Order  The order (relative to other fields) in which this field is displayed. @displayorder@
Description Definition and general description of the custom field. Will not be displayed. @description@
  • SmartFolder ID: This is the reference to the SmartFolder where the image is stored. (Only used if image is stored in a SmartFolder)
  • Button Label: Text to be displayed on the field's button. If no text is entered, the system will use a default label.
  • Appear Mandatory: Makes the field appear as though it is a required field. Typically used in conjunction with browser scripts, JavaScript Validation or Submit Logic that perform validation.
  • Tool Tip: When the user hovers their mouse pointer over the caption of a field, the text in this section will appear.
  • On New Record: Controls how the field should be displayed until record has been saved once.
    • Always Display: Field will be exposed both before and after the record is saved.
    • Hide on New Record: Field will be hidden until record is saved.
    • Only Show on New Record: Field will be exposed until record is saved, and then it will be hidden. This option is useful for fields that provide instructions for filling out forms before saving.
  • SmartField View - Include or exclude this field from SmartField Views (@SmartFields@) or only display this field for SmartField Views. See SmartField View for further details.

Options

General Options

  • Mandatory: Selecting this option means that this field is required and must be completed.
  • Disable Field From Global Search: Selecting this option means that the contents of this field will not be displayed in Global Search results.

Field Options

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.
  • Workflow on Upload: Select the workflow that will be initiated upon image upload

Other Options

  • Disable Email Button - removes the option to email uploaded documents

Formatting

  • Caption Style: Add caption styling by including HTML style tags around @value@
  • Max Width: Set the maximum image width value, in pixels, here
  • Max Height: Set the maximum image height value, in pixels, here
  • Thumbnail Width: Set the thumbnail width value, in pixels, here
  • Thumbnail Height: Set the thumbnail height value, in pixels, here
  • Enable Camera Snapshot: Checkmark this option to enable camera snapshot
  • Custom HTML Tag: Use this field for additional attributes to the field HTML tag.

Special Options for Field

  • Smart Folder ID Number - The File ID of an image uploaded to a Smart Folder.
  • Security Options: Allow External Access - allows uploaded images to be viewed without logging into SmartSimple.
  • Workflow on Upload: Indicates a Workflow that will be triggered when an image file is uploaded to this field.
  • Field Formatting Options: See the Field Formatting Options Wiki page.

Permissions & Availability Tab

Notes

The display size of the image in a report or list view is constrained by the user’s system settingList View Image Size.