Tableau Server on Windows Help

Display the View with the Ticket

Version: 2019.2

After you create the POST request,
you need to write code that provides the web server with the view’s
location and the ticket from Tableau Server. It will use this information
to display the view. How you specify it depends on whether the view
is embedded, and if Tableau Server is running multiple sites.

Tableau Server View Examples

Here’s an
example of how to specify a view that users only access via Tableau
Server (the view is not embedded):

http://tabserver/trusted/<ticket>/views/<workbook>/<view>

If
Tableau Server is running multiple sites and
the view is on a site other than the Default site, you need to add t/<site
ID> to the path. For example:

http://tabserver/trusted/<ticket>/t/Sales/views/<workbook>/<view>

Use the same capitalization that you see in the Tableau Server URL.

Embedded View Examples

Here are some examples
of how to specify embedded views. Because there are two approaches
you can take with embed code,
both ways are provided below. Regardless of which you use, there
is some information unique to trusted authentication that you must provide. For more information, see Writing Embed Code.

Note: The examples below use embed code parameters. For more information, see Embed Code Parameters in the Tableau Help.

Instead of using ticket,
you can use the path parameter
to state the full path of the view explicitly. When path is
used, you do not also need the name parameter,
which is usually a required parameter in Tableau JavaScript embed
code: