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.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 294 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 607 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 707 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive