Print this page

HTML Area Home Page Component is gone how to retrieve body of HTML to create Visualforce Area component

Knowledge Article Number 000220582

Salesforce enforces the ban on unsupported code in the HTML Area home page components. JavaScript, CSS, iframes, and other unsupported markup will be removed when you try to save a HTML Area home page component. A cleaned version is saved, and all unsupported content is lost.


Small Alert Icon Don’t edit and save the HTML Area if you have don’t have a backup of the content. If you do, the HTML content can’t be retrieved.

Retrieve HTML Area component via ANT

1. Create a new package.xml with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="">

2. Retrieve the HomePageComponents
3. Open the *.homePageComponent file in a text Editor
4. The body element will be HTML encoded. Use a HTML decoder tool to get the HTML content.

For example, here's an online HTML Encoder/Decoder tool.

promote demote