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/packaging-your-extension.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ After completing development on your extension, you can package it into an add-o
10
10
11
11
To package your extension, follow the steps below:
12
12
13
-
1. Make sure the setting for enabling extension development is checked in the Preferences form. Alternatively, you can start Studio Pro with the `--enable-extension-development` command-line option.
13
+
1. Make sure you have enabled the [Extension Development](/refguide/preferences-dialog/#extension-development) setting in your app's Preferences. Alternatively, you can start Studio Pro with the `--enable-extension-development` command-line option.
14
14
2. In your Studio Pro app, create a new module and include your development extension.
15
15
3. Give the module a name.
16
16
4. Open the module's settings and in the **Export** tab, choose **Add-on module**.
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/get-started.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Extensions can be built on any operating system, as the underlying framework is
24
24
{{% /alert %}}
25
25
26
26
{{% alert color="info" %}}
27
-
Extension development is only possible enabling the setting in `Extension Development` under `Advanced`in the Studio Pro preferences form, or by starting Studio Pro using the `--enable-extension-development` feature flag.
27
+
Extension development is only possible by enabling the [Extension Development](/refguide/preferences-dialog/#extension-development) setting in your app's Preferences, or by starting Studio Pro with the `--enable-extension-development` feature flag.
28
28
{{% /alert %}}
29
29
30
30
## Creating Your First Extension
@@ -75,14 +75,14 @@ Before you begin, your extension will have to get an instance of the Studio Pro
75
75
76
76
In the source code, you should see the following:
77
77
78
-
1.We get an instance of the Studio Pro API by calling `getStudioProApi`.
78
+
1.You get an instance of the Studio Pro API by calling `getStudioProApi`.
Copy file name to clipboardExpand all lines: content/en/docs/apidocs-mxsdk/apidocs/studio-pro-11/extensibility-api/web/web-extensions-howtos/app-explorer-api.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This how-to describes how to interact with the App Explorer in Studio Pro. In th
12
12
13
13
Before starting this how-to, make sure you have completed the following prerequisites:
14
14
15
-
*Read up on how menus work in the Extensibility API [here](/apidocs-mxsdk/apidocs/web-extensibility-api-11/menu/)
15
+
*Review [how menus work](/apidocs-mxsdk/apidocs/web-extensibility-api-11/menu/) in the Web Extensibility API
16
16
* 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.
17
17
18
18
## Creating a Context Menu
@@ -21,7 +21,7 @@ Before starting this how-to, make sure you have completed the following prerequi
21
21
Use the full name of the document type to specify which type of document a menu should belong to (for example, `Microflows$Microflow` for microflows or `Pages$Page` for pages). For more information about these document type names, see [Access a Mendix Model Using Web API](/apidocs-mxsdk/apidocs/web-extensibility-api-11/model-api/).
22
22
{{% /alert %}}
23
23
24
-
The code below uses the `appExplorer` API's `addContextMenu` method to add the menu to all `Microflow` document nodes. When this menu is clicked, the clicked document's ID will be sent as an argument through the `DocumentContext` argument parameter of the menu.
24
+
The code below uses the `appExplorer` API's `addContextMenu` method to add the menu to all `Microflow` document nodes. When this menu is clicked, the document's Id is sent as an argument through the `DocumentContext` argument parameter of the menu.
The `DocumentContext` payload for the menu action is an object containing a document Id (`{ documentId: string }`). When creating a menu for the `appExplorer`'s `addContextMenu` method, the `DocumentContext` should be used as the context of your menu. The `documentId` will be the Id of the document the menu is attached to (in this scenario, the exact `Microflow` node in the App Explorer).
52
+
The `DocumentContext` payload for the menu action is an object containing a document Id (`{ documentId: string }`). When creating a menu for the `appExplorer`'s `addContextMenu` method, the `DocumentContext` should be used as the context of your menu. The `documentId` will be the Id of the document the menu is attached to (in this example, the exact `Microflow` node in the App Explorer).
53
53
54
-
As explained in the [menu documentation](/apidocs-mxsdk/apidocs/web-extensibility-api-11/menu/), the `DocumentContext` is not necessary in order to add your menu to Studio Pro, but if it is not used, the menu will never receive the ID of the clicked document when it gets clicked.
54
+
As explained in the [menu documentation](/apidocs-mxsdk/apidocs/web-extensibility-api-11/menu/), the `DocumentContext` is not necessary to add your menu to Studio Pro. However, if it is not used, the menu will not receive the clicked document's ID.
0 commit comments