AgentforceDisplayNameType
AgentforceDisplayNameType identifies the 46 user-visible strings that your app can replace in the Agentforce SDK UI. Map a slot to your own text in an overrides bag.
An omitted, empty, or whitespace-only value keeps the SDK’s localized default. Your replacement applies to every locale, so localize it in your app when needed.
| Slot | Default text | Where it appears | Experience |
|---|---|---|---|
serviceAgentChatTitle | Agentforce | Chat top-bar title | Service |
serviceAIAgentName | Agentforce | Agent display name | Service |
inputTextPlaceholder | How can I help? | Message field placeholder | Both |
actionMenuFileUpload | Upload a file | Attachment menu | Both |
actionMenuTakePhoto | Take a Photo | Attachment menu | Both |
actionMenuPhotoLibrary | View Photo Library | Attachment menu | Both |
launcherInputTextPlaceholder | How can I help? | Floating launcher prompt | Both |
endChatMenuButton | End Chat | More menu | Service |
endChatTitle | End Chat? | End-chat confirmation | Service |
endChatMessage | You can always resume the chat by sending a new message. | End-chat confirmation | Service |
endChatConfirmationButton | End Chat | End-chat confirmation | Service |
endChatCancelButton | Cancel | End-chat confirmation | Service |
downloadTranscriptButton | Download Transcript | More menu | Service |
moreMenuViewPrechatForm | View Pre Chat Form | More menu | Service |
moreMenuClearChat | Clear Chat | More menu | Employee |
routingWaitResolvedShort | You have been added to a queue. Wait time is <1 minute. | Queue-wait banner | Service |
preChatTitle | Pre Chat Form | Pre-chat form | Service |
preChatSubmitButton | Submit | Pre-chat form | Service |
formCancelTitle | Leave page? | Cancel-form confirmation | Service |
formCancelMessage | None of your changes will be saved if you leave the page. | Cancel-form confirmation | Service |
formCancelGoBackButton | Go Back | Cancel-form confirmation | Service |
formCancelConfirmButton | Leave | Cancel-form confirmation | Service |
formSubmittedText | Submitted successfully. | Post-submission confirmation | Service |
formSubmissionErrorMessage | Something went wrong. Try again. | Form submission error | Service |
formSubmissionDone | Done | Submitted-form view | Service |
actionCancel | Cancel | Generic cancel action | Both |
loadingMessage | I’m on my way… | Processing indicator | Both |
errorMessage | Something went wrong | Generic error | Both |
serviceAgentErrorMessage | Something went wrong. Try again. | Conversation-level error | Service |
alertActionRetry | Refresh | Retry action | Both |
clearHistoryTitle | Clear feed history? | Clear-history confirmation | Employee |
clearHistoryMessage | Clearing your feed removes your chat history, and starts a new session. You can’t access any of the information in your previous sessions after clearing your feed history. | Clear-history confirmation | Employee |
clearHistoryCancel | Cancel | Clear-history confirmation | Employee |
clearHistoryConfirm | Clear History | Clear-history confirmation | Employee |
feedbackModalTitle | Feedback | Feedback sheet | Both |
feedbackQuestion | Why wasn’t the message helpful? | Feedback sheet | Both |
feedbackToastSuccess | Thanks for your feedback | Feedback success toast | Both |
feedbackToastError | Your feedback can’t be sent right now. Please try again. | Feedback error toast | Both |
onboardingTitle | You’re about to use Agentforce | Onboarding screen | Both |
onboardingDescription | Agentforce is the next generation of Salesforce’s AI technology, supercharged with generative AI and a conversational interface. Use Agentforce to create time-saving automations, data insights, personalized text, and more. | Onboarding screen | Both |
onboardingButton | Got It | Onboarding action | Both |
showMore | Show More | Expand control | Both |
showLess | Show Less | Collapse control | Both |
fileSizeExceeded | Attach a file smaller than 5MB. | Upload-too-large toast | Both |
typingIndicatorText | %1$@ is typing | Typing indicator | Both |
routingWaitResolvedMinutes | You have been added to a queue. Wait time is approximately %1$@ | Queue-wait banner | Service |
The last two strings contain a runtime %@-style placeholder. Keep one %@ or %1$@ placeholder so the participant name or estimated wait appears. The SDK rejects unsafe or mismatched format specifiers and uses its default string.