Complete the code to publish the workbook to Tableau Server.
server = TableauServerConnection(config) server.[1](workbook_path='dashboard.twbx')
Publishing the workbook shares it on Tableau Server, enabling others to access it.
Complete the code to set permissions for a user group to view the dashboard.
permissions = server.permissions.create() permissions.set_[1]('Viewer')
Setting the role to 'Viewer' grants view-only access to the group.
Fix the error in the code to share a dashboard link via email.
email_body = 'Please find the dashboard here: ' + dashboard_url send_email(to=recipient, subject='Dashboard', body=[1])
The email body should contain the full message with the dashboard link.
Fill both blanks to create a shared project and assign permissions.
project = server.projects.create(name=[1]) project.set_[2]('Editor')
Creating a project named 'Sales Dashboard' and setting role to 'Editor' allows editing rights.
Fill all three blanks to automate sharing and notify users.
server.[1](workbook_id) message = 'Dashboard updated: ' + [2] notify_users(email_list, subject=[3], body=message)
Publishing the workbook, including the dashboard URL in the message, and sending a notification email with a clear subject enables effective sharing.