Activity Forums Salesforce® Discussions What is remote site setting in Salesforce ?

  • Shweta

    Member
    April 7, 2020 at 2:33 pm

    Remote Site Setting : It is baiscally used 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.
    And it is also used to avoid accessing malicious websites from Salesforce.com, the website first needs to be registered with remote site settings. Once the site is registered, it can be used within Salesforce.com.

  • Deepak

    Member
    April 7, 2020 at 2:46 pm
    • Before any Apex callout can call an external site, that site must be registered in the Remote Site Settings page, or the callout fails. Salesforce prevents calls to unauthorised network addresses.
    • To add a remote site settings:
    • From Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings.
    1. Click New Remote Site.
    2. Enter a descriptive term for the Remote Site Name.
    3. Enter the URL for the remote site.
    4. Optionally, enter a description of the site.
    5. Click Save.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos