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: website/docs/Interaction_Guidelines/ux_controls_ui_patterns.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
@@ -191,7 +191,7 @@ Dropdown controls allow multiple options to be expanded from a menu. Dropdowns h
191
191
| --- | --- |
192
192
|**Outline**| The outline style is the primary variation that should be used. It can be used by itself, on forms, or within dialogues. |
193
193
|**Line**<br/>(label optional) | Line style dropdowns are useful in areas that have cramped vertical space. This dropdown style can be stacked within panels to avoid a boxy wireframe feel. While the label is optional, we encourage using it to better inform users about the category of items. |
194
-
|**Text**| This style allows the user to access options from a dropdown or flyout menu. This style works well in tool and start bars, as well as in dialogs and menus. |
194
+
|**Text**| This style allows the user to access options from a dropdown or flyout menu. This style works well in tool and start bars, as well as in dialogs and menus. |
195
195
|**Icon**| The icon style works best in small regions such as tool bars, and is great for switches that have several options. |
Copy file name to clipboardExpand all lines: website/docs/core/trex_configure.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,21 @@
1
1
---
2
-
title: Add a Configuration Popup Dialog
2
+
title: Add a Configuration Popup Dialog Box
3
3
description: How to add a configuration dialog box to the extension
4
4
---
5
5
6
-
If you want users to be able to configure settings for your extension, you can use an optional callback function when you initialize your dashboard or viz extension. The callback function creates a configuration option that can be used to open a popup window (a modal dialog box) for your extension. You can use this popup window to allow users to set and save settings for the extension.
6
+
If you want users to be able to configure settings for your extension, you can use an optional callback function when you initialize your dashboard or viz extension. The callback function creates a configuration option that can be used to open a popup window (dialog box) for your extension. The Extensions API supports different dialog box styles: modal, modeless, or window. You can use the dialog box to allow users to set and save settings for the extension. Starting with Tableau 2026.1 (and the v1.16 library), you can create multiple dialog boxes and send messages between them.
7
7
8
+
:::info
9
+
10
+
By design, there can be only one context configuration popup window or dialog box. For information about creating and using multiple popup dialog boxes or window, see [Add a Multiple Popup Dialog Boxes](trex_multiple_dialogs.md).
11
+
12
+
:::
8
13
9
14
## Add the context menu to the `.trex` file
10
15
11
-
The first step is to add the `<context-menu>` option to the extension's manifest file (`.trex`). The `<context-menu>` element only contains one item: `<configure-context-menu-item />`.
16
+
The first step is to add the `<context-menu>` option to the extension's manifest file (`.trex`). The `<context-menu>` element only contains one item: `<configure-context-menu-item />`.
12
17
13
-
* The context menu option must follow the `<icon>` and `<permissions>` elements in the manifest file in the `<dashboard-extension>` or `<worksheet-extension>` section:
18
+
* The context menu option must follow the `<icon>` and `<permissions>` elements in the manifest file in the `<dashboard-extension>` or `<worksheet-extension>` section:
14
19
15
20
```xml
16
21
<!-- add to <dashboard-extension> or <worksheet-extension> section
@@ -36,7 +41,6 @@ with adding a `<context-menu>` item to the manifest, adds a new **Format Extensi
36
41
37
42
When the user selects the context menu item, or selects **Format Extensions** button, the configuration function you specified is executed.
38
43
39
-
40
44
**Dashboard extensions configuration menu**
41
45
42
46

@@ -69,7 +73,6 @@ $(document).ready(function () {
69
73
70
74
71
75
72
-
73
76
functionconfigure() {
74
77
// ... code to configure the extension
75
78
// for example, set up and call displayDialogAsync() to create the configuration window
0 commit comments