ส่วนเสริมของ Google Classroom พร้อมให้บริการแก่นักพัฒนาซอฟต์แวร์แล้ว โปรดดูข้อมูลเพิ่มเติมใน
เอกสารส่วนเสริม
iframe การอัปเกรดลิงก์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
iframe การอัปเกรดลิงก์คือมุมมองที่ครูเห็นเมื่อตกลงที่จะอัปเกรดไฟล์แนบลิงก์เป็นไฟล์แนบส่วนเสริม ดูรายละเอียดเพิ่มเติมเกี่ยวกับฟีเจอร์นี้ได้ที่คู่มือการอัปเกรดลิงก์เป็นไฟล์แนบของส่วนเสริม
โฟลว์การอัปเกรดลิงก์
จากหน้าการสร้างงาน ครูจะใส่ลิงก์ในกล่องโต้ตอบ "เพิ่มลิงก์" ได้

รูปที่ 1 กล่องโต้ตอบที่แสดงในหน้าการสร้างงานเพื่อให้ครูสร้างไฟล์แนบลิงก์
หากลิงก์ตรงกับรูปแบบ URL ที่คุณระบุไว้ ครูจะเห็นกล่องโต้ตอบที่แจ้งให้อัปเกรดลิงก์เป็นไฟล์แนบของส่วนเสริม หากผู้ใช้ตกลง iframe อัปเกรดลิงก์จะเปิดขึ้นพร้อมพารามิเตอร์การค้นหา iframe ที่เกี่ยวข้อง เมื่อสร้างไฟล์แนบแล้ว iframe จะปิดลงและครูจะเห็นไฟล์แนบรวมอยู่ในหน้าการสร้างงาน
ดูรายละเอียดเกี่ยวกับข้อควรพิจารณาด้านประสบการณ์ของผู้ใช้ในขั้นตอนนี้ได้ที่ส่วนประสบการณ์ของผู้ใช้ที่แนะนำของคู่มือการอัปเกรดลิงก์เป็นไฟล์แนบของส่วนเสริม
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# Link Upgrade iframe\n\nThe **Link Upgrade iframe** is the view that teachers see when they agree to\nupgrade a Link attachment to an add-on attachment. For additional details about\nthis feature, see the guide on [upgrading links to add-on attachments](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons).\n\nLink Upgrade flow\n-----------------\n\nFrom the assignment creation page, the teacher can include a link in the Add\nlink dialog.\n\n**Figure 1.** The dialog that's displayed on the assignment creation page for a\nteacher to create a [Link attachment](/workspace/classroom/reference/rest/v1/Link).\n\nIf the Link matches a [URL pattern](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons#configuration_details) that you have provided, the teacher sees a\ndialog that prompts them to upgrade the Link to an add-on attachment. If they\nagree, the Link Upgrade iframe opens with the relevant [iframe query\nparameters](/workspace/classroom/add-ons/developer-guides/iframes). Once the attachment has been created, the iframe closes and the\nteacher sees the attachment included on the assignment creation page.\n\nSee the [Recommended user experience section](/workspace/classroom/add-ons/developer-guides/upgrade-links-to-addons#recommended_user_experience) of the guide on upgrading links to\nadd-on attachments for details on user experience considerations in this flow."]]