2 Replies Latest reply on Dec 13, 2017 2:27 PM by Rahul Pandey

    Is there any Tableau Server REST API to check if view exists in a site ?

    Rahul Pandey

      I am using Tableau Server Version 10.3, Tableau Server REST API version 2.6 and looking for a way to check if a view exists in the site based on its share URL

       

      Input: (share URL of a view)

      http://my-tableau-server/views/my-workbook-name/my-view-name?:embed=y&:showAppBanner=false&:showShareOptions=true&:display_count=no&:showVizHome=no

       

      Output:

      Boolean flag indicating whether the view represented by this share URL exists in a site or not.

       

      I found an option to Query Views for Site where filtering on views is applicable only on the following fields and not on the contentUrl field:

      • name
      • createdAt
      • hitsTotal
      • ownerName
      • tags
      • updatedAt

       

      I do not want to get all the views of a site and filter in my dot net code. Please suggest if there is any other option available.

      Thanks!