Customize Content Using Replace Strings

Automatically Customize Course Content Using Replace Strings

A replacement string allows instructors to customize course content and communications in D2L by incorporating the intended student's personalized information, such as their name, automatically. This feature can help instructors build better relationships with learners, increase engagement levels, and improve the overall learning experience.

Replace strings are configuration variable names enclosed in curly braces { } that are automatically replaced by the corresponding configuration variable values. For example, if you enter the text {FirstName} into an email, when the student views the email, they will see their first name.

NOTE: Replace strings are used in all tools that use HTML Editor. However, evaluation rules for the replace strings vary with the tool so DO NOT use it in Content because it will fail when you copy your course.

Replace strings are particularly useful within the following:

  • Announcements
  • Mail
  • Grades when adding bulk feedback

Useful replace strings include:

User replace string 

Description

{OrgUnitName}

Name of the course seen in the course header

{UserName}

Full name of the user or the username entered to log on

{OrgDefinedId}

Organization ID. This is an identifier specified by the campus for the user

{FirstName}

First name of the user

{LastName}

Last name of the user

{Email}

User's internal email address

{ExternalEmail}

User's external email address

{InternalEmail}

User's internal email address

See the full list in Brightspace Documentation: https://documentation.brightspace.com/EN/le/replace_stings/instructor/replace_strings.htm

Replace strings can also be used with Agents. Contact your Campus Designer for help with Agents.