• Attachment of email body

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #54824  by jllort
 
Yes, the idea will be intercept the event on document creation ( because attachments are managed as regular documents in the OpenKM ). Check if the parent is a node of type Mail -> you should use the isValid method -> https://docs.openkm.com/kcenter/view/ok ... ml#isValid

In the NodeDocument ( or Document ) has a method to get the parent ( the UUID of the parent ) -> that's what you must evaluate.

I do not suggest moving the document, maybe it is better to copy it. It depends on what you wish to do ( keep the email or delete at the end )
 #54838  by jllort
 
Yes, code is always welcome and may help other users. You can share here.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.