Member Junction
    Preparing search index...

    Configuration options for the Record Attachments widget.

    interface RecordAttachmentsConfig {
        AllowDelete?: boolean;
        AllowDownload?: boolean;
        AllowedContentTypes?: string[];
        AllowEditMetadata?: boolean;
        AllowPreview?: boolean;
        AllowReplace?: boolean;
        AllowUnlink?: boolean;
        AllowUpload?: boolean;
        DefaultCategoryID?: string;
        DefaultStorageAccountID?: string;
        MaxFileSizeBytes?: number;
    }
    Index

    Properties

    AllowDelete?: boolean

    Whether deleting (hard delete from storage) is allowed. Default: true

    AllowDownload?: boolean

    Whether downloads are allowed. Default: true

    AllowedContentTypes?: string[]

    Allowed MIME types or file extensions (e.g. ['image/*', 'application/pdf'])

    AllowEditMetadata?: boolean

    Whether editing file metadata (name, description, category) is allowed. Default: true

    AllowPreview?: boolean

    Whether in-app preview is allowed. Default: true

    AllowReplace?: boolean

    Whether replacing attachments with new file is allowed. Default: true

    AllowUnlink?: boolean

    Whether unlinking from record is allowed. Default: true

    AllowUpload?: boolean

    Whether uploads are allowed. Default: true (subject to entity/user permissions)

    DefaultCategoryID?: string

    Default File Category ID for uploads

    DefaultStorageAccountID?: string

    Default Storage Account ID for uploads

    MaxFileSizeBytes?: number

    Maximum file size in bytes