Login to follow
MIME_Detective

MIME_Detective (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 05 September 2024 by OutSystems Labs
MIME_Detective

MIME_Detective (ODC)

Details
Detailed Description

OutSystems external connector for MIME Detective tool (version 24.7.1).

It provides the capability to fully access the tool from OutSystems applications, both uploading files directly and accessing hosted files.


How Does it Work?

Mime-Detective is a signature-based detection library that looks for patterns within the raw content of a file. Based on the presence (or absence) of certain bytes, most files can be accurately predicted. For example, every JPG file starts with 0xFFD8 FFE0 0010 4A46 4946 0001 0101 0047.

Limitations

Binary file work best because they often have an identifiable signature. Some file types, such as .txt files, have no identifying mark and may not be well predicted. Because of this, you may need to choose a fallback type if Mime-Detective is not able to predict the file type.


External logic has a limit to file size. (When too big, need to use the hosted version instead)

Server actions exposed by external libraries don't support input larger than 5.5MB. If a large binary file is passed as input to a server action during an app's runtime, the end-user gets an error "Input payload is too large".

Source: https://success.outsystems.com/documentation/outsystems_developer_cloud/building_apps/extend_your_apps_with_external_logic_using_custom_code/external_libraries_sdk_readme/


Hosted files access is currently limited to Bearer token authorization.