function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Darshan YadavDarshan Yadav 

Ignore Call from one particular client

I am trying to achieve the followin example

https://salesforce.stackexchange.com/questions/308326/applying-irm-policies-for-salesforce-reports-before-exporting-using-apex

But when my IRM server try to download file using sObject APIs it again goes to downloadHandler of Apex and download is blocked. 

Is there a way to figureout the application which is calling download APIs so that i can bypass that from CustomDownloadHandler. 

Or do i need to implement my APIs such that it downloads files from a spacial user and i bypass download for that user. 

Thanks
AbhishekAbhishek (Salesforce Developers) 
Hi,

Try these blogs it might help you

https://salesforce.stackexchange.com/questions/20927/modifying-salesforce-reports-before-exporting-using-apex

https://developer.salesforce.com/forums/?id=906F000000094IEIAY


I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.


Thanks.