Communications Diagram
Upon file upload, the SAM client will transmit a base64 encoded string over a secure SSL connection to the server. The server will generate a unique attachment ID and will store the data as a binary file on disk. SAM will then save the index information to the attachments table on the database server. This index includes meta information like the attachment upload time, attached by, the attachment ID, and the record to which the document is attached to.
Upon record retrieval, the server application will look up any related attachments and present them to the end user on the web client. SAM can be configured to use our cloud viewer application to open the document or can simply save the document directly on the client’s machine for use with a system viewer application.
The SAM Server and Database Server can either be hosted locally or on the cloud. The latter is hosted on our enterprise server at https://samenterprise.app:8443.