Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasources url is uknown for GET command #268

Open
PowerPlop opened this issue Nov 14, 2023 · 0 comments
Open

datasources url is uknown for GET command #268

PowerPlop opened this issue Nov 14, 2023 · 0 comments
Labels
Needs Investigation question Further information is requested

Comments

@PowerPlop
Copy link

#162 introduced the Get command for a datasource.

The url for a datasource download is unclear and as described in https://kb.tableau.com/articles/howto/downloading-a-published-extract-using-tabcmd not visible in the url.
I use following command to retrieve datasources with tabcmd:

tabcmd get "datasources/$DSNAME.tdsx" --no-certcheck -f "$DS_NAME.tdsx"
Often the url will be the same as the datasource name, but:

Note: If there are other files with the same name the command replaces the file without notification. To avoid this issue specify the path for the downloaded resource.

Below example shows a datasource that is renamed by tableau (due to a rename):

{
    "result": {
        "name": "xxxxxxOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_0002",
      xxxxx
        "isFileBased": false,
        "isHierarchical": false,
        "description": "",
        "dataQualityIndicators": [],
        "connectionOAuth": false,
        "refreshMode": "Server",
        "connectionTypeEditable": true,
        "usingRemoteQueryAgent": false,
        "askDataIndexing": "MANUAL",
        "tags": [],
       xxxx
        "createdAt": "2022-01-05T13:45:38.537Z",
        "updatedAt": "2023-03-28T07:09:03.822Z",
        "repositoryUrl": "xxxxxxOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_16257521569490",
       xxxxx

How can we use tabcmd to find the original datasource url based on the name?
Tabcmd list only returns a uid that cannot be used?

<Datasource d9d03f74-928a-4d74-b72f-198b951a3a6d 'CIVL_PRODUCTOVEREENKOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_0002' (No Description parent=ecbeab9e-0ecf-42f2-863c-3d205cab072f >

@jacalata jacalata added question Further information is requested Needs Investigation labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Investigation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants