Comments (7)
Perfect, just as I thought. Thanks!
Yeah, I couldn't get the code formatting to work either, thus the messy looking message o' mine.
from vizalerts.
This should be a fix for it, but need to test on a 2023.1 Tableau Server instance to be sure.
VizAlertsConfig_2020.4_with_fix.twb.txt
from vizalerts.
This does not work, as the _workbooks view does not appear to have been updated with the new project mapping logic. (sigh).
The SQL joins necessary will look like this:
INNER JOIN workbooks w ON v.workbook_id = w.id INNER JOIN sites st ON v.site_id = st.id INNER JOIN projects_contents pc ON w.id = pc.content_id AND pc.content_type = 'workbook' INNER JOIN projects p ON pc.project_id = p.id
from vizalerts.
Is the above INNER JOIN statement in addition to the list of ones near the bottom of the SQL or does it replace the existing ones near the bottom at
` INNER JOIN workbooks w
ON v.workbook_id = w.id
INNER JOIN sites st
ON v.site_id = st.id
INNER JOIN projects p
ON w.project_id = p.id`
from vizalerts.
It replaces it. Using the workbooks.project_id field is no longer valid, as of 2023.1, so you have to join to projects_contents. Not sure why the code formatter won't let me add line breaks properly...but basically you're
Replacing this:
INNER JOIN workbooks w
ON v.workbook_id = w.id
INNER JOIN sites st
ON v.site_id = st.id
INNER JOIN projects p
ON w.project_id = p.id
...with this:
INNER JOIN workbooks w
ON v.workbook_id = w.id
INNER JOIN sites st
ON v.site_id = st.id
INNER JOIN projects_contents pc
ON w.id = pc.content_id
AND pc.content_type = 'workbook'
INNER JOIN projects p
ON pc.project_id = p.id
Those changes could be written more concisely, I know, but I wanted to show how workbooks related to projects in its entirety.
from vizalerts.
Thank you so much for contributing to this. Looks like Tableau no longer populates the project_id column in the workbook table in version 2023.1? Due to this, VizAlert specification workbooks published after upgrading to Tableau version 2023.1 do not send VizAlerts (since the inner join to the project table on workbook_id filters out workbooks and therefore the VizAlert specifications do not show in the VizAlertsConfig workbook).
Summary: VizAlerts is not compatible with Tableau 2023.1 at least due to this issue.
Do you have an estimate on when this fix will be merged to main?
Thanks!
from vizalerts.
This is fixed in the v2.2.1 release
from vizalerts.
Related Issues (20)
- yaml.load has been deprecated and is unsafe HOT 2
- Allow empty Email To HOT 1
- problem upgrading to 2.2.0 from 2.1.1 HOT 2
- Mixed action flag values used with consolidate lines can cause no emails to send
- Add check to ensure that cert file is not a directory
- Setting a customized mail header and body HOT 1
- Viz Alert s are not sending out as getting an error like CSV and Sort Oder. We are using 2.1.1 version. HOT 3
- merge_pdf_attachments incompatible with MyPDF2 3.0.0 and other packages. HOT 1
- 'AttributeError' object has no attribute 'message' error when downloading alert CSV HOT 2
- VizConfigSQL HOT 1
- Upgrading Tableau to 2023.1.2 (Invalid regular expression "allowed_from_address" HOT 2
- Detect invalid CSV export data and improve user messaging
- Add requirements.txt
- Issue #203 is not fixed in vizalerts.zip file in release 2.2.1 HOT 3
- [ERROR] - export_view - Request Exception getting vizdata from url
- Vizalert not working on Tableau 2023.3
- Tableau server 2023 can't export as CSV HOT 2
- ѴizAlerts – On Refresh Success with live data
- Ability to send a vizalert email that cannot be forwarded on
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vizalerts.