Google Classroom add-ons are now generally available to developers! Please see the
add-ons documentation for more information.
Teacher View iframe
Stay organized with collections
Save and categorize content based on your preferences.
The Teacher View iframe enables teachers to preview an attachment they added
to an assignment. The main purpose of this iframe is to give teachers an idea of
what students see when students open an attachment from an assignment.
Optionally, the Teacher View iframe may also allow teachers to:
- Edit the attachment.
- See additional information relevant to the assignment, such as answer keys
and notes.
- List the students that have been assigned the attachment.
- Retrieve a summary of the turn in status of the attachment.
Teachers access the Teacher View iframe by clicking on the attachment preview as
seen in Figure 1. Then, the Teacher View iframe opens as seen in Figure 2.
Figure 1. Teacher preview of an assignment
with two attachments.
Figure 2. Teacher preview of an attachment
in the Teacher View iframe with the option to edit the attachment.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-04-16 UTC.
[null,null,["Last updated 2025-04-16 UTC."],[],[],null,["# Teacher View iframe\n\nThe **Teacher View iframe** enables teachers to preview an attachment they added\nto an assignment. The main purpose of this iframe is to give teachers an idea of\nwhat students see when students open an attachment from an assignment.\n\nOptionally, the Teacher View iframe may also allow teachers to:\n\n- Edit the attachment.\n- See additional information relevant to the assignment, such as answer keys and notes.\n- List the students that have been assigned the attachment.\n- Retrieve a summary of the [turn in status of the attachment](/workspace/classroom/add-ons/developer-guides/attachment-interactions#student_submission_details).\n\nTeachers access the Teacher View iframe by clicking on the attachment preview as\nseen in Figure 1. Then, the Teacher View iframe opens as seen in Figure 2.\n\n**Figure 1.** Teacher preview of an assignment\nwith two attachments.\n\n**Figure 2.** Teacher preview of an attachment\nin the **Teacher View iframe** with the option to edit the attachment."]]