You need to sign in to do that
Don't have an account?
Getting Site URL dynamically using Apex
I have developing apex class that will send an email with site URL, it's hard coded it's working our org, when I deploy the apex class in another org, It's sending the same URL as it's hard coded.
I need to send the URL dynamically depends on where it's installed.
I need to send the URL dynamically depends on where it's installed.
when u move it different organization change the custom label according to the oragnization url