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

Privacy Policy

How to get Org Wide Email Address salesforce

How to create e.force:showToast whith link