last publish date of a tableau workbook using tabcmd commands - tableau-api

how to know the history of publish dates of a tableau workbook that is present on tableau server with the help of tab command utility, I have checked for list of tab command utility but not able to figure.

Tabcmd doesn't have a feature yet to extract the publish dates for any particular Tableau workbook. But we have rest-api for our rescue.
Using the workbooks views methods of the Tableau Server REST API you can do the operations such as -
Get or update the details of a specific workbook (createdAt,
updatedAt, etc...)
Return a list of revision information (history)
for the specified workbook
URI details
GET /api/api-version/sites/site-id/workbooks/workbook-id
GET
/api/api-version/sites/site-id/workbooks/workbook-id/revisions
Also, if using python then we have Tableau Server Client (TSC) to interact with the Tableau Server REST API (and perform almost everything that can be done with the REST API).
Using the TSC library, you can get information about a specific workbook or all the workbooks on a site.
Using workbooks.get(req_options=None) method returns information about the workbooks on the site and workbooks.get_by_id(workbook_id) returns information about the specified workbook on the site.
More details here & here.

I am not sure it is possible using tabcmd.
But you can get the first & last published date of a workbook using tableau server REST API to query a workbook and get created and last updated dates.
Look here for details

Related

How to share a workbook with client in Tableau who do not have Tableau account or tableau reader

I want to share my workbook with client who do not have tableau account and tableau reader.
I want to share a URL which they can access without doing any login.
user should not be able to download or see the data.
Thanks for the help.
There may not be a solution to this without paying for a subscription.
You can share using Tableau Public - but anyone is able to see that. You can prevent download in Tableau Public, so if it's ok to share the aggregate numbers displayed in your dashboard this could work.
With Tableau Reader, you're also sending all of the data, so rule it out based on your requirements.
Other options mean paying - either Tableau Online or Tableau Server.

List out GitHub Organization Members UserName and Email to CSV/Excel

Is there a way to export the list of GitHub Organization Members UserName and Email in csv or excel. I need to get the list to clean up users who no longer using the repositories.
Go to https://github.com/orgs/<your-organization>/people, click the Export drop down, and choose CSV.
This feature was added in October 2021.
Further documentation.
GitHub doesn't provide an export functionality for organization members, but this can be easily scripted using a language like Ruby and the API. The REST API provides a paginated endpoint to list members, which you can call incrementally to get all the members, and then emit to a CSV format from your script.

Are Tableau dashboards, hosted on Tableau Server, downloadable by viewers?

If you download a Tableau Public dashboard, you'll get access to the datasets that where use to make it.
I believe it is the same for Tableau Desktop dashboards.
Which leads me to : are Tableau Desktop documents, stored on a Tableau Server, downloadable by anyone with access to that link ?
I would like to publish a Tableau Desktop dashboard on a Tableau Server so I can put it on a website yet I don't want the viewers to be able to download the dashboard. Knowing this will likely determine whether or not I buy Tableau Server.
Short answer is yes, people who have access to download (which you set in the user or group permissions) will be able to see whatever data it is connected to. If it is connected to a database such as SQL the user would be prompted to enter credentials that are allowed to connect to that database. If the data is in the form of an excel document then it would just be available with the download.
It sounds to me all you really need is to just limit the users from having download access, which is changed in the user/group settings. Just let them "view only".
Hope that helps!
To add to the answer above:
Not only in Tableau Server can you restrict users from downloading your data, also in Tableau Public. Under 'Edit details' of your dashboard, you will find a checkbox for "Allow workbook and its data to be downloaded by others". If you uncheck this, viewers will not be able to download the workbook or it's underlying data.
To add to your real intentions with this question: As far as I understand your question, you want to use Tableau Server to present you data on a website. Is this website meant for everyone to be accessible without signing in to Tableau Server? If so, then this will not be possible with a regular Tableau Server license, only with the (very expensive) core license.
See the explanation on Tableau's website about embedded views: Embedded views

Tableau Server Extracts issue

A developer had created dashboard and successfully published to tableau server for auto refresh extract every day, Developer had data and DB access at that time.
Now the same developer's access for DB is removed, is it possible to get fresh data to reports everyday? will the extract have new data everyday ?
Not unless you update the database credentials published with the data source to be something that the database accepts
You typically want some sort of service account for this purpose - so that the published dashboards still work when the original publisher leaves

users who are not currently part of the windows AD group but still are in the tableau group

I am using Tableau server V 8.3.
How do I get the users who are not currently part of the
windows AD group but still are in the tableau group
Enable external read-only access to the Tableau Server repository
Get a list of Tableau Server users for the All Users group
Using the method above, get the users for each group on Tableau Server
Compare the All Users group against all of the other Tableau Server groups. Any user who is in the All Users group but not any other group should fit your criteria
Write a batch script using tab admin's get command to import all the users in tableau local to an xml file.
Using the xml file you can create a report.