attachment Element |
|
Content |
|
attachment Element |
Description |
The attachment Element configures attachment details in SDI Maintenance Pages. See Attachments for details and examples.
Properties for the attachment Element |
Property Name | Description | ||||||||||||||||||||||||||
SDC | SDC for the SDIs associated with the item. You must specify this if the columns you add (using the Columns property below) are in this SDC. | ||||||||||||||||||||||||||
Default File View | Specifies the view to load when the Element opens (see Attachments → Attachment Interface → Views). This applies to the initial opening of the page. Subsequent visits to the page will remember the User's last view. | ||||||||||||||||||||||||||
View Only | Determines if the Element is editable. This is automatically set to "Yes" if the primary is locked. | ||||||||||||||||||||||||||
Tab | Configures the tab containing the information:
|
||||||||||||||||||||||||||
Columns | Specifies the columns displayed under the tab and their attributes. Note
that columns such as TypeFlag and AttachmentClass are controlled by the
Element and will be overridden by any columns added in this collection.
The width property is deprecated as width is governed by the element.
|
||||||||||||||||||||||||||
Attachment Types | Specifies the Attachment Types managed by this Element (see
Attachments → Attachment
Types).
As an example, this allows you to have one Element managing "Rich Text" Types and another to manage "File" Types (or one Element managing only "Rich Text" and "File"). Any choices made here will be a subset of the Attachment Policy setting. For example, If the Attachment Policy does not show "File" Types and this Element shows "File" Types, it will be forced to not show "File" Types. This property also governs which options appear in the button used to add Attachments. For example, if you have only "Rich Text", only the "Add Rich Text" button option will be available.
|
||||||||||||||||||||||||||
Allow File Upload | If the Element allows "File" Attachment Types, setting this to "Yes" shows the "Upload File" button to allow browsing for files. | ||||||||||||||||||||||||||
Paste From Clipboard | If the Element allows "File" Attachment Types, setting this to "Yes" allows clipboard contents to be pasted into the attachment Element. | ||||||||||||||||||||||||||
Take and Browse Photos | If the Element allows "File" Attachment Types and the image format (JPG or PNG) is allowed by the File Location Policy, setting this to "Yes" allows uploading photos and browsing for images (see Attachments → Attachment Interface → Photos). | ||||||||||||||||||||||||||
Allow Live Photo Upload | If the Element allows "File" Attachment Types, the image format (JPG or PNG) is allowed by the File Location Policy, the native camera is available, and the device is not blocked (such as Chrome blocking an invalid HTTPS connection), setting this to "Yes" allows a photographic image to be rendered from a live streaming camera. See Attachments → Attachment Interface → Photos). | ||||||||||||||||||||||||||
Add Drawing | If the image format (PNG) is allowed by the File Location Policy, setting this to "Yes" allows drawings to be added as Attachments (see Attachments → Attachment Interface → Image Editing and Drawing Tools). | ||||||||||||||||||||||||||
Allow Image Editing | Setting this to "Yes" exposes image editing tools (see Attachments → Attachment Interface → Image Editing and Drawing Tools). | ||||||||||||||||||||||||||
Show Button Dropdown | Setting this to "No" hides the dropdown provided by the "Upload File" button and replaces the dropdown with a rendering of all available buttons that are allowed by the configuration of this Element. | ||||||||||||||||||||||||||
Show Remove Button | Setting this to "No" hides the "Remove" button. | ||||||||||||||||||||||||||
Allow Attributes | Default Yes. Set to No to hide option to add and edit attributes on attachments. | ||||||||||||||||||||||||||
Filter Attachment Classes | Lets you filter the Attachment Classes shown in the Element. If selected here, only Attachments of the specified class will be listed in the "Class" field. If there are no filter classes provided, then it will simply default the drop down and show all classes (no filtering). | ||||||||||||||||||||||||||
Default Attachment Class | Provides a default class if none is provided. If the filterclass collection has just one entry, then this property is not required as the filterclass will default to that provided class. However, if there is more than one filter class, then this property can be used to specify the default. If the class does not exist in the filter classes, then it will be pushed in. | ||||||||||||||||||||||||||
Attachment Excludes | Specify a list of file types (by file extension) to exclude.
|
||||||||||||||||||||||||||
File Repository Id | The Attachment Repository in which to store Attachments. When provided, this will override any Attachment Policy storage rules. Consider specifying a repository here if you are browsing unmanaged repositories. | ||||||||||||||||||||||||||
File Repository Node | The repository Node to use (such as "Sapphire Custom"). | ||||||||||||||||||||||||||
Maximum Number Of Attachments | Set to the maximum number of attachments you can store against an SDI for this element. |