How to get path url of image from Static Resource in Apex class

String imageURL = URL.getSalesforceBaseUrl().toExternalForm() + PageReference.forResource('resourceName').getUrl();
System.debug('Here is image url:'+ imageURL );

Comments

Popular posts from this blog

How to use method "Future in Apex"

Privacy Policy