---
schema_version: "1"
id: b80672d332fa35224cb0b5ee97f879e436485b262f878952a1a337f24ac02afd
title: 将视图嵌入 Wiki
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/pro/desktop/embed_ex_wiki.md
canonical_url: https://help.tableau.com/v0.0/pro/desktop/zh-cn/embed_ex_wiki.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 0c79e0d8c0305f8fb780783dcc8cd3c6717c725f1de72441580a4415c2c6c873
description: Embed a Tableau view into a wiki page using an iframe tag.
---
[跳转到主要内容](#main-content)

# 将视图嵌入 Wiki

只需将视图放在一个 `<iframe>` 标记内，即可轻松将视图嵌入 Wiki 或其他网页中。

1. 导航到要嵌入视图的 Wiki 页面。
2. 编辑页面并添加 `<iframe>`，其中的源是您在视图上单击“共享”并随后单击“复制连接”时获得的 URL。例如：
    
    <iframe src="http://myserver/views/Date-Time/DateCalcs?:embed=yes&:toolbar=no" 
    width="800" height="600"></iframe>
3. 保存所做的更改。
    
    如果使用 Tableau Server，并且 Tableau Server 和 wiki 均配置为使用 Active Directory 自动验证用户身份，则用户将会立即看到视图。否则，用户将需要登录，然后才能看到视图。
    
    ![包含用户名和密码字段的 Tableau 登录页面。](/tableau/next/zh-cn/pro/desktop/zh-cn/Img/embedded14.png)