For the complete documentation index, see llms.txt. This page is also available as Markdown.

How To: Convert Text to Uppercase or Lowercase

Force text into uppercase or lowercase for addresses, emails, and document styling.

Use text case attributes when stored Salesforce values do not match your output style.

Problem

You need to standardize text appearance regardless of how it is stored in Salesforce.

Solution

All Uppercase:

{{!Account.BillingStreet ToUpperCase="true"}}
{{!Account.BillingCity ToUpperCase="true"}}, {{!Account.BillingState ToUpperCase="true"}} {{!Account.BillingPostalCode}}

Result: 123 MAIN STREET, APT 3

All Lowercase:

{{!Contact.Email ToLowerCase="true"}}

Result: john.smith@example.com

Common Use Cases

Mailing Labels (Uppercase):

<p>
{{!Account.Name ToUpperCase="true"}}<br>
{{!Account.BillingStreet ToUpperCase="true"}}<br>
{{!Account.BillingCity ToUpperCase="true"}}, {{!Account.BillingState ToUpperCase="true"}} {{!Account.BillingPostalCode}}
</p>

Email Addresses (Lowercase):

Legal Documents (Uppercase for Emphasis):

Tips

  • Postal codes usually stay as-is.

  • Use uppercase for mailing addresses when automated sorting matters.

  • Use lowercase for email addresses for consistency.

Last updated

Was this helpful?