---
schema_version: "1"
id: dc37d94b0b2550af6425200286179c4b32c16312b20363938f146595921d3b7e
title: CaseSubjectParticle
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_casesubjectparticle.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_casesubjectparticle.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 29c4f709b8f27c113e2d5e6a06fa4cfb574d92ed7bc09346c8a78e9f2dc7c357
description: Represents the Social Business Rules custom format for the Case Subject field on cases created from inbound social posts.
---
# CaseSubjectParticle

Represents the Social Business Rules custom format for the **Case Subject** field on cases created from inbound social posts.

## File Suffix and Directory Location

CaseSubjectParticle components have the suffix .CaseSubjectParticle and are stored in the CaseSubjectParticles folder.

## Version

CaseSubjectParticle is available in API version 41.0 and later.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d232154e80">Field Name</th>

              <th class="featureTableHeader  " id="d232154e83">Field Type</th>

              <th class="featureTableHeader  " id="d232154e86">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d232154e80" data-title="Field Name"><span class="keyword parmname">index</span></td>

              <td class="entry" headers="d232154e83" data-title="Field Type">int</td>

              <td class="entry" headers="d232154e86" data-title="Description">Required. The order in which the custom <strong class="ph uicontrol">Case
                  Subject</strong> is generated, meaning if the social network
                is 0 and the social message is 1, then the subject generates as
                <samp class="ph systemoutput">Twitter | Tweet</samp>.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d232154e80" data-title="Field Name"><span class="keyword parmname">textField</span></td>

              <td class="entry" headers="d232154e83" data-title="Field Type">string</td>

              <td class="entry" headers="d232154e86" data-title="Description">Specifies inbound social content added to <strong class="ph uicontrol">Case
                  Subject</strong> in case records.</td>

            </tr>

            <tr>
              <td class="entry" headers="d232154e80" data-title="Field Name"><span class="keyword parmname">type</span></td>

              <td class="entry" headers="d232154e83" data-title="Field Type">CaseSubjectParticleType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d232154e86" data-title="Description">Required. Specifies the custom <strong class="ph uicontrol">Case
                  Subject</strong> format from which inbound social content
                appears in case records. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">ProvidedString</samp></li>

                  <li class="li"><samp class="codeph nolang">Source</samp></li>

                  <li class="li"><samp class="codeph nolang">MessageType</samp></li>

                  <li class="li"><samp class="codeph nolang">SocialHandle</samp></li>

                  <li class="li"><samp class="codeph nolang">SocialNetwork</samp></li>

                  <li class="li"><samp class="codeph nolang">Sentiment</samp></li>

                  <li class="li"><samp class="codeph nolang">RealName</samp></li>

                  <li class="li"><samp class="codeph nolang">Content</samp></li>

                  <li class="li"><samp class="codeph nolang">PipeSeparator</samp></li>

                  <li class="li"><samp class="codeph nolang">ColonSeparator</samp></li>

                  <li class="li"><samp class="codeph nolang">HyphenSeparator</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

This is a sample of a .CaseSubjectParticle file.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns=http://soap.sforce.com/2006/04/metadata"">
    <types\>
        <members\>\*</members\> 
        <name\>CaseSubjectParticle</name\>
    </types\>
    <version\>41.0</version\>
</Package\>

## Wildcard Support in the Manifest File

This metadata type doesn’t support the wildcard character \* (asterisk) in the package.xml manifest file. For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).