---
schema_version: "1"
id: 80c0626e4c52702bb7ba8c8691b7b6717d01c54d8f8b9a2c63f7d2abeb6f032b
title: tsm customize
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/cli_customize.md
canonical_url: https://help.tableau.com/current/server/zh-tw/cli_customize.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 86f4e35f525ebea0af77211b85889b0b99cda19341353ae2289e025d20f2beac
description: Reference for the tsm customize command to brand the Tableau Server browser experience.
---
[跳至主要內容](#main-content)

# tsm customize

您可以使用 `tsm customize` 命令自訂 Tableau Server 用戶端瀏覽器體驗的外觀。

![Tableau Server 探索頁面。](/tableau/current/zh-tw/server/zh-tw/Img/custom_namelogo.png)

| 標誌 | 選項旗標 | 大小下限/大小上限（以像素為單位） | 建議大小（以像素為單位） |
| --- | --- | --- | --- |
| **A** - 視窗索引標籤標誌 | 無法變更 | 無法變更 | 無法變更 |
| **B** - 伺服器名稱 | `--server-name` | 不適用 | 不適用 |
| **C** - 標題標誌 | `--header-logo` | 最小 32 x 32，最大 160 x 160 | 48 x 48 |
| **未顯示** - 登入標誌 | `--signin-logo` | 最大 3000 x 3000 |   |
| 標題標誌/登入標誌 | `--logo` | 最小 32 x 32，最大 160 x 160 | 48 x 48 |
| **未顯示** - 在巡覽窗格最小化時顯示的標誌 | `--compact-logo` | 最大 32 x 32 | 32 x 32 |

使用的影像檔應為 GIF、JPEG 或 PNG 格式。

標題和登入頁上的背景色不同。如果您在這兩個位置上使用相同的影像（例如，如果您使用 `--logo` 選項），您的標誌可能會依據在伺服器介面中顯示的位置而有所不同。

作為災難復原計劃的一部分，我們建議將自訂影像檔案的備份儲存在 Tableau Server 之外的安全位置。您新增至 Tableau Server 的影像檔案將由用戶端檔案服務儲存並散發至其他節點。但是，這些檔案不會以可復原的格式儲存。請參閱[Tableau Server Client File Service](https://help.tableau.com/current/server/zh-tw/server_process_cfs.htm)。

### 概要

`tsm customize [options] [global options]`

執行 `customize` 命令之後，您必須執行下列命令以套用變更：

`tsm pending-changes apply`

### 選項

**附註：**路徑和影像檔案中不得包含任何空格。

\--compact-logo "<path-to-logo>"

選用。

指定巡覽面板最小化時所顯示的影像檔案路徑。最大（和最佳）大小是 32 x 32 像素。

\--header-logo "<path-to-logo>"

可選。

指定將僅顯示在標題中的影像檔案的路徑。

\--logo "<path-to-logo>"

可選。

將為標題和登入視窗顯示的單一影像檔案的路徑。

\--restore-defaults

可選。

將所有自訂選項重設為預設安裝狀態。

\--server-name <server\_name>

可選。

出現在瀏覽器索引標籤、工具提示和訊息中的伺服器名稱。

\--signin-logo "<path-to-logo>"

可選。

指定將僅顯示在登入視窗中的影像檔案的路徑。

## 全域選項

\-h, --help

可選。

顯示命令說明。

\-p, --password <password>

在會話不是活動狀態的情況下為必需，`-u` 或 `--username` 也為必需。

為在 `-u` 或 `--username` 中指定的使用者指定密碼。

如果密碼包括窗格或特殊字元，請將其括在引號中：

`--password "my password"`

\-s, --server https://<hostname>:8850

可選。

對 Tableau 服務管理器使用指定的位址。URL 必須以 `https` 開頭（包括連接埠 8850），並使用伺服器名稱而不是 IP 位址。例如 `https://<tsm_hostname>:8850`。如果沒有指定伺服器，則假定為 `https://<localhost | dnsname>:8850`。

\--trust-admin-controller-cert

可選。

使用此旗標來信任 TSM 控制器上的自我簽署憑證。如需有關憑證信任和 CLI 連線的詳細資訊，請參閱[連接 TSM 用戶端](https://help.tableau.com/current/server/zh-tw/tsm_overview.htm#Connecti)。

\-u, --username <user>

在會話不是活動狀態的情況下為必需，`-p` 或 `--password` 也為必需。

請指定使用者名稱。如果未包括此選項，則使用您登入所使用的認證執行該命令。