Skip to content

Commit 771f57e

Browse files
committed
W-18452616, W-18455977
1 parent d0d631b commit 771f57e

File tree

3 files changed

+62
-7
lines changed

3 files changed

+62
-7
lines changed

website/docs/dashext/trex_manifest.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ To create a new manifest file (`.trex`) for your extension the easy way, use the
1515

1616
The versioning of the manifest is designed to be semantically simple and support compatibility. The version follows the [Major].[Minor] format. Minor upgrades are backwards compatible while major upgrades involve breaking changes.
1717

18+
:::note
19+
20+
Each extension must be uniquely identified. If multiple extensions in a workbook share the same combination of URL, ID, and version number, the extension zones will not load properly. As a best practice, use unique identifiers for each viz or dashboard extension when creating the manifest file (.trex). For example, for dashboard extensions, make sure that the same `<dashboard-extension>` `id` and `extension-version`, and the `<source-location>` `url` aren't all used together in other extensions.
21+
22+
:::
23+
1824
## Error Reporting
1925

2026
At start up, Tableau checks the manifest file. If any errors are found while parsing the file, Tableau writes these errors to the `log.txt` file in the `My Tableau Repository/Logs` folder. This is the same location that Tableau Desktop uses to report other errors and activity.

website/docs/trex_known_issues.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,30 @@ The following section describes some issues in the current release of the Extens
88
For information about what is new or has changed in each release, see the [Release Notes for the Tableau Extensions API](./trex_release-notes.md).
99

1010

11+
### Extensions that share the same identifiers will not load properly
12+
13+
Each extension must be uniquely identified. If multiple extensions in a workbook share the same combination of URL, ID, and version number, the extension zones will not load properly. As a best practice, use unique identifiers for each viz or dashboard extension when creating the manifest file (.trex).
14+
15+
---
16+
1117
### Tableau Viz - Known Issues
1218

1319
Tableau Viz provides a way to create visualizations in dashboard extensions. The following is a list of issues with the current release of Tableau Viz.
1420

1521
* The vertical header text appears slightly cropped in the SVG output.
16-
* Tableau fonts are not available in the SVG output.
22+
* Tableau fonts aren't available in the SVG output.
1723

1824
For information about Tableau Viz, see [Add Tableau Viz to Your Dashboard Extension](./core/trex_tableau_viz.md).
1925

26+
---
27+
2028
### Unable to debug extensions using Chrome version 80 or later
2129

2230
Because of incompatibilities between Chrome and the internal Chromium-based browser used in Tableau, you can't use Chrome version 80 or later to debug your extensions. If you are using Tableau Desktop 2019.1 or later, you can debug extensions using Chrome version 79 or Chromium version 79. If you are using Tableau Desktop versions 2018.2 or 2018.3, you can use Chromium version 47. For more information about debugging extensions and using the Chromium browser, see [Debug Extensions in Tableau Desktop](./debug/trex_debugging.md) and [Download the Chromium Browser](./debug/trex_debugging.md#download-the-chromium-browser).
2331

32+
33+
---
34+
2435
### Unable to run dashboard extension using self-signed certificates {#unable_self_signed_cert}
2536

2637
Tableau now uses Qt WebEngine 5.15, which is based on Chromium version 87.0.4280, with additional security fixes from newer versions of Chromium. Because of this update, dashboard extensions hosted on web servers that use self-signed certificates (SSL) might not work in Tableau 2021.1, or in the most recent Tableau maintenance releases: 2020.2.7+, 2020.3.6+, and 2020.4.2+.
@@ -36,30 +47,43 @@ You can avoid these errors if you specify the `subjectAlternativeName` (SAN) in
3647

3748
For more information, see [Google Chromium Enterprise Known Issues - Error "Subject Alternative Name Missing"](https://support.google.com/chrome/a/answer/9813310?hl=en#zippy=%2Cerror-subject-alternative-name-missing-or-neterr-cert-common-name-invalid-or-your-connection-is-not-private) and the following discussion on Stack Overflow: [Invalid self signed SSL cert - “Subject Alternative Name Missing” on StackOverflow](https://stackoverflow.com/questions/43665243/invalid-self-signed-ssl-cert-subject-alternative-name-missing).
3849

50+
---
51+
3952
### Time zone not persisted when updating date parameter
4053

4154
When you update a date or date-time parameter using `changeValueAsync()`, the time zone information is not kept. The date/time is still correct, however, it is just that the data/time is converted to UTC.
4255

56+
---
57+
4358
### The getDataSourcesAsync method is slow
4459

4560
If your extension uses the `getDataSourcesAsync()` method, calling this method might negatively impact performance and responsiveness of the viz that your extension is added to. The method is not entirely asynchronous and includes some serial operations.
4661

62+
---
63+
4764
### Unable to print or save image of the extension in a dashboard
4865

4966
* If you print a dashboard to a `.pdf` file, or save the dashboard as an image (or receive an image of the dashboard, as part of subscription) the zone that contains the extension will be blank.
5067

68+
---
69+
5170
### HTML drop-down menus in popup dialog windows
5271

5372
* **Fixed in Tableau 2019.1** HTML drop-down menus in popup dialog windows do not work as expected on MacOS. Users will not be able to select menu items using the mouse. They can select items with the cursor keys. To avoid issues on MacOS, use radio buttons or another method for user selection in the popup dialog.
5473

74+
---
75+
5576
### Decimal separators in parameters
5677

5778
- Decimal separators in parameters are not handled as expected for some locales. If your operating system locale uses commas for decimal separators, the `parameter.changeValueAsync` function expects a string that uses a comma as the decimal separator; however, the `parameter.currentValue` function will return a string using a period as the decimal separator, regardless of locale settings.
5879

80+
---
81+
5982
### Full data access and permission errors
6083

6184
When an extension needs full data access and the user does not have full data permission on the workbook, Tableau currently allows the extension to run. However, Tableau will throw a console error when the extension calls `getUnderlyingData()` method. See [Handle full data access and permission errors](./core/trex_getdata.md#handle-full-data-access-and-permission-errors).
6285

86+
---
6387

6488
### Tableau Extensions API library version 1.0.0
6589

website/docs/vizext/trex_viz_manifest.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ For details about a manifest or its fields, see the [Sample Manifest File](#samp
1313

1414
The versioning of the manifest is designed to be semantically simple and support compatibility. The version follows the [Major].[Minor] format. Minor upgrades are backwards compatible while major upgrades involve breaking changes.
1515

16+
:::note
17+
18+
Each extension must be uniquely identified. If multiple extensions in a workbook share the same combination of URL, ID, and version number, the extension zones will not load properly. As a best practice, use unique identifiers for each viz or dashboard extension when creating the manifest file (.trex). For example, for viz extensions, make sure that the same `<worksheet-extension>` `id` and `extension-version`, and the `<source-location>` `url` aren't all used in other extensions.
19+
20+
:::
21+
1622
## Error Reporting
1723

1824
At start up, Tableau checks the manifest file. If any errors are found while parsing the file, Tableau writes these errors to the `log.txt` file in the `My Tableau Repository/Logs` folder. This is the same location that Tableau Desktop uses to report other errors and activity.
@@ -262,14 +268,33 @@ The following table lists the elements and values you can use to add encoding ti
262268

263269
## Icons
264270

265-
Custom encodings can be assigned a specific icon by using the <code>&lt;encoding-icon&gt;</code> XML tag inside each <code>&lt;extension&gt;</code> entry in the `.trex` manifest file.
271+
Custom encodings can be assigned a specific icon by using the <code>&lt;encoding-icon&gt;</code> XML tag inside each <code>&lt;encoding&gt;</code> entry in the `.trex` manifest file.
266272

267273
```xml
268274

269275
<encoding-icon token="letter-x" />
270276

271277
```
272278

279+
Note that the `<encoding-icon>` keywords ("`letter-x`", for example) are ids in Tableau associated with specific icons. You should define your own friendly encoding names using the `<display-name>` tag. To help your users, the names you choose for the encoding icons should be related to the viz extension and viz type you are creating. For example, the following snippet uses the encoding icon `token="edge"` (<MarkEdgeIconSvg alt="edge primitive"/>), but labels the icon "Link" to reflect its role in a Sankey visualization.
280+
281+
```xml
282+
283+
<encoding id="edge">
284+
<display-name resource-id="edge-id">Link</display-name>
285+
<role-spec>
286+
<role-type>continuous-measure</role-type>
287+
<role-type>continuous-dimension</role-type>
288+
</role-spec>
289+
<fields max-count="1"/>
290+
<encoding-icon token="edge" />
291+
<tooltip resource-id="edge-id">Edge</tooltip>
292+
</encoding>
293+
294+
```
295+
296+
297+
273298
import MarkColorIconSvg from '../assets/icons/MarkColorIcon_16px.svg';
274299
import LetterAIconSvg from '../assets/icons/LetterAIcon_16px.svg';
275300
import MarkSizeBaseIconSvg from '../assets/icons/MarkSizeBaseIcon_16px.svg';
@@ -280,6 +305,7 @@ import MarkLineTypeIconSvg from '../assets/icons/MarkLineTypeIcon_16px.svg';
280305
import LetterDIconSvg from '../assets/icons/LetterDIcon_16px.svg';
281306
import MarkShapeBaseIconSvg from '../assets/icons/MarkShapeBaseIcon_16px.svg';
282307
import LetterEIconSvg from '../assets/icons/LetterEIcon_16px.svg';
308+
import LetterFIconSvg from '../assets/icons/LetterFIcon_16px.svg';
283309
import MarkAngleBaseIconSvg from '../assets/icons/MarkAngleBaseIcon_16px.svg';
284310
import DetailBaseIconSvg from '../assets/icons/DetailBaseIcon_16px.svg';
285311
import LetterZIconSvg from '../assets/icons/LetterZIcon_16px.svg';
@@ -330,9 +356,8 @@ import NavigationArrowRightIconSvg from '../assets/icons/NavigationArrowRightIco
330356
import ThumbnailEvenIconSvg from '../assets/icons/ThumbnailEvenIcon_16px.svg';
331357

332358

333-
334-
335-
The following table shows the list of icons you can use.
359+
The table shows the list of icons you can use.
360+
Note that the icons and keywords for the letters "f" through "y" follow the same pattern as the other letters (`token="letter-f"` <LetterFIconSvg alt="letter f"/>). For brevity, they aren't shown in this table.
336361

337362
<table>
338363
<colgroup>
@@ -388,14 +413,14 @@ The following table shows the list of icons you can use.
388413
<td><LetterEIconSvg alt="letter e"/></td>
389414
</tr>
390415
<tr class="odd">
391-
<td>angle</td>
416+
<td>wedge</td>
392417
<td><MarkAngleBaseIconSvg alt="angle primitive"/></td>
393418
<td>&nbsp;</td>
394419
<td>...</td>
395420
<td>..</td>
396421
</tr>
397422
<tr class="odd">
398-
<td>detail</td>
423+
<td>level-of-detail</td>
399424
<td><DetailBaseIconSvg alt="detail primitive"/></td>
400425
<td>&nbsp;</td>
401426
<td>letter-z</td>

0 commit comments

Comments
 (0)