@servicenow/sdk - v4.7.0
    Preparing search index...

    Function SysAttachment

    • Creates an attachment (sys_attachment)

      Parameters

      • config: SysAttachmentConfig

        an object containing the following properties:

        • contentType - MIME type of the attachment
        • fileName - filename of the attachment
        • filePath - file path of the attachment
        • id - unique ID for the attachment
        • tableName - which table (by name) this attachment applies to
        • tableSysId - which table (by sys_id) this attachmenta applies to

      Returns SysAttachmentConfig