# Teacher View iframe

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](https://developers.google.com/workspace/classroom/add-ons/developer-guides/attachment-interactions#student_submission_details).

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.

![Teacher preview of assignment](https://developers.google.com/static/workspace/classroom/add-ons/images/assignment-preview.png) **Figure 1.** Teacher preview of an assignment
with two attachments.

![Teacher preview of attachment](https://developers.google.com/static/workspace/classroom/add-ons/images/attachment-preview.png) **Figure 2.** Teacher preview of an attachment
in the **Teacher View iframe** with the option to edit the attachment.