Skip to main content
Nintex Community Menu Bar
Question

Photo view for table on Attachments object?

  • July 9, 2024
  • 5 replies
  • 24 views

Forum|alt.badge.img+18

I have a bunch of image files attached to a single record, and I want to display them together. Anyone know of a way to do this? Table with photo view?

The problem I’m running into with the later is that it wants only one image per record. I have only a single record, and multiple images.

Perhaps I can use a field editor on the attachments model? Just thought of that while typing…

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • 3766 replies
  • July 9, 2024

You probably won’t use the photo view. You will probably include the image URL in a template somewhere in your page.

If the images are in the attachments object you can use syntaxt that looks like this:

servlet.FileDownload?file=%7B%7B%7BAttachmentID%7D%7D%7D

You could create a child relationship of attachment images and then show the multiple images in a table cell.
Or you could build a model focussed just on the attachment object (with a condition that links to a parent record) and use a field editor to iterate over the attements and show them on the page.

Hopefully you can make it work.


Forum|alt.badge.img+18
  • Author
  • 2192 replies
  • July 9, 2024

Rob,

That’s perfect. Thanks!


Forum|alt.badge.img+18
  • Author
  • 2192 replies
  • July 9, 2024

Can someone point me to the thread which explains how to use CSS to get field editors to line up next to each other in rows?

Is it something like {
display: block;
float: left;
}

?


Forum|alt.badge.img+17
  • Nintex Employee
  • 3766 replies
  • July 9, 2024

Forum|alt.badge.img+11

Oh my! This is so amazing! Thanks for asking and answering this.

A word to any other newbies trying this, DO NOT INCLUDE Body as one of your attachment fields, results in " Visualforce Error: Apex heap size too large: 8506666 "