Skip to content

Commit 90350a2

Browse files
[all hosts] (Script Lab) Note size limitations (#5060)
1 parent 33e51ce commit 90350a2

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/overview/explore-with-script-lab.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Explore Office JavaScript API using Script Lab
33
description: Use Script Lab to explore the Office JS API and to prototype functionality.
4-
ms.date: 09/05/2024
4+
ms.date: 02/20/2025
55
ms.topic: concept-article
66
ms.custom: scenarios:getting-started
77
ms.localizationpriority: high
@@ -68,6 +68,14 @@ Script Lab for Outlook is available on the following clients.
6868
> [!IMPORTANT]
6969
> \* Script Lab no longer works with combinations of platform and Office version that use the Trident (Internet Explorer) webview to host add-ins. This includes perpetual versions of Office through Office 2019. For more information, see [Browsers and webview controls used by Office Add-ins](../concepts/browsers-used-by-office-web-add-ins.md).
7070
71+
## Limitations
72+
73+
Script Lab is designed for you to play with small code samples. Generally, a snippet should be at most a few hundred lines and a few thousand characters.
74+
75+
Your snippet can use hard-coded data. A small amount of data (say, a few hundred characters) is OK to hard code in Script Lab. However, for larger pieces of data, we recommend that you store those externally then load them at runtime with a command like `fetch`.
76+
77+
Keep your snippets and hard-coded data small since storing several large snippets could exceed Script Lab's storage and cause issues when loading Script Lab.
78+
7179
## Next steps
7280

7381
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)