Brightspace-support

What are Replace strings and how do I use it?

Updated on

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

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

Replace strings can be used nearly everywhere within Brightspace, including Assignments, Quizzes, Discussions, etc.

Currently, it is not (yet) possible to use Replace strings for course descriptions and HTML documents.

Below is a table containing the Replace strings which you can use within Brightspace. 

Replace string Description
{OrgId} ID number of the organisation (THUAS)
{OrgName} Name of the organisation (THUAS)
{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} THUAS ID
{FirstName} First name 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
Replace strings in Announcements

You can use Replace strings to personalize announcements. First, create a new Announcement.

 In the text box, you can use Replace strings. By clicking on the preview button in the bottom right, you can see the result of the Replace strings.

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

The completed announcement will look personalized for the user.

Bulk feedback

In Assignments, you can give students feedback in bulk. For more information, see Use Bulk Feedback to grade students

In bulk feedback, you can personalise the feedback by entering replace strings. Again, you can click Preview (click the three dots first).

Bulk Feedback Test - Submissions - Alma Kamphuis Sandbox - De Haagse Hogeschool - Google Chrome

As an instructor, you continue to see the replace strings in the feedback, but for the student, the feedback looks correct:

Feedback for Bulk Feedback Test - Alma Kamphuis Sandbox - De Haagse Hogeschool - Google Chrome
Emails

You can also personalize emails. For more information on sending emails, see How do I use email in Brightspace?

Use the replace strings in your email. Here you can also click on preview.

Compose New Message - Alma Kamphuis Sandbox - Google Chrome
Previous Article Intelligent Agents Settings
Still need help or want to follow a training? Contact Us