Import records from existing press releases, articles, or blogs into your site’s content lists. For example, if you have a blog that’s hosted elsewhere, you can export the blog’s posts and then import the contents to use in your site.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
| User Permissions Needed | |
|---|---|
| To build, edit, and manage Site.com sites: |
Site.com Publisher User field enabled on the user detail page AND Site administrator or designer role assigned at the site level |
Note Content lists and categories are currently available through a
pilot program. For information on enabling content lists and categories for your organization,
contact Salesforce.
To import records into a content list, you must first create an XML file that conforms to the format described in Content List XML Format.
Note
- Ensure that the field names in the XML file correspond to the field names in
the content list, and that the field values correspond to the content list’s field types. For example, if your content list
has a required number field called Employee ID, the XML file must contain a
corresponding
Employee IDentry with a number value, such as<field name="Employee ID">5228</field>. - The maximum file size you can upload is 50 MB.
To import an XML file:
- On the Overview tab, open the content list that you want to import records into.
- Click Import Records.
- Browse to the XML file and click Open.
-
Click Import. A message is displayed to indicate whether
the import was successful. Common reasons for failure include mismatched field
types or special characters.
Tip Special characters such as<and&are illegal in XML elements. To ensure any text values don’t cause a parser error, you can wrap them inside a<![CDATA[Your text value]]>section. For example:<field name="Title"><![CDATA[Company News & Highlights]]></field>