I have a webservice class that will be in a managed package and distributed to multiple clients. The class has a variable with the hard-coded value of the server it clicks on.
Problem: the server will be different for each client, so a hard-coded value will not work.
I realized that each client would have to add its server to its remote site settings, the easiest way would be to capture the correct URL from their settings. Is it possible? Or is there another βrightβ way to do this? Thanks
source
share