How to call apex class when a file is downloaded in Salesforce?
Use Sfc.ContentDownloadHandlerFactory interface to call apex class when a file is downloaded in Salesforce. Sample Code: Note: When a download is triggered either from the UI, Connect API, or an sObject call retrieving ContentVersion.VersionData, implementations of the Sfc.ContentDownloadHandlerFactory are looked up. If the above code is executed, then also the apex class will be called. … Continue reading How to call apex class when a file is downloaded in Salesforce?
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed