0 Replies Latest reply on Sep 29, 2018 10:31 AM by Issam Rachdi

    Export view to pdf using REST API - Filters not working

    Issam Rachdi

      Hi,

       

      I'm trying to get a view as a pdf file using the rest api, as shown here in the documentation. I'm using tableau 10.5.

       

      I can get the pdf export working, but the filters are not used. If i use the same request, and just change pdf with image, the filters work.

       

      For example:

       

      This request returns the pdf but without considering the filters.

       

      http://MY_SERVER/api/2.8/sites/SITE_ID/views/VIEW_ID/pdf?vf_somefield=somevalue

       

      The same request, just changing pdf to image returns the image using the filters

       

      http://MY_SERVER/api/2.8/sites/SITE_ID/views/VIEW_ID/image?vf_somefield=somevalue

       

       

      Thanks