web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Blogs / Dynamics AX Tech Center / Scanning attachments for vi...

Scanning attachments for viruses and malicious code in D365 Finance & Operations

syed baber Profile Picture syed baber 11,625

With recent update of D365 Finance & Operations (10.0.12), Microsoft has made some extension points available for file scanning in D365. You can use those extensions points to call file scanning service of your choice.

The Docu class exposes the following two delegates:

Docu.delegateScanDocument()

Docu.delegateScanDeletedDocument()

You can implement the handlers for the above delegates for file scanning during download process in D365. You can view the boilerplate code for the two handlers at the below docs site:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/fin-ops/organization-administration/configure-document-management#scanning-attachments-for-viruses-and-malicious-code

For upload, similar delagates are available which can be viewed at the following docs site:

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/user-interface/file-upload-control

Enjoy!

Comments

*This post is locked for comments