Capture attachment from a sheet and display in Dashboard widget
Answers
-
I'd like to see if I can take this on a similar tack, but only want to show a single image on the dashboard that would pull from an attachment to a specific row in a sheet.
To be fully clear… we use an Intake sheet to provision projects using Smartsheet Control Center. That provisioned project has a distinct Metadata Sheet that pulls data from the Intake Sheet record/row. Most of our project Dashboard content comes from that Metadata Sheet (or from another Dashboard Metrics Sheet distinct to each project).
We now have PMs that want to attach (to the Intake Sheet row for a specific project) an image of the project (using the attachment tool embedded within Smartsheet).. I'd like to pull that attachment file (image) into the Metadata Sheet for that project and then display it on the Dashboard for that project using the Image widget. Is this possible?
How would I capture the attachment from the Intake Sheet into the Metadata Sheet; and then how would I access that Image from the Metadata Sheet into the Dashboard widget?
Thanks! -
Bob,
I am not sure what level of experience you have with the Smartsheet API documentation, but this might help clarify the challenge and provide some direction.
- We need to be able to store a variable in the dashboard that links to the destination of the incoming image at the project level.
- We need to be able to generate a URL from an image stored at row.
- We need the variable to be linked to the storage location of the image URL.
- We need the Python script to iterate through every sheet listed in the project charter to ensure proper image association.
The API docs explain how to generate a URL from an image stored in a cell, I posted that code snippet below.
imageUrl = smartsheet.models.ImageUrl(
{
"imageId": 'jpbGklqdfZuL4Jw-kZhdZA',
"height": 256,
"width": 256
}
)response = smartsheet_client.Images.get_image_urls([imageUrl])
url = response.image_urls[0].urlThis thread appears to ask the same question with no response. I am not entirely sure it is possible but it would be fun to give it a try.
Dashboard Image Widget Data Source via cell from Sheet — Smartsheet Community
Best of luck.
CEO | Skyway Consulting Co.
Does your Dashboard need a map that updates from Smartsheet Data?
We pioneered 101+ ways to add a map to a Smartsheet Dashboard.
Smartsheet and GIS Integrations
→ Explore Smartsheet Maps (ArcGIS)
→ LinkedIn
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives