On 27/05/15 19:28, Vincent Petry wrote:
Hi,
I'd recommend not touching the "data" folder directly but doing the move
over WebDAV.
Just a follow up ~ I've managed to rework the PHP code. For the benefit
of others who might have a similar project:
Outline:
To have a Sharp printer/scanner on a MS Windows LAN upload documents to
specific records in a LAMP CRM.
Set Up:
- Install OwnCloud client on file server on LAN
- Install OwnCloud server on VM
- Configure Sharp Copier to scan to /$FolderType/$Record_id=xxx_Document
name.pdf
- $FolderType = The type of document (quotes, contracts,
resumes, etc)
- $Record_id = The record ID in the CRM
- A PHP script on the CRM
- Lists the files in /$FolderType/
- Parses the ID, downloads and attaches the document
- Moves the file from /$FolderType/ to /$FolderType. '_Imported'/
The PHP is embedded in our CRM but if someone wants some snippets please
ping me a message.
This project is possible because of the people behind OwnCloud - Thanks.
Cheers
Piers
_______________________________________________
User mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/user