Log into iDempiere as the System Administrator role.
Create and save a Storage Provider record.
Name = /opt/idempiere-attachment/
Method = File System
URL is empty
Folder = /opt/idempiere-attachment/
username and password is empty
Log in as your respective client admins (GardenWorld Admin) and open the Client window => Client Info tab. Set the Attachment Store field and Archive Store field to the "/opt/idempiere-attachment/" option.
Restart your application server and test attaching records. You will now see folders and files appearing in your /opt/idempiere-attachment/ directory.
Please be aware that this option should be completed when you first install your client. If you have been using iDempiere for some time, performing the above process will orphan your existing attachments in your database. If you need help extracting existing attachments out of your database, you can contact Heng Sin Low via the iDempiere Google Groups mailing list for help. He has done this in the past.
Using External Document Management like Exo and Alfresco
There are a couple of ways you can use external document management with iDempiere:
You can use the above technique to store iDempiere attachments to a shared drive. This shared drive could be an Alfresco CIFs share. This strategy helps make sure keep your document backup strategy centralized; however, it does not allow you to see the files through Alfresco. You do not want the files view-able through Alfresco either, doing so would bypass iDempiere's security. Imaging if someone saw an attached payroll spreadsheet. That would be bad.
You can create an Alfresco folder naming convention where you have Alfresco folders that are the names of iDempiere windows and sub folders that are iDempiere document numbers. This way you can create a column SQL link field on any given document to allow your users to easily zoom to Alfresco's folder where attachments can be shared. This topic is discussed in greater length in the below video.
The below sections are Open Discussions that cover this topic.
2014-07-22 AM Open Discussion -
Activiti business process management (BPM) and Alfresco integration options for iDempiere
0:04:00 using Abbyy OCR to modify scanned PDFs to have a text overlay
0:07:00 Using ColumnSQL (virtual column) to create a url to search for a Vendor Invoice (from iDempiere in Alfresco)
0:13:00 Configuring iDempiere to use an external drive (Alfresco SIFs share - Alfresco file share) instead of database to store attachments
0:20:00 Rumman's question about costing between organization
0:22:30 Using inventory move (with issue) to move product between orgs at different cost
0:25:00 Write down problem and process
0:28:00 Introduce IPV to act as an accrual between the time of receiving and when you pay the tax authorities.
0:33:00 Rumman's question about inter-company dueto and duefrom matrix