CaseSubjectParticle

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

Parent Type 

This type extends Metadata and inherits its fields.

File Suffix and Directory Location 

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

Version 

Introduced in API version 41.0.

Fields 

index 

  • Type: int
  • Required: Yes
  • Description: Required. The order in which the custom Case Subject is generated, meaning if the social network is 0 and the social message is 1, then the subject generates as Twitter | Tweet.

textField 

  • Type: string
  • Required: No
  • Description: Specifies inbound social content added to Case Subject in case records.

type 

  • Type: CaseSubjectParticleType (enumeration of type string)
  • Required: Yes
  • Description: Required. Specifies the custom Case Subject format from which inbound social content appears in case records.
  • Possible values:
    • ProvidedString
    • Source
    • MessageType
    • SocialHandle
    • SocialNetwork
    • Sentiment
    • RealName
    • Content
    • PipeSeparator
    • ColonSeparator
    • HyphenSeparator

Declarative Metadata Sample Definition 

This is a sample of a .CaseSubjectParticle file.

1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns=http://soap.sforce.com/2006/04/metadata"">
3    <types>
4        <members>*</members> 
5        <name>CaseSubjectParticle</name>
6    </types>
7    <version>41.0</version>
8</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.