Salesforce Word Add-in: Custom Labels

Business Background

With the Use Salesforce Custom Labels feature you can easily add custom labels from Titan Docs.

Titan Solution

  • Use Salesforce Custom Labels using Titan’s Salesforce Word add-in.
  • Add your custom label to a template to suit your individual needs and the requirements of your project in Salesforce.

How to Video

Video Coming Soon!

How to Guide

  1. Create a custom label in Salesforce. Click here for more information.
  2. If required, add translations to your custom label in Salesforce. Click here for more information.

Map the custom label in your Titan Word add-in template

  1. Make sure you are signed into the Form Titan Salesforce Word add-in.
  2. Use the Form Titan Word add-in and click on the Insert/Edit field option. The Insert Field screen opens.
  3. Select the object with the name Custom Labels from the drop-down list.
  4. Type a name for this GET in the comment field, for example, English.
  5. Select the field from the drop-down list. This is the custom label you created in Salesforce.
  6. Click on the Insert button. The custom label is added to the Word template.
word add-in configure

Translate your custom label

If required, you can translate the custom label. There are two options:

  • Select a static language: this is the language that will always be used for translations.
  • Select a dynamic language: you must configure a business rule.

Select a static language

  1. Refresh the Word document by clicking on the Refresh button.
  2. Click on the filter icon on the Preview tab. The Create/Edit Filter screen opens. 
  3. Click in the Enable translate checkbox.
  4. Select the language from the drop-down list; for example, Spanish.
  5. Click on the Save conditions button. 
word add-in custom labels

Select a dynamic language

  1. Create a hidden field in Word that contains the language to which you want to translate. Click here for more information on using hidden fields.
Note:

The language (to which the content must be translated) will be hosted dynamically in the hidden field.

  1. Select the hidden field from the drop-down list.
  2. Click on the Save button. The hidden field is added to the screen.
conditions word add-in
  1. Click in the Enable Translation checkbox.
  2. Select the language from the drop-down list.
  3. Click on the Save conditions button. 
  4. Refresh the Word document by clicking on the Refresh button.
  5. Click on the Preview button. The document takes a moment to render. 
enable translation word add-in

The fields in the Word document have the corresponding fields in the translated languages as set up.

Note:

If the Custom Label does not have a translation for the selected language, Titan will use the default language of that custom label.

Interested in Titan and Salesforce? Read about our Salesforce Forms and Dynamic Salesforce Forms via Titan.

Hidden Title

Need more help?