Giter Site home page Giter Site logo

Comments (7)

AirCooledNut avatar AirCooledNut commented on August 11, 2024 1

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.

mcoles avatar mcoles commented on August 11, 2024

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.

mcoles avatar mcoles commented on August 11, 2024

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.

AirCooledNut avatar AirCooledNut commented on August 11, 2024

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.

mcoles avatar mcoles commented on August 11, 2024

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.

wyllwo01 avatar wyllwo01 commented on August 11, 2024

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.

mcoles avatar mcoles commented on August 11, 2024

This is fixed in the v2.2.1 release

from vizalerts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.