Not sure if this is helpful to anyone else, but I ...
# suitescript
c
Not sure if this is helpful to anyone else, but I mapped the corresponding mimeTypes to the n/File module file types. Kind of a baffling decision on Netsuites part to not just use mimeType to being with.
Copy code
{
        'application/acad' : 'AUTOCAD',
        'image/bmp' : 'BMPIMAGE',
        'text/csv' : 'CSV',
        'application/vnd.ms-excel' : 'EXCEL',
        'application/x-shockwave-flash' : 'FLASH',
        'image/gif' : 'GIFIMAGE',
        'application/x-gzip-compressed' : 'GZIP',
        'text/html' : 'HTMLDOC',
        'image/ico' : 'ICON',
        'text/javascript' : 'JAVASCRIPT',
        'image/jpeg' : 'JPGIMAGE',
        'application/json' : 'JSON',
        'message/rfc822' : 'MESSAGERFC',
        'audio/mpeg' : 'MP3',
        'video/mpeg' : 'MPEGMOVIE',
        'application/vnd.ms-project' : 'MSPROJECT',
        'application/pdf' : 'PDF',
        'image/pjpeg' : 'PJPGIMAGE',
        'text/plain' : 'PLAINTEXT',
        'image/png' : 'PNGIMAGE',
        'image/x-png' : 'PNGIMAGE',
        'application/postscript' : 'POSTSCRIPT',
        'application/vnd.ms-powerpoint' : 'POWERPOINT',
        'video/quicktime' : 'QUICKTIME',
        'application/rtf' : 'RTF',
        'text/x-scss' : 'SCSS',
        'application/sms' : 'SMS',
        'text/css' : 'STYLESHEET',
        'image/svg+xml' : 'SVG',
        'application/x-tar' : 'TAR',
        'image/tiff' : 'TIFFIMAGE',
        'application/vnd.visio' : 'VISIO',
        'application/msword' : 'WORD',
        'text/xml' : 'XMLDOC',
        'application/zip' : 'ZIP'
        }
ablobmaracas 2
🎉 2
party furby 1