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

Format Data with Template Attributes

Learn how template attributes format values, related lists, and document layout in S-Docs. Start with the tutorial, jump to task guides, or use the reference for exact syntax.

Use this section when you need to control how S-Docs renders data in a template.

Template attributes format field values, related lists, and document layout at render time.

They help you control output without changing Salesforce data.

Use this section to start with the basics, jump to a specific task, or look up exact syntax.

Template attributes change document output only. They do not update Salesforce field values.

Start with the path that fits your goal

If you are new to template attributes, start with the tutorial.

If you already know the result you want, jump to the how-to guides.

If you need exact syntax, supported options, or deeper examples, use the reference page.

What you can do with template attributes

  • format currency, dates, datetime values, text, and checkbox output

  • replace raw field values with labels, substitutions, translations, or fallback text

  • control related list columns, row output, numbering, and custom table layouts

  • manage page breaks, rich text behavior, and fixed-width field splitting

  • support encrypted fields, banking formats, and right-to-left output

Browse by topic

Use Insert Data Tables when you need to control which rows a repeating table returns.

Use template attributes when the query already returns the right data and you only need to change how that data displays.

Last updated

Was this helpful?