Export to PDF error - images
I have a dashboard that displays information with a field containing a person's id. On one of the cards, I display an image of the person. The card uses an html table to display the person by calling an image url. When I try to export the dashboard to PDF, the export fails.
If there any way to tell Domo to ignore a card when exporting? Or, is there another way to efficiently sync an image to my data based on a field?
CONCAT('<div style="text-align:center"><img alt="DOWN" height="170px" src=','"{image url}',`{user id}`,'.png"','>','</div>','/n','<div><a href="#"','"target="_blank">',`{user name}`,'</a></div>')
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **
Answers
-
It depends on if you need the export done as a page where DOMO will randomly display more than one card per page or if you are ok with 1 card 1 page? If that meets your needs you can select Publish as a Slideshow and you have the ability to exclude cards there and then download to PowerPoint.
1 -
Thanks for the comment. I have since removed the photo from the dashboard. Our need was for pdf or graphic output, not Powerpoint. My guess is that if it failed to export on PDF, it would probably fail on PowerPoint as well.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@ArborRose Have you tested whether it will work when exporting to PowerPoint? If that works, you could always re-save the PPT as a PDF once it's downloaded.
1 -
I had not tested with Powerpoint. After responding to Jessica's comment, I created a new image card using the code I pasted in this conversation. It worked. I re-tested export as PDF and it worked as well. Then I saw that I still had the original profile image card so I put it back onto the original dashboard..and it also worked.
In summary, exporting the images to pdf without problem now. Possibly a code fix, I don't know. I appreciate the comments and that it is now working. Now if I could just figure out how to mark this post as answered. :P** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive