Hello;
I have a collection. I need to show 2 text fields in this collection and the images in the attachments on the page.
The html code below works but I can only throw the first attachments. When I use nested concat, unfortunately the inner concat cannot get the outer concat data. How can I solve this?
"<div>" &
Concat( myCollection;
"<div>" &
"<h3>" & 'Title1' & "</h3>" &
"<p style='margin-left: 20px;'>" & Title2 & "</p>" &
If(isAttachments; "<div style='margin-left: 20px;'><b>Yes</b><br>"
& Concat( First(myCollection).Attachment; "<div>" &
"<img src='" & AbsoluteUri & "' alt='Image' style='max-width: 500px; height: auto; margin-bottom: 10px;'/>" & "<div>" ) &
"</div>"; "<p style='margin-left: 20px;'>No</p>" ) & "</div>" ) & "</div>"
Unfortunately, I get an error when I type Attachment instead of First(myCollection).Attachment.
I tried LookUp( 'Technical Specification'; ID = ThisRecord.ID).Attachment but ThisRecord.ID part always gets the ID information of the first data.