Tableau Reporting - tableau-api

I am currently using Tableau for my reporting module. However, I have several issues I need answered. I tried the following; please comment if I am on the right track.
I want to embed Tableau generated report to my website, so I used Javascript API. My data may come from Tableau Online (Cloud Server), or Tableau Server, for now I used Tableau Online.
Now, I have to create my report so I used Tableau Desktop to create how my report would look like. Tableau Desktop can connect to my local DB for get data.
Then, I published my workbook to my server . However, in Tableau Online, I need to data connection which fails since I don't have a live server.
I downloaded Tableau Server but I can't proceed since in configuration it want an Active Directory credentials.
I haven't done any output, I think I am stuck. I would welcome some input.

Tableau supports both Active Directory and Local Authentication Mode. We have tableau server running in local authentication mode but however its not highly advisable to run the server in local authentication.
If you have installed tableau server in active directory mode, reinstall the server. During your reinstall select local authentication as the default authentication. Once you have installed it, you need to add on Administrator Account.
Another workaround is go to All Programs > Tableau Server > Configure Tableau Server. In General Tab, you will be having the User Authentication. Try changing it if its enabled. If its disabled you need to reinstall tableau.
below are the steps to reinstall tableau server
Back up and remove Tableau Server
When Tableau Server has been uninstalled, open Windows Explorer and navigate to C:\Program Files\Tableau.
Delete the Tableau Server folder.
Navigate to the C:\ProgramData\Tableau.
Delete the Tableau Server folder.
Reinstall Tableau Server and restore the backup
Install Tableau Server. This step will allow you to set a new authentication method.
After installing Tableau Server, a browser window will display and you will be prompted to create a new administrator account. Ignore this, and close the browser window.
After restoring your backup file, a browser window will display and you will be prompted to create a new administrator account again. Ignore this, and close the browser window. If you are prompted to type in the Run As user password, type the password and continue with the next step. You will not see a password confirmation.
In the Command Prompt window, from the Tableau Server bin directory, type the following command to reset Tableau Server back to a state that requires an administrator account to be set up:
tabadmin reset
Open a browser window, and type http://localhost in the address bar to set up the administrator account for Tableau Server.

I may have assumed that when you say Tableau Online, you dont mean the Tableau Public..
I assume your tableau online is your local or let's say company hosted tableau server...
for the answers to your questions in sequence
1 - 3 it can be done.
tableau supports a lot of datasources even the classic text based data it can read..
did you tried installing your database drivers?
If the server is configured to use local authentication, when you add
a user identity, you specify a username, a password and a site role.
In that case, the Tableau Server repository is used exclusively to
authenticate the user.
http://onlinehelp.tableau.com/current/server/en-us/security_auth.htm

Related

Tableau Desktop Connection to Tableau Server ..Data Source

I able to connect to Tableau Server using Tableau Desktop 2020.2.7 and cannot see data in "Search for data ". I am planning to run a performance recorder for one Dashboard. Please advise what has to be done to see the dashboard.
Note: I am able to access all dashboards when I log in using the Tableau server using the URL through the browser.
You will need to seek elevated permissions in order to connect Tableau Desktop to Tableau Server. In the case that you intend to develop locally and be able to publish (and overwrite) you would need the access level of:
'Explorer (can publish)'
Yes, it appears whilst you have 'Viewer' access that enables you to you access dashboards via the URL in the browser, you won't be able to connect Tableau Desktop nor be able to download the workbook as a file either (only summary data).
See Permission and Roles
Namely what each of the capabilities are under different scenarios (matrix table)

Using DB2 on Windows 10 computer with PIN instead of password (Azure AD accounts)

I'm new to DB2 database. I installed DB2 Express-C on my local machine (Windows 10) to play with it, and I created a sample database.
If I understand correctly, DB2 uses Windows accounts for access to database. The installation created a db2admin user, but this one does not have access to the sample database. So my understanding is that my Windows account has access to this database.
So here is the problem. My company uses Azure Active Directory accounts, using Windows Hello to log in - that means, using a PIN to log in instead of a password (meaning my password does not work for login). However, if I want to connect to the database, I need to do this with my account's password. How can I do this? Do I need to create a local account on my machine instead of using Azure account?
If you are able to create a local-user on your workstation, and assign it a password, and ensure it is a member of local groups DB2USERS (and optionally) DB2ADMNS if those local-groups exist, that is likely to be the easiest option.
You may need to have Windows local-administrative rights to be able to perform those actions.
You can then connect to any local Db2-databases with that local-account and its password (regardless of how you sign-in to Windows).
If you allowed Db2-installation to create local user db2admin (and give it a password) then that local-account is also able to connect to local Db2-databases, including the SAMPLE database. So it's unclear why you write that db2admin account does not have access to SAMPLE database. As long as db2admin has a valid password then that account can connect to SAMPLE if all default settings are active.
Db2-LUW is able to integrate with Active-Directory provided pre-requisites are met and special configuration is performed, see documentation. But unless you have special security plugins for Db2, then any account that wants to connect to local Db2-databases will need a password. With special security plugins, other forms of authentication are possible.
Windows 10 Azure account login gives license to only one user to access windows account. If you login with db2admin in your windows you might lost azure account I am facing such issues.
Better to communicate with IT team of your company and ask to provide DB2ADMN right to your Azure login user. DB2 install properly but not able to create database permission/authorization issue coming.

asking credentials when opening worksheet

I had published my Dashboard to server and while opening it to server it is asking me to login. even I gave the correct credentials it is asking me to login again.
When I try to connect SQL server with the same credentials it is working.
To view a published a workbook (that uses a live connection) without being prompted for credentials, the credentials for the underlying data source must be embedded.
How is your data source configured? Live or Data Extract?
Did you choose the "Embedded Password" option when publishing to the server?

Can Tableau Reader connect to a workbook published on Tableau server in a remote location?

I have multiple people that I want to access this workbook, but we have license restriction limits. My boss recommends tableau reader, but have never used it. The tableau workbook is published in a secure website and the tableau server program is stored in a Remote Desktop.
Any help would be greatly appreciated!
Thank you!
Tableau Reader can open Packaged Tableau workbooks. A packaged workbook is a tableau workbook file with the data saved along with it. It has twbx file extention. So if you have access to the workbook on your server and you can download it and the data, then Reader should work for your case.
Tableau Reader cannot connect to Tableau Server. You need to download the twbx file first. Either your users will need a shared account on tableau server which is restricted access to the content you want to provide.
Or your users could use tabcmd to download the content without directly signing into the server.
tabcmd login -s http://remotehost -u user -p password
tabcmd get "/workbooks/sharedReport.twbx" -f "C:\Workbooks\sharedReport.twbx"
The useful pro of the 2nd option is that it could be automated into a script and run from a schedule, perhaps under a different account so that end users are not aware of it.

Moodle LDAP authentication

I'm using moodle 2.7 ,i need to use LDAP authentication for allowing users to login using external LDAP server(with their username and password).i have tried with the apache directory studio.But i got "Invalid login" error.But the login details were correct.
Please suggest me with some other LDAP server and how to add user details in that server and do authentication in moodle.
FusionDirectory is a reasonable alternative. It's based on OpenLDAP and it's pretty well documented.
Assuming that you're in a Linux environment, you can install it relatively easily/quickly via SSH. Once the download is complete, follow the on-screen instructions which is not that wildly different from setting up any odd CMS/LMS. The default URL is yourdomain.url/fusiondirectory.
When that's all done and dusted, you'll be taken back to the login page where you can sign in for the first time using the credentials you created during the set up process.
You can use your dashboard to add users/groups.
Once you've got a few users in there, it's now time to jump back to Moodle. Hop over to Site Admin -> Plugins -> Authentication -> Manage Authentication and enable "LDAP Server" then open up its settings. Fill in the details of your LDAP server such that it matches the details of the FusionDirectory.
This will set up the connection, but you will finally need to set up a cron job to regularly sync your databases together. Jump to SSH or cPanel->Cron jobs (Whatever option you prefer) and run the following crontab:
wget -q -O /dev/null https://yourdomain.url/auth/ldap/cli/sync_users.php
It's up to you how frequently you choose to set it.
HTH.