---
schema_version: "1"
id: 252b5e00966fb0d52f192329cbf1e1e3fef5e5d44078900d01bcc17d8be38fa6
title: Content List XML Format
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/siteforce_content_xml_format.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_format.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 23490b6725143c76f6c464aa2e3868e6160bdb20e130a542365bd1356c20e7f8
description: To import records into a content list in Site.com Studio, you must create an XML file that consists of these elements.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Content List XML Format

To import records into a content list in Site.com Studio, you must create an XML file that consists of these elements.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
      <colgroup>
        <col>
      </colgroup>
      <tbody>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic</td>

        </tr>
        <tr class="">
          <td class="slds-cell-wrap" style="vertical-align:top;">
            <p>Available for purchase in: <strong>Enterprise</strong>, <strong>Performance</strong>, and
              <strong>Unlimited</strong> Editions
            </p>
            <p style="margin-bottom:0;">Available (with limitations) in:
              <strong>Developer</strong> Edition
            </p>
          </td>

        </tr>
      </tbody>
    </table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/images/icon_note.png)

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.

`records`

This element defines of a collection of records for a single content list. A `<records>` element consists of one or more `<record>` elements.

`record`

This element represents a grouping of related fields that comprise a single record in a content list. A `<record>` element belongs to a `<records>` element, and consists of one or more `<field>` elements. You can have multiple `<record>` elements in a `<records>` element.

`field`

This element represents a single field in a record. You can have multiple `<field>` elements in a `<record>` element.

Attribute:

   
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| Name | String | Yes | The internal name of the field as defined in the content list. (Not the label.) The name must match the field name in the content list exactly. |

Value:

The field value must be placed between the opening and closing tags of the `<field>` element, and the format must match the field type as defined in the content list. For example, if your content list has a required number field called Employee ID, the XML file must contain a corresponding `Employee ID` entry with a number value, such as `<field name="Employee ID">5228</field>`. See [Content List Field Types](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_fields.htm&release=264.0.0&type=5 "These field types are available to you when you create or edit a content list. You can add any combination of fields to a content list.").

#### See Also

- [Sample Content List XML File](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_sample.htm&release=264.0.0&type=5 "This XML code makes up a sample XML file for importing records into a content list. In this case, the content list has two text fields called Title and Author, and a number field called Rank.")
- [Importing Records into Content Lists](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_xml_import.htm&release=264.0.0&type=5 "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.")
- [Content List Field Properties](https://help.salesforce.com/s/articleView?id=platform.siteforce_content_field_props.htm&release=264.0.0&type=5 "When adding or editing fields in a content list, use the options in the Properties pane to control how the selected field functions.")