Skip to main content
January 12, 2024
Question

A grid - showing preview or actual attach document

  • January 12, 2024
  • 5 replies
  • 0 views

Hi All,

Can Anyone guide me on how to show preview or actual document inside a grid? I have a grid of documents , documentID number, name, but with the document ID is not enough to show the actual preview of document, does anyone know or can advise me how to achieve this?

thanks in advance

5 replies

jonesprakashs0001
January 12, 2024

Hi [mention:0ab51f6183f24275bb64f62a11054752:e9ed411860ed4f2ba0265705b8793d05] ,

Document viewer component cannot be used inside a grid. My suggestion would be to show the documents for each row in a record action dialog or showing each row's documents beside/below the grid (based on the existing design) on selection.

January 12, 2024

it looks like my document viewer component does not work on my server..

So if I were to use it, I would create an interface use the document viewer component and then use that interface as the record action right? I'm just trying to follow how would the steps would be.

harshitb6843
January 12, 2024

 Yes. That interface goes inside a process and then the process gets plugged as a related action on the record. 

sriramk5349
January 13, 2024

Hi [mention:0ab51f6183f24275bb64f62a11054752:e9ed411860ed4f2ba0265705b8793d05] ,

You can use a related action and the start form contains document viewer and keep the related action in one of the column of grid. When view document is clicked, in start form you can see the doc and since its related action, you can use dialog box option.