افزونه های Google Classroom اکنون به طور کلی در دسترس توسعه دهندگان هستند! لطفاً برای اطلاعات بیشتر به
اسناد افزونه ها مراجعه کنید.
لینک ارتقا iframe
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Link Upgrade iframe دیدگاهی است که معلمان هنگام موافقت با ارتقاء پیوست پیوند به پیوست افزودنی مشاهده می کنند. برای جزئیات بیشتر درباره این ویژگی، به راهنمای ارتقا پیوندها به پیوستهای افزودنی مراجعه کنید.
جریان ارتقاء پیوند
از صفحه ایجاد تکلیف، معلم می تواند پیوندی را در گفتگوی افزودن پیوند اضافه کند.

شکل 1. گفتگویی که در صفحه ایجاد تکلیف برای معلم برای ایجاد پیوست پیوند نمایش داده می شود.
اگر پیوند با الگوی URL ارائه شده مطابقت داشته باشد، معلم گفتگویی را می بیند که از آنها می خواهد پیوند را به یک پیوست افزودنی ارتقا دهند. در صورت موافقت، iframe ارتقاء پیوند با پارامترهای جستجوی iframe مربوطه باز می شود. پس از ایجاد پیوست، iframe بسته میشود و معلم پیوست را در صفحه ایجاد تکلیف میبیند.
برای جزئیات بیشتر در مورد ملاحظات تجربه کاربر در این جریان، بخش تجربه کاربر پیشنهادی راهنمای ارتقا پیوندها به پیوستهای افزودنی را ببینید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-25 بهوقت ساعت هماهنگ جهانی."],[],[],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."]]