Add Remote Site Settings for Analytics Patient Lists

Enable remote site settings so that care coordinators can send patient lists from the Analytics for Health Cloud dashboard to the Health Cloud console.

Available in: Lightning Experience

Available in: Enterprise and Unlimited Editions with Health Cloud


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.

When the list generated in the dashboard contains more than 500 entries, it’s processed by a queueable job. As a best practice, set up two remote site settings entries for your org—one for the Visualforce page and one for the queueable job.

  1. From Setup, in the Quick Find box, enter Remote Site Settings, and then select Remote Site Settings.
  2. Click New Remote Site.
  3. Enter a name for Remote Site Name.
    This field represents the Remote Site Setting API name. Make sure the Remote Site Name doesn’t include spaces or two consecutive underscores, and doesn’t end with an underscore.
  4. Enter the URL for the remote site. The URL’s format differs depending on whether you use a Visualforce page for the list or send the records to a queueable job.
    You can find the remote URL for the Visualforce page by viewing its preview in your org and copying the domain name from that URL.
    1. From Setup, enter Visualforce Pages in the Quick Find box and select Visualforce Pages.
    2. Navigate to the HcWaveListIntegrationPage, click the name of the page, and select Preview.
    3. Copy the page URL from your browser and use it as the value for this field.
      For example, if the URL is: https://MyDomainName--healthcloudga.vf.force.com/apex/HcWaveListIntegrationPage. Enter https://MyDomainName--healthcloudga.vf.force.com as the value for Remote Site URL.
    To use a queueable job to process lists with over 500 entries, copy the URL from the Setup page.
    1. Go to Setup in your org.
    2. Copy the page URL from your browser and use it as the value for this field.
      For example, the URL is: https://MyDomainName.my.salesforce.com/setup/. Enter https://MyDomainName.my.salesforce.com as the value for Remote Site URL.
  5. To allow access to the remote site regardless of whether the user’s connection is over HTTP or HTTPS, select the Disable Protocol Security checkbox. When selected, Salesforce can pass data from an HTTPS session to an HTTP session, and from HTTP to HTTPS. Only select this checkbox if you understand the security implications.
  6. Optionally, enter a description of the site.
  7. Make the setting active.
  8. Click Save.