

# Salesforce Online data source connector field mappings
<a name="salesforce-field-mappings"></a>

To improve retrieved results and customize the end user chat experience, Amazon Q Business enables you to map document attributes from your data sources to fields in your Amazon Q index.

Amazon Q offers two kinds of attributes to map to index fields:
+ **Reserved or default** – Reserved attributes are based on document attributes that commonly occur in most data. You can use reserved attributes to map commonly occurring document attributes in your data source to Amazon Q index fields.
+ **Custom** – You can create custom attributes to map document attributes that are unique to your data to Amazon Q index fields.

When you connect Amazon Q to a data source, Amazon Q automatically maps specific data source document attributes to fields within an Amazon Q index. If a document attribute in your data source doesn't have a attribute mapping already available, or if you want to map additional document attributes to index fields, use the custom field mappings to specify how a data source attribute maps to an Amazon Q index field. You create field mappings by editing your data source after your application and retriever are created.

To learn more about document attributes and how they work in Amazon Q, see [Document attributes and types in Amazon Q](https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/doc-attributes.html).

**Important**  
Filtering using document attributes in chat is only supported through the API.

The Amazon Q Salesforce connector supports the following entities and the associated reserved and custom attributes.

**Note**  
You can map any Salesforce field to the document title or document body Amazon Q reserved/default index fields.

**Topics**
+ [Account](#salesforce-field-mappings-account)
+ [Campaign](#salesforce-field-mappings-sc)
+ [Case](#salesforce-field-mappings-case)
+ [Contact](#salesforce-field-mappings-contact)
+ [Contract](#salesforce-field-mappings-contract)
+ [Document](#salesforce-field-mappings-document)
+ [Group](#salesforce-field-mappings-group)
+ [Idea](#salesforce-field-mappings-idea)
+ [Lead](#salesforce-field-mappings-lead)
+ [Opportunity](#salesforce-field-mappings-opportunity)
+ [Partner](#salesforce-field-mappings-partner)
+ [Pricebook](#salesforce-field-mappings-pricebook)
+ [Product](#salesforce-field-mappings-product)
+ [Solution](#salesforce-field-mappings-solution)
+ [Profile](#salesforce-field-mappings-profile)
+ [Task](#salesforce-field-mappings-task)
+ [User](#salesforce-field-mappings-user)
+ [Chatter](#salesforce-field-mappings-chatter)
+ [Knowledge articles](#salesforce-field-mappings-ka)
+ [Attachments](#salesforce-field-mappings-attachments)
+ [Custom object](#salesforce-field-mappings-co)

## Account
<a name="salesforce-field-mappings-account"></a>

Amazon Q supports crawling [Salesforce Online Accounts](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_account.htm) and offers the following account field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| authors | \$1authors | Default | String list | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| shippingCity | sf\$1shipping\$1city | Custom | String | 
| shippingCountry | sf\$1shipping\$1country | Custom | String | 
| shippingState | sf\$1shipping\$1state | Custom | String | 
| website | sf\$1website | Custom | String | 
| industry | sf\$1industry | Custom | String | 
| accountSource | sf\$1account\$1source | Custom | String | 
| billingCity | sf\$1billing\$1city | Custom | String | 
| billingCountry | sf\$1billing\$1country | Custom | String | 
| billingState | sf\$1billing\$1state | Custom | String | 
| createdBy | sf\$1created\$1by | Custom | String | 
| lastActivityDate | sf\$1last\$1activity\$1date | Custom | Date | 
| parentId | sf\$1parent\$1id | Custom | String | 
| typeValue | sf\$1type\$1value | Custom | String | 
| billingStreet | sf\$1billing\$1street | Custom | String | 
| billingPostalCode | sf\$1billing\$1postal\$1code | Custom | String | 
| billingLatitude | sf\$1billing\$1latitude | Custom | String | 
| billingLongitude | sf\$1billing\$1longitude | Custom | String | 
| billingGeocodeAccuracy | sf\$1billing\$1geocode\$1accuracy | Custom | String | 
| shippingStreet | sf\$1shipping\$1street | Custom | String | 
| shippingPostalCode | sf\$1shipping\$1postal\$1code | Custom | String | 
| phone | sf\$1phone | Custom | String | 
| fax | sf\$1fax | Custom | String | 
| annualRevenue | sf\$1annual\$1revenue | Custom | String | 
| numberOfEmployees | sf\$1number\$1of\$1employees | Custom | Long (numeric) | 
| jigsaw | sf\$1jigsaw | Custom | String | 

## Campaign
<a name="salesforce-field-mappings-sc"></a>

Amazon Q supports crawling [Salesforce Online Campaigns](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_campaign.htm) and offers the following campaign field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| isActive | sf\$1is\$1active | Custom | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| ownerName | \$1authors | Default | String list | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| createdBy | sf\$1created\$1by | Custom | String | 
| lastActivityDate | sf\$1last\$1activity\$1date | Custom | Date | 
| parentId | sf\$1parent\$1id | Custom | String | 
| campaignName | sf\$1campaign\$1name | Custom | String | 
| status | sf\$1status | Custom | String | 
| parentName | sf\$1parent\$1name | Custom | String | 
| campaignType | sf\$1type | Custom | String | 
| expectedRevenue | sf\$1expected\$1revenue | Custom | Long (numeric) | 
| budgetedCost | sf\$1budgeted\$1cost | Custom | Long (numeric) | 
| actualCost | sf\$1actual\$1cost | Custom | Long(numeric) | 
| expectedResponse | sf\$1expected\$1response | Custom | String | 
| numberSent | sf\$1number\$1sent | Default | Long numeric) | 
| numberOfLeads | sf\$1number\$1of\$1leads | Custom | Long (numeric) | 
| numberOfConvertedLeads | sf\$1number\$1of\$1convererted\$1leads | Custom | Long (numeric) | 
| numberOfContacts | sf\$1number\$1of\$1contacts | Custom | Long (numeric) | 
| numberOfResponses | sf\$1number\$1of\$1responses | Custom | Long (numeric) | 
| numberOfOpportunites | sf\$1number\$1of\$1opportunities | Custom | Long (numeric) | 
| numberOfWonOpportunities | sf\$1number\$1of\$1won\$1opportunitues | Custom | Long (numeric) | 
| amountAllOpportunities | sf\$1amount\$1all\$1opportunities | Custom | Long (numeric) | 
| amountWonOpportunities | sf\$1amount\$1won\$1opportunities | Custom | Long (numeric) | 

## Case
<a name="salesforce-field-mappings-case"></a>

Amazon Q supports crawling [Salesforce Online Cases](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm) and offers the following case field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| authors | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| ownerName | sf\$1owner\$1name | Custom | String | 
| createdBy | sf\$1created\$1by | Custom | String | 
| caseNumber | sf\$1case\$1number | Custom | String | 
| isClosed | sf\$1is\$1closed | Custom | String | 
| isEscalated | sf\$1is\$1escalated | Custom | String | 
| priority | sf\$1priority | Custom | String | 
| status | sf\$1status | Custom | String | 
| accountName | sf\$1account\$1name | Custom | String | 
| lastModifiedBy | af\$1last\$1modified\$1by | Custom | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| typeValue | sf\$1type | Custom | String | 
| reason | sf\$1reason | Custom | String | 
| contactId | sf\$1contact\$1id | Custom | String | 
| origin | sf\$1origin | Custom | String | 
| parentId | sf\$1parent\$1id | Custom | String | 
| contactName | sf\$1contact\$1name | Custom | String | 
| parentCaseNumber | sf\$1parent\$1case\$1number | Custom | String | 
| parentSubject | sf\$1parent\$1subject | Custom | String | 
| suppliedEmail | sf\$1supplied\$1email | Custom | String | 
| contactPhone | sf\$1contact\$1phone | Custom | String | 
| contactMobile | sf\$1contact\$1mobile | Custom | String | 
| contactEmail | sf\$1contact\$1email | Custom | String | 
| contactFax | sf\$1contact\$1fax | Custom | String | 
| comments | sf\$1comments | Custom | String | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | String | 

## Contact
<a name="salesforce-field-mappings-contact"></a>

Amazon Q supports crawling [Salesforce Online Contacts](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contact.htm) and offers the following contact field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| authors | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| lastActivityDate | sf\$1last\$1activity\$1date | Custom | Date | 
| createdBy | sf\$1created\$1by | Custom | String | 
| contactName | sf\$1contact\$1name | Custom | String | 
| phone | sf\$1phone | Custom | String | 
| email | sf\$1email | Custom | String | 
| department | sf\$1department | Custom | String | 
| lastname | sf\$1lastname | Custom | String | 
| title | sf\$1title | Custom | String | 
| reportsTo | sf\$1reports\$1to | Custom | String | 
| account | sf\$1account | Custom | String | 
| otherStreet | sf\$1other\$1street | Custom | String | 
| otherCity | sf\$1other\$1city | Custom | String | 
| otherState | sf\$1other\$1state | Custom | String | 
| otherPostalCode | sf\$1other\$1postal\$1code | Custom | String | 
| otherCountry | sf\$1other\$1country | Custom | String | 
| otherLatitude | sf\$1other\$1latitude | Custom | String | 
| otherLongitude | sf\$1other\$1longitude | Custom | String | 
| otherGeocodeAccuracy | sf\$1other\$1geocode\$1accuracy | Custom | String | 
| mailingStreet | sf\$1mailing\$1street | Custom | String | 
| mailingCity | sf\$1mailing\$1city | Custom | String | 
| mailingState | sf\$1mailing\$1state | Custom | String | 
| mailingPostalCode | sf\$1mailing\$1postal\$1code | Custom | String | 
| mailingCountry | sf\$1mailing\$1country | Custom | String | 
| mailingLatitude | sf\$1mailing\$1latitude | Custom | String | 
| mailingLongitude | sf\$1mailing\$1longitude | Custom | String | 
| mailingGeocodeAccuracy | sf\$1mailing\$1geocode\$1accuracy | Custom | String | 
| fax | sf\$1fax | Custom | String | 
| mobilePhone | sf\$1mobile\$1phone | Custom | String | 
| homePhone | sf\$1home\$1phone | Custom | String | 
| otherPhone | sf\$1other\$1phone | Custom | String | 
| assistantPhone | sf\$1assistant\$1phone | Custom | String | 
| assistantName | sf\$1assistant\$1name | Custom | String | 
| leadSource | sf\$1lead\$1source | Custom | String | 
| birthDate | sf\$1birthdate | Custom | Date | 
| jigsaw | sf\$1jigsaw | Custom | String | 

## Contract
<a name="salesforce-field-mappings-contract"></a>

Amazon Q supports crawling [Salesforce Online Contracts](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contract.htm) and offers the following contract field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| authors | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| authors | \$1authors | Default | String list | 
| accountId | \$1sf\$1accoung\$1id | Custom | String | 
| ownerExpirationNotice | sf\$1owner\$1expiration\$1notice | Custom | String | 
| billingStreet | sf\$1billing\$1street | Custom | String | 
| billingCity | sf\$1billing\$1city | Custom | String | 
| billingState | sf\$1billing\$1state | Custom | String | 
| billingPostalCode | sf\$1billing\$1postal\$1code | Custom | String | 
| billingCountry | sf\$1billing\$1country | Custom | String | 
| contractTerm | sf\$1contract\$1term | Custom | String | 
| ownerId | sf\$1owner\$1id | Custom | String | 
| status | sf\$1status | Custom | String | 
| customerSignedTitle | sf\$1customer\$1signed\$1title | Custom | String | 
| specialTerms | sf\$1special\$1terms | Custom | String | 
| statusCode | sf\$1status\$1code | Custom | String | 
| contractNumber | sf\$1contract\$1number | Custom | String | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | Date | 
| lastReferenceDate | sf\$1last\$1reference\$1date | Custom | Date | 
| billingAddressCity | sf\$1billing\$1address\$1city | Custom | String | 
| billingAddressCountry | sf\$1billing\$1address\$1country | Custom | String | 
| billingAddressPostalCode | sf\$1billing\$1address\$1postal\$1code | Custom | String | 
| billingAddressState | sf\$1billing\$1address\$1state | Custom | String | 
| billingAddressStreet | sf\$1billing\$1address\$1street | Custom | String | 
| pricebookDescription | sf\$1pricebook\$1description | Custom | String | 
| pricebookId | sf\$1pricebook\$1id | Custom | String | 
| billingLatitude | sf\$1billing\$1latitude | Custom | String | 
| billingLongitude | sf\$1billing\$1longitude | Custom | String | 
| billingGeocodeAccuracy | sf\$1billing\$1geocode\$1accuracy | Custom | String | 
| companySignedId | sf\$1company\$1signed\$1id | Custom | String | 
| companySignedDate | sf\$1company\$1signed\$1date | Custom | Date | 
| customerSignedId | sf\$1customer\$1signed\$1id | Custom | String | 
| activatedById | sf\$1activated\$1by\$1id | Custom | String | 
| activatedDate | sf\$1activated\$1date | Custom | Date | 
| lastApprovedDate | sf\$1last\$1approved\$1date | Custom | Date | 
| lastActivityDate | sf\$1last\$1activity\$1date | Custom | Date | 
| accountName | sf\$1account\$1name | Custom | String | 
| startDate | sf\$1start\$1date | Custom | Date | 
| endDate | sf\$1end\$1date | Custom | Date | 
| createdBy | sf\$1created\$1by | Custom | String | 

## Document
<a name="salesforce-field-mappings-document"></a>

Amazon Q supports crawling [Salesforce Online Documents](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_document.htm) and offers the following document field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| author | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| folder | sf\$1folder\$1name | Custom | String | 
| isInternalUseOnly | sf\$1is\$1internal\$1use\$1only | Custom | String | 
| isPublic | sf\$1is\$1public | Custom | String | 
| keywords | sf\$1keywords | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| fileName | sf\$1file\$1name | Custom | String | 
| fileType | \$1file\$1type | Default | String | 
| fileSize | sf\$1file\$1size | Custom | Long (numeric) | 
| createdBy | sf\$1created\$1by | Custom | String | 
| isBodySearchable | sf\$1is\$1body\$1searchable | Custom | String | 

## Group
<a name="salesforce-field-mappings-group"></a>

Amazon Q supports crawling [Salesforce Online Groups](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_group.htm) and offers the following group field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| groupEmail | sf\$1group\$1email | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| lastModifiedDate | \$1last\$1modified\$1at | Default | Date | 
| ownerId | sf\$1owner\$1id | Custom | String | 
| groupName | sf\$1group\$1name | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| lastFeedModifiedDate | sf\$1last\$1feed\$1modified\$1date | Custom | Date | 
| hasPrivateFieldsAccess | sf\$1has\$1private\$1fields\$1access | Custom | String | 
| canHaveGuests | sf\$1can\$1have\$1guests | Custom | String | 
| isArchived | sf\$1is\$1archived | Custom | String | 
| isAutoArchived | sf\$1is\$1auto\$1archive\$1disabled | Custom | String | 
| memberCount | sf\$1member\$1count | Custom | String | 
| collaborationType | sf\$1collabotration\$1type | Custom | String | 
| informationTitle | sf\$1information\$1title | Custom | String | 

## Idea
<a name="salesforce-field-mappings-idea"></a>

Amazon Q supports crawling [Salesforce Online Ideas](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_idea.htm) and offers the following idea field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| title | sf\$1title | Custom | String | 
| status | sf\$1status | Custom | String | 
| createdByName | sf\$1created\$1by | Custom | String | 
| parentIdea | sf\$1parent\$1idea\$1id | Custom | String | 
| parentIdeaId | sf\$1parent\$1idea\$1id | Custom | String | 
| lastModifiedDate | \$1last\$1modified\$1at | Default | Date | 
| recordTypeId | sf\$1record\$1type\$1id | Custom | String | 
| communityId | sf\$1community\$1id | Custom | String | 
| numComments | sf\$1number\$1of\$1comments | Custom | Long (numeric) | 
| voteScore | sf\$1vote\$1score | Custom | Long (numeric) | 
| voteTotal | sf\$1vote\$1total | Custom | Long (numeric) | 
| lastCommentDate | sf\$1last\$1comment\$1date | Custom | Date | 

## Lead
<a name="salesforce-field-mappings-lead"></a>

Amazon Q supports crawling [Salesforce Online Leads](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_lead.htm) and offers the following lead field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| city | sf\$1city | Custom | String | 
| company | sf\$1company | Custom | String | 
| country | sf\$1country | Custom | String | 
| createdAt | \$1created\$1at | Default | Date | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| leadSource | sf\$1lead\$1source | Custom | String | 
| state | sf\$1state | Custom | String | 
| status | sf\$1status | Custom | String | 
| convertedAccount | sf\$1converted\$1account | Custom | String | 
| convertedAccountId | sf\$1converted\$1account\$1id | Custom | String | 
| convertedContact | sf\$1converted\$1contact | Custom | String | 
| convertedContactId | sf\$1converted\$1contact\$1id | Custom | String | 
| convertedDate | sf\$1converted\$1date | Custom | Date | 
| convertedOpportunity | sf\$1converted\$1opportunity | Custom | String | 
| convertedOpportunityId | sf\$1converted\$1opportunity\$1id | Custom | String | 
| firstName | sf\$1first\$1name | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| isConverted | sf\$1is\$1converted | Custom | String | 
| owner | sf\$1owner\$1name | Custom | String | 
| lastActivityDate | sf\$1last\$1activity\$1date | Custom | Date | 
| ownerId | sf\$1owner\$1id | Custom | String | 
| lastName | sf\$1last\$1name | Custom | String | 
| title | sf\$1title | Custom | String | 
| street | sf\$1street | Custom | String | 
| postalCode | sf\$1postal\$1code | Custom | String | 
| latitude | sf\$1latitude | Custom | String | 
| longitude | sf\$1longitude | Custom | String | 
| geocodeAccuracy | sf\$1geocode\$1accuracy | Custom | String | 
| phone | sf\$1phone | Custom | String | 
| email | sf\$1email | Custom | String | 
| industry | sf\$1industry | Custom | String | 
| rating | sf\$1rating | Custom | String | 
| annualRevenue | sf\$1annual\$1revenue | Custom | String | 
| numberofEmployees | sf\$1number\$1of\$1employees | Custom | Long (numeric) | 
| jigsaw | sf\$1jigsaw | Custom | String | 
| jigsawContactId | sf\$1jigsaw\$1contact\$1id | Custom | String | 
| emailBouncedReason | sf\$1email\$1bounced\$1reason | Custom | String | 
| individualId | sf\$1individual\$1id | Custom | String | 

## Opportunity
<a name="salesforce-field-mappings-opportunity"></a>

Amazon Q supports crawling [Salesforce Online Opportunities](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm) and offers the following opportunity field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| accountName | sf\$1account\$1name | Custom | String | 
| amount | sf\$1amount | Custom | String | 
| campaign | sf\$1campaign\$1name | Custom | String | 
| createdAt | \$1created\$1at | Default | Date | 
| createdBy | sf\$1created\$1by | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| lastModifiedDate | \$1last\$1updated\$1at | Default | Date | 
| fiscalQuarter | sf\$1fiscal\$1quarter | Custom | String | 
| fiscalYear | sf\$1fiscal\$1year | Custom | String | 
| isClosed | sf\$1is\$1closed | Custom | String | 
| isWon | sf\$1is\$1won | Custom | String | 
| leadSource | sf\$1lead\$1source | Custom | String | 
| opportunityName | sf\$1opportunity\$1name | Custom | String | 
| accountId | sf\$1account\$1id | Custom | String | 
| campaignId | sf\$1campaign\$1id | Custom | String | 
| closeDate | sf\$1close\$1date | Custom | Date | 
| typeValue | sf\$1type\$1value | Custom | String | 
| lastActivityDate | sf\$1last\$1activity\$1date | Date | String | 
| ownerName | sf\$1owner\$1name | Custom | String | 
| ownerId | sf\$1owner\$1id | Custom | String | 
| stageName | sf\$1stage\$1name | Custom | String | 
| probability | sf\$1probability | Custom | Long (numeric) | 
| nextStep | sf\$1next\$1step | Custom | String | 
| forestCategory | sf\$1forecast\$1category | Custom | String | 
| forestCategoryName | sf\$1forest\$1category\$1name | Custom | String | 
| hasOpportunityLineItem | sf\$1has\$1opportunity\$1line\$1item | Custom | String | 
| pricebook2id | sf\$1pricebook2\$1id | Custom | String | 
| pushCount | sf\$1push\$1count | Custom | String | 
| fiscal | sf\$1fiscal | Custom | String | 
| contactId | sf\$1contact\$1id | Custom | String | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | Date | 
| hasOpenActivity | sf\$1has\$1open\$1activity | Custom | Long (numeric) | 
| hasOverdueTask | sf\$1has\$1overdue\$1task | Custom | String | 

## Partner
<a name="salesforce-field-mappings-partner"></a>

Amazon Q supports crawling [Salesforce Online Partner](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_partner.htm) and offers the following partner field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| createdBy | \$1authors | Default | String list | 
| opportunityId | sf\$1opportunity\$1id | Custom | String | 
| accountFromId | sf\$1account\$1from\$1id | Custom | String | 
| accountToId | sf\$1role | Custom | String | 
| role | sf\$1role | Custom | String | 
| isPrimary | sf\$1is\$1primary | Custom | String | 
| systemModstamp | sf\$1system\$1modstamp | Custom | Date | 
| reversePartnerId | sf\$1reverse\$1partner\$1id | Custom | String | 
| opportunity | sf\$1opportunity | Custom | String | 
| accountFrom | sf\$1account\$1from | Custom | String | 
| accountTo | sf\$1account\$1to | Custom | String | 

## Pricebook
<a name="salesforce-field-mappings-pricebook"></a>

Amazon Q supports crawling [Salesforce Online Pricebooks](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_pricebook2.htm) and offers the following pricebook field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| isActive | sf\$1is\$1active | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Default | String | 
| lastModifiedDate | \$1last\$1updated\$1at | Default | Date | 
| pricebookName | sf\$1pricebook\$1name | Custom | String | 
| createdAt | \$1created\$1at | Default | Date | 
| createdBy | \$1authors | Default | String list | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | Date | 
| isStandard | sf\$1is\$1standard | Custom | String | 

## Product
<a name="salesforce-field-mappings-product"></a>

Amazon Q supports crawling [Salesforce Online Product](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_product2.htm) and offers the following product field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| family | sf\$1family | Custom | String | 
| isActive | sf\$1is\$1active | Custom | String | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| productCode | sf\$1product\$1code | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| productName | sf\$1product\$1name | Custom | String | 
| externalDataSourceId | sf\$1external\$1datasource\$1id | Custom | String | 
| externalId | sf\$1external\$1id | Custom | String | 
| displayUrl | sf\$1display\$1url | Custom | String | 
| quantityUnitOfMeasure | sf\$1quantity\$1unit\$1of\$1measure | Custom | String | 
| isArchived | sf\$1is\$1archived | Custom | String | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | Date | 
| stockKeepingUnit | sf\$1stock\$1keeping\$1unit | Custom | String | 

## Solution
<a name="salesforce-field-mappings-solution"></a>

Amazon Q supports crawling [Salesforce Online Solutions](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_solution.htm) and offers the following solution field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| isPublished | sf\$1is\$1published | Custom | String | 
| isReviewed | sf\$1is\$1reviewed | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| lastModifiedDate | \$1last\$1updated\$1at | Default | Date | 
| ownerName | sf\$1owner\$1name | Custom | String | 
| solutionNumber | sf\$1solution\$1number | Custom | String | 
| status | sf\$1status | Custom | String | 
| timesUsed | sf\$1times\$1used | Custom | String | 
| solutionName | sf\$1solution\$1name | Custom | String | 
| createdByName | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| solutionNote | sf\$1solution\$1note | Custom | String | 
| ownderId | sf\$1ownderId | Custom | String | 
| lastViewedDate | sf\$1last\$1viewed\$1date | Custom | Date | 

## Profile
<a name="salesforce-field-mappings-profile"></a>

Amazon Q supports crawling [Salesforce Online Profiles](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_profile.htm) and offers the following profile field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| userType | sf\$1user\$1type | Custom | String | 

## Task
<a name="salesforce-field-mappings-task"></a>

Amazon Q supports crawling [Salesforce Online Tasks](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_task.htm) and offers the following task field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| accountName | sf\$1account\$1name | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| lastModifiedDate | \$1last\$1updated\$1at | Default | Date | 
| ownerName | sf\$1owner\$1name | Custom | String | 
| isRecurrence | sf\$1is\$1recurrence | Custom | String | 
| isClosed | sf\$1is\$1closed | Custom | String | 
| isArchived | sf\$1is\$1archived | Custom | String | 
| priority | sf\$1priority | Custom | String | 
| status | sf\$1status | Custom | String | 
| whatId | sf\$1what\$1id | Custom | String | 
| createdByName | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| subject | sf\$1subject | Custom | String | 
| activityDate | sf\$1activity\$1date | Custom | Date | 
| activityDate | sf\$1activity\$1date | Custom | Date | 
| isHighPriority | sf\$1is\$1high\$1priority | Custom | String | 
| ownerId | sf\$1owner\$1id | Custom | String | 
| callType | sf\$1call\$1type | Custom | String | 

## User
<a name="salesforce-field-mappings-user"></a>

Amazon Q supports crawling [Salesforce Online Users](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_user.htm) and offers the following user field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| account | sf\$1account | Custom | String | 
| isActive | sf\$1is\$1active | Custom | String | 
| city | sf\$1city | Custom | String | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| companyName | sf\$1company\$1name | Custom | String | 
| country | sf\$1country | Custom | String | 
| department | sf\$1department | Custom | String | 
| division | sf\$1division | Custom | String | 
| email | sf\$1email | Custom | String | 
| employeeNumber | sf\$1employee\$1number | Custom | String | 
| firstName | sf\$1first\$1name | Custom | String | 
| lastName | sf\$1last\$1name | Custom | String | 
| manager | sf\$1manager | Custom | String | 
| state | sf\$1state | Custom | String | 
| userRole | sf\$1user\$1role | Custom | String | 
| username | sf\$1username | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| createdAt | \$1created\$1at | Default | Date | 
| street | sf\$1street | Custom | String | 
| postalCode | sf\$1postal\$1code | Custom | String | 
| latitude | sf\$1latitiude | Custom | String | 
| longitude | sf\$1longitude | Custom | String | 
| geocodeAccuracy | sf\$1geocode\$1accuracy | Custom | String | 
| phone | sf\$1phone | Custom | String | 
| fax | sf\$1fax | Custom | String | 
| mobilePhone | sf\$1mobile\$1phone | Custom | String | 
| profileName | sf\$1profile\$1name | Custom | String | 
| aboutMe | sf\$1about\$1me | Custom | String | 
| languageLocaleKey | sf\$1language\$1locale\$1key | Custom | String | 

## Chatter
<a name="salesforce-field-mappings-chatter"></a>

Amazon Q supports crawling [Salesforce Online Chatters](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_chatteractivity.htm) and offers the following chatter field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| body | sf\$1body | Custom | String | 
| createdAt | \$1created\$1at | Default | Date | 
| lastEditById | sf\$1last\$1edit\$1by\$1id | Custom | String | 
| lastEditDate | sf\$1last\$1edit\$1date | Custom | Date | 
| lastModifiedDate | \$1last\$1updated\$1at | Default | Date | 
| insertedById | sf\$1inserted\$1by\$1id | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| parentId | sf\$1parent\$1id | Custom | String | 
| revision | sf\$1revision | Custom | String | 
| status | sf\$1status | Custom | String | 
| isRichText | sf\$1is\$1rich\$1texrt | Custom | String | 

## Knowledge articles
<a name="salesforce-field-mappings-ka"></a>

Amazon Q supports crawling [Salesforce Online Knowledge articles](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_knowledgearticle.htm) and offers the following knowledge article field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| articleTitle | sf\$1title | Custom | String | 
| articleNumber | sf\$1article\$1number | Default | Date | 
| knowledgeArticleId | sf\$1knowledge\$1article\$1id | Custom | String | 
| lastPublishedDate | sf\$1last\$1published\$1date | Custom | Date | 
| publishStatus | sf\$1publish\$1status | Custom | String | 
| versionNumber | sf\$1version\$1number | Custom | String | 
| language | sf\$1language | Custom | String | 
| ownerId | sf\$1ownder\$1id | Custom | String | 
| summary | sf\$1summary | Custom | String | 
| firstPublishedDate | sf\$1first\$1published\$1date | Custom | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| archivedDate | sf\$1archived\$1date | Custom | Date | 
| isLatestVersion | sf\$1is\$1latest\$1version | Custom | String | 
| sourceId | sf\$1sourceId | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| assignmentDate | sf\$1assignment\$1date | Custom | Long (numeric) | 
| assignmentDueDate | sf\$1assignment\$1due\$1date | Custom | Date | 
| articleCaseAttachCount | sf\$1article\$1case\$1attach\$1count | Custom | Long (numeric) | 
| articleTotalViewCount | sf\$1article\$1total\$1view\$1count | Custom | Long (numeric) | 
| urlName | sf\$1url\$1name | Custom | String | 
| assignmentNote | sf\$1assignment\$1date | Custom | String | 
| migratedToFromArticleVersion | sf\$1migrated\$1article\$1version | Custom | String | 
| assignedBy | sf\$1assigned\$1by | Custom | String | 
| assignedTo | sf\$1assigned\$1to | Custom | Date | 

## Attachments
<a name="salesforce-field-mappings-attachments"></a>

Amazon Q supports crawling [Salesforce Online Attachments](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_attachment.htm) and offers the following attachment field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| fileName | sf\$1file\$1name | Custom | String | 
| fileType | \$1file\$1type | Default | String | 
| fileSize | sf\$1file\$1size | Custom | Long (numeric) | 
| parentName | sf\$1parent\$1name | Default | String | 
| createdBy | \$1authors | Default | String list | 

## Custom object
<a name="salesforce-field-mappings-co"></a>

Amazon Q supports crawling custom objects and offers the following custom object field mappings.


| Salesforce field name | Index field name | Description | Data type | 
| --- | --- | --- | --- | 
| category | \$1category | Default | String | 
| sourceUrl | \$1source\$1uri | Default | String | 
| createdAt | \$1created\$1at | Default | Date | 
| updatedAt | \$1last\$1updated\$1at | Default | Date | 
| lastModifiedById | sf\$1last\$1modified\$1by\$1id | Custom | String | 
| customObjectName | sf\$1custom\$1object\$1name | Custom | String | 
| createdBy | \$1authors | Default | String list | 
| lastModifiedBy | sf\$1last\$1modified\$1by | Custom | String | 
| documentbody | \$1document\$1body | Custom | String | 