Brightspace-support

What are Replace strings and how do I use them?

Updated on

This article will explain how you can use Replace strings and which ones you can use in your course.

Replace strings are functions, denoted with curly brackets { } which are automatically replaced by their corresponding values. Replace strings can be used to personalise messages per user.

Replace strings can be used nearly everywhere within Brightspace, including your Course banner/welcome message, Assignments, Quizzes, Discussions, etc.

Below is a table containing the most common and frequently used Replace strings within Brightspace:

Replace string Description
{OrgId} ID number of the organisation
{OrgName} Name of the organisation (De Haagse Hogeschool)
{OrgUnitId} ID of the Course in Brightspace
{OrgUnitName} Name of the Course in Brightspace
{OrgUnitCode} Code of the Course in Brightspace
{OrgUnitTypeId} ID of the type of Course in Brightspace
{OrgUnitPath} Path to the Course files
{UserId} Internal user ID
{UserName} Name used to log in
{OrgDefinedId} University ID
{FirstName} Firstname of the user
{LastName} Surname of the user
{Email} Internal email address of the user
{ExternalEmail} External email address of the user
{RoleId} ID of the user's role
{RoleName} Name of the user's role

Currently, it is not (yet) possible to use Replace strings for course descriptions, HTML-documents and mailings.
Be aware that certain areas, such as Intelligent Agents, use different Replace strings due to their complexity.

Replace strings in Announcements

You can use Replace strings to personalise announcements.

First, create a new announcement within your course. In this textbox, you can use Replace strings. By clicking on the Publish in the bottom left, you can see the result of the Replace strings.

You could also add a sentence in the announcement with the tag {ExternalEmail} to explain to new students what a student email address is and that messages will be sent to this address.

The announcement will look like this, with the user's first name being different per user.

Previous Article How can I change the visibility of the content of my course?
Next Article How do I export the Classlist, including group enrollments?
Still need help or want to follow a training? Contact Us