You can embed a Tableau Server view in a SharePoint page. If Tableau Server is using Local Authentication for user authentication, there are some extra steps you need to take before you start embedding views.
This topic describes how to complete the following steps:
- Edit the security permissions for the TableauEmbeddedView.dll file.
- Install and deploy the TableauEmbeddedView.wsp file.
- Verify the web part’s deployment.
- Embed a view in SharePoint using the Tableau web part.
Note: If your Tableau Server installation is using Active Directory for user authentication, you can start embedding views right away. For more information, see Embed Views into SharePoint (Microsoft SSPI).
Requirements
Users: To access an embedded view, users must be licensed Tableau Server users and their user name on SharePoint must be the same as their user name on Tableau Server.
SharePoint version: Starting with Tableau Server 8.1, you must use SharePoint 2013 to embed Tableau Server views in SharePoint pages. SharePoint 2013 uses Microsoft .NET Framework version 4.5, which meets Tableau Server's security requirements.
Edit Security Permissions for TableauEmbeddedView.dll
Edit the security permissions for TableauEmbeddedView.dll so that all users of the operating system can use it.
- Locate the TableauEmbeddedView.dll and TableauEmbeddedView.wsp files that install with Tableau Server. If Tableau Server is installed on drive C, the files will be in the following directory:
C:\Program Files\Tableau\Tableau Server\
9.0\extras\embedding\sharepoint\
- Copy the files to the root directory of your SharePoint server. The root directory is usually located at
C:\Inetpub\wwwroot\wss\VirtualDirectories\<port>\bin
, for example:
C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin
- To edit the security permissions on TableauEmbeddedView.dll, right-click TableauEmbedded.dll and then select Properties > Security.
- Under Group or user names, select Everyone, and then click Edit.
- Under Permissions for Everyone, for the Full control permission, select Allow.
- Click OK.
C:\Program Files\Tableau\Tableau Server\
9.0\extras\embedding\sharepoint\
C:\Inetpub\wwwroot\wss\VirtualDirectories\<port>\bin
, for example:C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin
Install and Deploy TableauEmbeddedView.wsp
The TableauEmbeddedView.wsp file gives SharePoint more information about what to do with the .dll file. You copied the TableauEmbeddedView.wsp file to the SharePoint root directory in the previous procedure. To install and deploy the .wsp file, follow these steps:
- Open SharePoint 2013 Management Shell and enter the following command:
Add-SPSolution -LiteralPath "C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin\TableauEmbeddedView.wsp"
- On the SharePoint Central Administration home page, click System Settings.
- In the Farm Management section, click Manage farm solutions.
- On the Solution Management page, click the solution that you want to deploy.
- On the Solution Properties page, click Deploy Solution.
- On the Deploy Solution page, in the Deploy When section, select one of the following options:
- Now
- At a specified time. Specify a time by using the date and time boxes.
- In the Deploy To? section, in the A specific web application list, click All web applications or select a specific Web application, and then click OK.
- Open your SharePoint site. Click the settings icon, and then select Site settings.
- Under Site Collection Administration, click Site collection features.
- Scroll to the TableauEmbeddedView feature and then click Activate to activate the feature.
Add-SPSolution -LiteralPath "C:\Inetpub\wwwroot\wss\VirtualDirectories\80\bin\TableauEmbeddedView.wsp"
- Now
- At a specified time. Specify a time by using the date and time boxes.
Verify the Web Part's Deployment
In the following procedure, you will verify that the Tableau web part is installed.
- Open your SharePoint site in a web browser.
It may take a few moments for the site to appear.
- Click the settings icon, and then select Site settings.
- Under Web Designer Galleries, click Web parts.
- Confirm that TableauEmbeddedView.webpart is listed.
It may take a few moments for the site to appear.
Embed a View Using the Tableau Web Part
You can embed the Tableau web part in a new or existing SharePoint page.
- Open the page where you want to embed a view and switch to edit mode.
- In the section of the page where you want to embed the view, on the Insert tab, click Web Part.
- Under Categories, in the Custom (or Miscellaneous) folder, select TableauEmbeddedView, and then click Add in the lower-right corner.
- Select the TableauEmbeddedView web part, click the drop-down arrow, and then select Edit Web Part.
- On the right side of the page, you can specify the attributes of the TableauEmbeddedView web part.
- In Tableau Server Name, enter the name of your Tableau Server. You do not need to enter "http://" before the Tableau Server name.
- In View Path, enter the path to the view you want to embed.
- Specify whether you want to show the toolbar, use Trusted Authentication, use SSL, or if you want to embed the view as an image instead of as an interactive view.
- In the Appearance section you can specify a Title for the web part, the Height, Width, Chrome State, and Chrome Type. In general you should specify a fixed height (for example, 700 Pixels) and adjust the width to fit the zone.
- Click OK to apply the changes and exit edit mode.
Now the view is embedded in the page and users who access it will be automatically signed in based on their user name and password for SharePoint.
This is an example of embedding views into SharePoint using the provided .dll file. You can also embed views into other types of web applications. See JavaScript API for more information.
- In Tableau Server Name, enter the name of your Tableau Server. You do not need to enter "http://" before the Tableau Server name.
- In View Path, enter the path to the view you want to embed.
- Specify whether you want to show the toolbar, use Trusted Authentication, use SSL, or if you want to embed the view as an image instead of as an interactive view.
- In the Appearance section you can specify a Title for the web part, the Height, Width, Chrome State, and Chrome Type. In general you should specify a fixed height (for example, 700 Pixels) and adjust the width to fit the zone.
This is an example of embedding views into SharePoint using the provided .dll file. You can also embed views into other types of web applications. See JavaScript API for more information.
No comments:
Post a Comment