Forum OpenACS Q&A: Re: Generic Log Package for a CRM

Collapse
Posted by Nima Mazloumi on
Ok, but what shall I do with binary content? I might need to save a scanned fax or a pdf or an email.
Collapse
Posted by Claudio Pasolini on
Defining your log table as an acs_object you get automatically the opportunity to attach any file to your log entry using the general-attachments package.

In simpler cases you could define two more columns in your table to store the content of the attachment (type oid) and its mime_type.