There are predefined and custom properties in Shared Email Templates. You can create custom properties for your profile, for your teams, and for your company or team account. User profile and company account properties can be used in any template, and it doesn't matter if that template is in a private folder or in a team. As for team properties, they can be used only in templates of the team they were created for.
Note. You can create no more than 32 properties per account, profile, or team.
Note. The UserName property is present only in accounts created by signing up with email.
These are the steps to follow to create a custom user profile property:
Tip. The HTML icon means that you can enter a piece of HTML code to format a property the way you want.
If you want to have a picture in the new property, select Picture, open the More menu, and bind the property to a picture you have on OneDrive or SharePoint by selecting the corresponding option.
Then select Save.
The created property will appear in the Custom properties section. To edit or delete the property, open the More menu, and then select the necessary option.
Note. To create custom team properties, you need to be an admin of your company or team account or have Editor permissions for your team.
Tip. The HTML icon means that you can enter a piece of HTML code to format a property the way you want.
If a picture is needed for the team property you're creating, select Picture, open the More menu, and then bind the property to a picture you have on OneDrive or SharePoint.
The new team property is in the Custom properties section now. To edit or delete the property, select the necessary option on the More menu.
Tip. The HTML icon means that you can enter a piece of HTML code to format a property the way you want.
If a picture is needed for the team property you're creating, select Picture, open the More menu, and then bind the property to a picture you have on OneDrive or SharePoint.
The new team property will appear in the Custom properties section. If you want to edit or delete the property, select the option you need on the More menu.
Note. To create custom company account properties, you need to be an admin of your company or team account.
Tip. The HTML icon means that you can enter a piece of HTML code to format a property the way you want.
If you want to have a picture in a company account property, select Picture, open the More menu, and then bind the property to a picture you have on OneDrive or SharePoint.
To finish creating the new property, click Save.
As soon as you save the new company account property, it will appear in the Custom properties section. You can edit or delete the property by selecting the necessary option on the More menu.
You can set a default format for dates with the DateFormat property. If the default date format is intended for your team templates, create DateFormat as a team property. If it's for your personal templates only, add DateFormat to the profile properties. You can also add DateFormat to your company account properties if you're an admin.
Note. The correct spelling of this property name is DateFormat. It is case-sensitive and there should not be any space between its parts, otherwise it won't work.
Available default formats
Abbreviations and their meaning
To set a default language tag for dates, use the DateLocale property. If the language tag is intended for your team templates, create DateLocale as a team property. If it's for your personal templates only, add DateLocale to the profile properties. You can also add DateLocale to your company account properties if you're an admin.
Note. The correct spelling of this property name is DateLocale. It is case-sensitive and there should not be any space between its parts, otherwise it won't work.
You can find the necessary language and country on the Supported locale codes page on the Microsoft Learn website, and then enter the corresponding tag from the "Code" column as a property value. For example, this code refers to the French language spoken in Luxembourg: "fr-lu".
You can use the following properties in your templates:
These are the steps to follow:
Note. If a property contains a picture, select Insert picture from property instead.
Post a comment
Seen by everyone, do not publish license keys and sensitive personal info!