KNOWLEDGE BASE

Unable to Export Landscape Page Layout using "Query View PDF" REST API


Published: 22 Feb 2018
Last Modified Date: 18 May 2018

Issue

When a view with a default orientation of "Landscape" is exported via "Query View PDF" REST API method, the resulting PDF is has an orientation of Portrait.

Environment

Tableau Server 10.5.0

Resolution

Option 1

As a Tableau Server Administrator, upgrade to Tableau Server 10.5.3 or 2018.1.1. For more information, see Upgrading Tableau Server in Tableau Help. 

Option 2

As a workaround, try exporting to PDF via tabcmd.

Cause

This behavior is related to a known issue (ID: 742411) which has been fixed in a recent release of Tableau Server. 
Did this article resolve the issue?