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

Available in: Salesforce Classic

Available for purchase in: Enterprise, Performance, and Unlimited Editions

Available (with limitations) in: Developer Edition

Note
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.