---
schema_version: "1"
id: dbb17d31fe24faa382c854a2b95a1c3b8e18cfee29dcb82d36fb6b6933b0c602
title: 将视图嵌入 Wiki
collection: tableau
version: current
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/current/zh-cn/pro/desktop/embed_ex_wiki.md
canonical_url: https://help.tableau.com/current/pro/desktop/zh-cn/embed_ex_wiki.htm
source_site: help.tableau.com
content_type: documentation
content_hash: e26411629d51428446b7227764bc5dd3434f68b97463455759c7c85979071b61
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/current/zh-cn/pro/desktop/zh-cn/Img/embedded14.png)