PDF Document Preview in Grid Rows

Certified Senior Developer

Hi,

I am trying to get the PDF preview to work in a grid. I tried using the a!documentViewerField() but apparently, its not supported or is unable to be recognized in the grid rows. Any ideas how I can get this worked around ? At present using the below field to display the any image extension files.

a!imageField(
size: "SMALL",
isThumbnail: true,
images: {
a!documentImage(document: fv!item.imageId)
}
)

Thanks

Neil

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi Neil,

    For grid instead of showing like a thumbnail, create a related action for viewing the document which takes document ID as input and now in grid row Keep a rich text Icon like eye symbol which is having a dynamic link and when clicked on the eye icon pass the document ID and the related action will be performed, So you can view like a document.

    Hope this gives you another idea if your problem was not solved.

Reply
  • 0
    Certified Associate Developer

    Hi Neil,

    For grid instead of showing like a thumbnail, create a related action for viewing the document which takes document ID as input and now in grid row Keep a rich text Icon like eye symbol which is having a dynamic link and when clicked on the eye icon pass the document ID and the related action will be performed, So you can view like a document.

    Hope this gives you another idea if your problem was not solved.

Children
No Data