You are here:
Manually Update Remote Site Settings for Flexcards
Manually grant access to your org domains to enable LWC features such as Preview. When spinning a new org or new installation, the Tooling API calls necessary for LWC may fail if the Remote Site Setting page in your org does not include the URLs required. The required URLs are your org's lightning.force.com URL and the vf.force.com URL of the Visualforce page that contains the Flexcard Designer.
See Remote Site Settings.
- In your org, open any Flexcard to view the Flexcard Designer, and click the Preview link in the submenu.
-
Right-click in the white space that contains your Flexcard content to view the
menu options in a popup. Select View Frame Source to open the
iframe in a new browser tab, and copy your
vf.force.comdomain from the address bar. For example, https://MyDomainName--c.vf.force.com.

- In your org, go to Setup > Security > Remote Site Settings.
-
Confirm that your org domains are not listed in the Remote Site
URL column.

- Click New Remote Site.
- Enter a Remote Site Name without spaces for the vf.force.com domain. For example, enter LWC_VF.
- Enter your copied vf.force.com URL in Remote Site URL. For example, enter https://MyDomainName--c.vf.force.com.
- Confirm that the Active checkbox is enabled.
- Click Save.
- Repeat steps 3 and 5.
- Enter a Remote Site Name without spaces for the lightning.force.com domain. For example, enter LWC_LF.
- Enter the lightning.force.com URL visible in the address browser bar on all pages in your org. For example, enter https://whitmanco.lightning.force.com.
- Repeat steps 8 and 9.

