0

I want to get value of remote site url in salesforce (Ex: I want to get http://abc.com like image below). How can I use query SOQL in APEX to get it? enter image description here

1 Answer 1

0

You can use ToolingAPI to access the RemoteSiteSettings. In developer you can try to query like below.

select id, SiteName, EndpointUrl from RemoteProxy

In the above query EndpointUrl is field which you are looking for.

You need to check the "Use Tooling API" check box to true else you will not get result.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.