Salesforce Remote Site Settings

Author - Webner
15.01.2021
|
0 Comments
||

An Apex callout enables you to tightly integrate your Apex with an external service by making a call to an external Web service or sending an HTTP request from Apex code and then receiving the response and When we want to make a callout from Salesforce then we need to add the address of the site to salesforce to allow the external callout. This address is added to the Remote Site settings.

Salesforce allows you to access external website resources from a Salesforce application for your organization. You can access these external websites through Visualforce pages, Apex Callout, and via XmlHttpRequest calls. To avoid accessing malicious websites from Salesforce.com, the website first needs to be registered with site settings. Once the site is registered, it can be used within Salesforce.com.

Steps to add an external site to salesforce to callout:

  1. Go to Setup.
  2. Search for Remote Site settings (or you can navigate to Administer → Security Controls → Remote Site Settings.)

    remote

  3. Click on the new remote site.

    remote1

  4. Add the Name.
  5. Add the website URL that you want to give access to.
  6. Click Save.
Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *