تتوفّر الآن إضافات Google Classroom بشكل عام للمطوّرين. يُرجى الاطّلاع على
مستندات الإضافات للحصول على مزيد من المعلومات.
إطار iframe لترقية الترقية
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
إطار iframe لترقية الرابط هو طريقة العرض التي يراها المعلّمون عند موافقتهم على
ترقية مرفق رابط إلى مرفق إضافة. للاطّلاع على تفاصيل إضافية عن
هذه الميزة، يُرجى الاطّلاع على الدليل حول ترقية الروابط إلى مرفقات إضافية.
مسار ترقية الرابط
من صفحة إنشاء الواجب، يمكن للمعلّم تضمين رابط في مربّع الحوار "إضافة
رابط".

الشكل 1: مربّع الحوار الذي يظهر في صفحة إنشاء الواجبات للسماح للأستاذ
بإنشاء إرفاق رابط
إذا كان الرابط يتطابق مع نمط عنوان URL الذي قدّمته، سيظهر للمعلّم حوار يطلب منه ترقية الرابط إلى مرفق إضافي. وفي حال موافقته، يتم فتح إطار iframe الخاص بترقية الرابط مع مَعلمات طلب البحث في إطار iframe ذات الصلة. بعد إنشاء المرفق، يتم إغلاق إطار iframe ويظهر المرفق للمعلّم في صفحة إنشاء المَهمّة.
اطّلِع على قسم "تجربة المستخدم المقترَحة" من دليل ترقية الروابط إلى ملفّات مرفقة إضافية للحصول على تفاصيل حول اعتبارات تجربة المستخدم في هذه العملية.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة 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."]]