Learn365 sends learners and admins a variety of notifications triggered by different actions of users. Also, catalog admins can customize notification templates in a way that better suits their organization's purposes. In certain cases, while editing a Learn365 notification template, some extra spaces can be accidentally inserted in the notification variables and this may prevent the system from inserting the relevant data, thus worsening the look and perception of the notification. If simple editing of the notification template fails to fix the issue, then you can refer directly to the HTML code to find a solution.
This article provides guidance on how to check notification variables for extra spaces and edit them via the HTML code.
NOTE
You need to have the catalog admin role to perform the actions described in the article.
To check a variable for extra spaces directly in the HTML code editor, do the following:
1. Go to Learn365 Admin Center > Catalog settings > Notifications.
2. Select the notification template you want to check the variables in. From the opened Actions panel, select Edit template.
3. On the opened Edit template panel, open the HTML editor using any of the methods below:
- Right-click on the page and select Inspect from the menu.
- Press F12 to open the Developer tools panel.
- The Developer tools panel can also be opened from the ellipsis menu in the top right corner of the page > More tools > Developer tools (Ctrl+Shift+I).
When the Developer tools panel opens, navigate to the Elements tab.
4. Press Ctrl+F to search for the required variable in the field, for example course title.
5. Double-click the highlighted code in the search panel to edit it, check for extra spaces in the variable and near it, and make the necessary changes.
6. Press Enter to save and close.
Comments
Article is closed for comments.