You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/web-extensions-howtos/notification-api.md
description: "Describes how to display a simple pop-up notification in Studio Pro using the Web Extensibility API."
5
6
---
6
7
7
8
## Introduction
8
9
9
-
This how-to describes how to show a simple pop-up notification in Studio Pro.
10
+
This document describes how to display a simple pop-up notification in Studio Pro.
10
11
11
12
## Prerequisites
12
13
13
-
This how-to uses the results of [Get Started with the Web Extensibility API](/apidocs-mxsdk/apidocs/web-extensibility-api-11/getting-started/). Make sure to complete that how-to before starting this one.
14
+
This how-to uses the results of [Get Started with the Web Extensibility API](/apidocs-mxsdk/apidocs/web-extensibility-api-11/getting-started/). Complete that how-to before starting this one.
14
15
15
16
## Showing a Notification
16
17
17
-
With the notifications API, you can show a pop-up notification when your extension loads. The notification will disappear after five seconds. To do this, follow the steps below:
18
+
With the notifications API, you can show a pop-up notification when your extension loads. The notification disappears after five seconds. To do this, follow these steps:
18
19
19
20
1. Create an `assets` folder under your `src` folder.
20
21
2. Find an icon you want to use in your notification and copy it into the `assets` folder. This example uses the file `check.png`.
@@ -32,7 +33,7 @@ With the notifications API, you can show a pop-up notification when your extensi
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/web-extensions-howtos/permissions.md
description: "Describes how the permission system works for web extensions in Studio Pro and explains how extensions request and users grant access to sensitive APIs."
5
6
---
6
7
7
8
## Introduction
8
9
9
-
This how-to describes how the permission system works for web extensions in Studio Pro. Permissions allow extensions to request access to sensitive APIs or data that require explicit user consent.
10
+
Permissions allow extensions to request access to sensitive APIs or data that require explicit user consent.
10
11
11
12
{{% alert color="info" %}}
12
13
Extension permissions were introduced in version 11.9.0.
@@ -16,9 +17,9 @@ Extension permissions were introduced in version 11.9.0.
16
17
17
18
Web extensions can request permissions to access sensitive functionality. The permission system follows these principles:
18
19
19
-
***Opt-in by default**— Extensions cannot access protected APIs unless you request persmission and the extension user grants it
20
-
***User control**— You decide which permissions to grant through the Extensions Overview pane in Studio Pro
21
-
***Per-project settings**— Permission grants are stored per project, so a user’s approval for an extension applies only within that app. This gives them the flexibility to grant a permission in one project and choose different settings for the same extension in another.
20
+
***Opt-in by default**– Extensions cannot access protected APIs unless you request permission and the extension user grants it.
21
+
***User control**– You decide which permissions to grant through the Extensions Overview pane in Studio Pro.
22
+
***Per-project settings**– Permission grants are stored per project, so a user’s approval for an extension applies only within that app. This gives them the flexibility to grant a permission in one project and choose different settings for the same extension in another.
22
23
23
24
## Requesting Permissions
24
25
@@ -44,12 +45,12 @@ Setting a permission to **true** indicates that your extension requests this per
44
45
45
46
## Granting Permissions (User Flow)
46
47
47
-
When a user installs an extension that requests permissions, they can manage those permissions through the Extensions Overview pane. Follow the steps below:
48
+
When a user installs an extension that requests permissions, they can manage those permissions through the Extensions Overview pane:
48
49
49
50
1. Open Studio Pro and load an app with the extension installed.
50
-
2. Go to **View** > **Extensions Overview** to open the Extensions Overview pane.
51
-
3. Find the extension in the list. Under the extension details, the **Permissions** section displays the requested permissions.
52
-
4.Check or uncheck the checkbox next to each permission to grant or revoke access.
51
+
2. Go to **View** > **Extensions Overview**.
52
+
3. Find the extension in the list.
53
+
4.In the **Permissions** section under the extension details, select or clear the checkbox next to each permission to grant or revoke access.
0 commit comments