To create a Teams Meetings custom widget, share it with appropriate courses, and restrict its use for instructors, follow the tasks in this section.
Creating a Microsoft Teams Meetings custom widget
- From the Admin Tools menu, click Homepage Management.
- On the Widgets tab, click Create Widget.
- Enter a Name for your widget, such as MS Teams Meetings.
- Click Add an Org Unit.
- Search for and select the Org Units you want to share this widget with and click Insert.
- On the Release Conditions tab, click Create and Attach.
- From the Condition Type dropdown menu, select Role in current org unit.
- From the Role dropdown menu, select your instructor role and click Create.
- On the Content tab, open the HTML Source Editor and paste in the following code:
<script>
var lang = document.documentElement.lang;
;var iframe = document.createElement('iframe');
iframe.src = "
https://app.ms-teams-meetings.brightspace.com/?locale=
" + lang;
iframe.style = "overflow-y: hidden; height: 700px; width: 100%;"
document.body.appendChild(iframe);
</script>
- Click Save and Close.
Add your custom widget to any active widget-based homepage
- From the Admin Tools menu, click Homepage Management.
- Click the widget-based Homepage where you want to add the MS Teams Meetings widget.
- In the Widgets section, click Add Widgets.
- On the Custom Widget tab, select the MS Teams Meetings widget.
- Click Add.
- Drag and drop the widget where you want to organize the homepage.
- Click Save and Close.
Creating and sharing a Microsoft Teams Meeting using the widget
- On your homepage, in the MS Teams Meeting custom widget, click Create meeting link.
- Sign in with your Microsoft account if you haven’t previously signed in.
- Click Create meeting link.
- Add a meeting title and select a date and time.
- Click Create.
- To copy the dynamically generated meeting link, click Copy.
- Paste the meeting link into your course announcement, activity feed, discussion, calendar event, or email.