This article explains how to use Replace Strings and provides a list of all available options.
With Replace Strings, you can make announcements more personal. Replace Strings are functions, noted within curly braces { }, that are automatically filled with corresponding values. You can use Replace Strings to personalize HTML text, for example by displaying the user’s first name in an email or announcement.
Further on in this guide, you will find some examples.
You can use Replace Strings in almost every part of Brightspace, including Assignments, Quizzes, Discussions, and more.
Below is a table with the Replace Strings you can use in Brightspace.
Replace string | Beschrijving |
---|---|
{OrgId} | Organization ID number (Hanze) |
{OrgName} | Organization name (Hanze) |
{OrgUnitId} | Course ID in Brightspace |
{OrgUnitName} | Course name in Brightspace |
{OrgUnitCode} | Course code in Brightspace |
{OrgUnitTypeId} | Course type ID number in Brightspace |
{OrgUnitPath} | Path to the course files |
{UserId} | Internal user ID |
{UserName} | Username (used for login) |
{FirstName} | User’s first name |
{LastName} | User’s last name |
{Email} | User’s internal email address |
{RoleId} | User role ID |
{RoleName} | User role name |
Announcements
Replace Strings can, for example, be used to personalize an announcement.
To do this, create a new announcement. In the text box, you can now use Replace Strings. You can use Replace Strings in any text box that has a preview button.
By using the Replace String above, the announcement will appear differently for each user. It will always display the user’s first name. This way, the announcement is personalized in this case.