संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कुछ ऐसी स्थितियां हो सकती हैं जिनमें आपको यह पसंद हो कि उपयोगकर्ता, iframe के बाहर आपके प्रॉडक्ट से इंटरैक्ट करें. अटैचमेंट के कॉन्टेंट को Classroom ऐड-ऑन के iframe में लोड करने के बजाय, नई टैब में लोड किया जा सकता है. हालांकि, इसके लिए यह ज़रूरी है कि आपका ऐड-ऑन इन दिशा-निर्देशों का पालन करता हो.
नए टैब या विंडो में ज़रूरी व्यवहार
Classroom ऐड-ऑन की ज़रूरी शर्तों की चेकलिस्ट में, नए टैब या विंडो खोलने के लिए कुछ खास व्यवहार बताए गए हैं. इस टेबल में, हर ज़रूरी शर्त के बारे में जानकारी दी गई है. साथ ही, उन्हें लागू करने के सुझाव दिए गए हैं.
आईडी
आवश्यकता
मीटिंग कैसे करें
3.2
अगर किसी iframe जर्नी से कोई टास्क नए टैब या विंडो में लॉन्च किया जाता है, तो उसे Classroom पर वापस जाने के लिए, उपयोगकर्ता के लिए आसान मैसेज देना होगा.
बाहरी साइट पर, कोई मैसेज, बैनर, सूचना या अन्य सूचना शामिल करें. इसमें उपयोगकर्ता को टास्क पूरा होने के बाद, Classroom पर वापस जाने के लिए कहा गया हो.
5.1
studentViewUri लॉन्च होने पर, ऐड-ऑन को कोई टास्क पूरा करने के लिए, उपयोगकर्ता को iframe से बाहर नहीं निकालना चाहिए.
आदर्श रूप से, उपयोगकर्ताओं को iframe में सभी ज़रूरी कार्रवाइयां पूरी करने की सुविधा मिलती है. नए टैब खोलने से, लोगों को समझने में मुश्किल हो सकती है. साथ ही, इससे ऐड-ऑन का इस्तेमाल करना मुश्किल हो जाता है.
उपयोगकर्ता अनुभव को iframe में ही रखें, ताकि उपयोगकर्ता को कम से कम परेशानी हो.
5.2
अगर ऐड-ऑन की गतिविधि iframe से बाहर दिखती है, तो iframe में टास्क की झलक दिखनी चाहिए.
जब उपयोगकर्ता अटैचमेंट कार्ड पर क्लिक करे, तो बाहरी साइट को तुरंत न खोलें. इसके बजाय, iframe में एक बुनियादी इंटरस्टीशियल व्यू दिखाएं. इसमें उस टास्क की इमेज या जानकारी दिखती हो जो नए टैब में खुलता है. उपयोगकर्ताओं को गतिविधि को आसानी से नेविगेट करने और पूरा करने में मदद करने के लिए, निर्देश शामिल करें.
[null,null,["आखिरी बार 2025-08-29 (UTC) को अपडेट किया गया."],[],[],null,["# Open content in new tabs\n\nThere may be some situations in which you would prefer users interact with your\nproduct outside of an iframe. You can load attachment content in a new tab\nrather than in a Classroom add-on iframe as long as your\nadd-on conforms to the following guidelines.\n| **Important:** You should adapt your content to work within the iframes if possible. Ease of access and reduced time and effort to reach content are two key benefits of building a Classroom add-on.\n\nRequired behaviors in new tabs or windows\n-----------------------------------------\n\nThe Classroom add-on [requirements checklist](/workspace/classroom/add-ons/requirements) specifies certain\nbehaviors when opening new tabs or windows. The following table provides\nclarifications and implementation suggestions regarding each requirement.\n\n| ID | Requirement | How to meet |\n|-----|-------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 3.2 | If a task is launched into a new tab or window from any of the iframe journeys, it MUST provide a user-friendly message to return to Classroom. | On the external site, include a message, banner, toast, or other notification instructing the user to return to Classroom when finished with the task. |\n| 5.1 | When the `studentViewUri` is launched, the add-on SHOULD NOT pop the user out of the iframe to complete a task. | Ideally, users are able to complete all relevant journeys within the iframe. Opening new tabs can disorient users and adds to the complexity of using the add-on. Keep the user experience within the iframe to provide the least user friction. |\n| 5.2 | If the add-on activity pops out of the iframe there MUST be a preview about the task in the iframe. | Don't open the external site immediately when the user clicks the attachment card. Instead, provide a basic interstitial view in the iframe showing an image or description of the task that opens in a new tab. Include instructions to help users successfully navigate and complete the activity. |"]]