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

Flow image unavailable when using flows publish method #1537

Open
CodingOnWindowsOS opened this issue Nov 23, 2024 · 1 comment
Open

Flow image unavailable when using flows publish method #1537

CodingOnWindowsOS opened this issue Nov 23, 2024 · 1 comment

Comments

@CodingOnWindowsOS
Copy link

CodingOnWindowsOS commented Nov 23, 2024

Describe the bug
When using the flows publish method, the flow image is not available on Tableau Cloud or Tableau Server. This occurs when using a .tfl and .tflx file. The image is available when manually published through Tableau prep using either file type. A flow image is a diagram of the steps created to produce a desired output. This is what the user sees when creating the flow. When zipping and subsequently unzipping the flow file this is the flowGraphThumbnail.svg. The image renders on local machine.

Versions
Details of your environment, including:

  • Tableau Cloud (latest) and Tableau Server (2023.3.6)
  • Python 3.12.3
  • TSC library version 3.24

To Reproduce
server.flows.publish( flow_item=new_flow, file=Path('some_flow.tfl'), mode='CreateNew' )

Results
Flow image unavailable
flow_image_missing

If more information is required, then please let me know.

@CodingOnWindowsOS
Copy link
Author

After downloading the flow from the server manually and inspecting the unzipped contents, I noticed an additional image called flowGraphImage. This image file seems to be produced by the Server / Cloud instance and is not produced when creating and publishing a flow from a local machine, so when I attempt to publish, the image is not available.
flowGraphImage

This lines up with another observation I had while editing the flow "in-place" on the server. I noticed that if I edited the flow with the flow image not available issue and clicked republish, then the flow image would be produced. Seems like something that is done server side if I have connected to dots correctly.

Is there anyway to trigger this when using the flows endpoint publish method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant