Activity Forums Salesforce® Discussions How to use remote site settings in salesforce

  • Anurag

    Member
    September 18, 2018 at 1:13 pm

    Hi Anjali,

    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 remote site settings. Once the site is registered, it can be used within Salesforce.com.

    To register a new site, follow these steps:

    1.Navigate to Setup | Administer | Security Controls | Remote Site Settings.
    2.Click on the Remote Site Edit button to add a new site.

  • chanchal kumar

    Member
    September 18, 2018 at 1:14 pm

    Hi,

    When you access the external site you need to add that in the remotesite settings, this is one kind of security level that force.com platfom is going to check.

  • Avnish Yadav

    Member
    September 18, 2018 at 1:23 pm

    Hello,

    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 unauthorized network addresses.

    To add a remote site setting:

    From Setup, enter Remote Site Settings in the Quick Find box, then select Remote Site Settings.
    Click New Remote Site.
    Enter a descriptive term for the Remote Site Name.
    Enter the URL for the remote site.
    Optionally, enter a description of the site.
    Click Save.

    Thanks.

  • shariq

    Member
    September 18, 2018 at 3:28 pm

    Hi,

    Remote site settings. Salesforce allows you to access external website resources from a Salesforceapplication for your organization. You can access these external websites through Visualforce pages, Apex Callout, and via XmlHttpRequest calls.

    Thanks

  • Parul

    Member
    September 18, 2018 at 6:09 pm

    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 remote site settings. Once the site is registered, it can be used within Salesforce.com.

    To register a new site, follow these steps:

    Navigate to Setup | Administer | Security Controls | Remote Site Settings.
    Click on the Remote Site Edit button to add a new site.

     

    Thanks

Log In to reply.

Popular Salesforce Blogs