---
schema_version: "1"
id: bdfecacf5aa86b67ba6d364a1544b1bd0b7a95ae93ba86b1e2b340a5f0624542
title: PersonalizationSchema
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_PersonalizationSchema.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_PersonalizationSchema.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1353ca4414fb3ca3c54ca8aa8c2bcf9d803c535da438ca4477bd8d079e8f0334
description: Represents a personalization response template that’s used when you build a personalization decision. Available in API version 62.0 and later.
---
# PersonalizationSchema

Represents a personalization response template that’s used when you build a personalization decision. Available in API version 62.0 and later.

## Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Fields

| Field | Details |
| --- | --- |
| CurrencyIsoCode | 
Type

picklist

Properties

Defaulted on create, Filter, Group, Restricted picklist, Sort

Description

Three letter ISO currency codes for supported currencies. The default value is USD. This is an optional field.



 |
| DataSpaceId | 

Type

reference

Properties

Filter, Group, Sort

Description

Unique identifier that refers to the data space where a response template's resources originate. This is a required field.

Relationship Name

DataSpace

Refers To

DataSpace



 |
| Description | 

Type

String

Properties

Filter, Group, Nillable, Sort

Description

Text description of the response template. This is an optional field.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

System or user-generated API name for the personalization response template. This is a required field.



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Timestamp that indicates the last time the personalized response template was referenced by another resource.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

Timestamp that indicates the last time a user viewed the response template.



 |
| Name | 

Type

string

Properties

Filter, Group, idLookup, Sort

Description

The text label that identifies the personalization response template.



 |
| PersonalizationType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the kind of personalization content to present. The default value is Recommendations, and the accepted values are ManualContent and Recommendations.



 |

## Usage

A response template outlines the attributes that ‌marketers use to configure the personalization response. It defines an expected format and shape for all decision response data.

- For a recommendation-focused personalization, the response template can include an optional placeholder attribute to include header text before a set of recommendations.
- For a ‌manual content personalization, the response template can include placeholders for background images, links, call-to-action text, and so on.

## Associated Objects

This object has these associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[PersonalizationSchemaChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm)

Change events are available for the object.

[PersonalizationSchemaFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm)

Feed tracking is available for the object.

[PersonalizationSchemaHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm)

History is available for tracked fields of the object.

[PersonalizationSchemaOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_accountownersharingrule.htm)

Sharing rules are available for the object.

[PersonalizationSchemaShare](https://developer.salesforce.com/docs/atlas.en-us.264.0.object_reference.meta/object_reference/sforce_api_objects_accountshare.htm)

Sharing is available for the object.