Pega Attachment

HI all,

I have one requirement where I am attaching the documents that is Excel and doc documents, when I click on the attachment just I want to view the document but in pega when I click on the attachment it’s downloading but I don’t want to download just I want to view the document. Could anyone answer this please.

@AkshathaB17056057 can you attach a screenshot of it and are you using OOTB section to see attachments on screen

@AkshathaB17056057

Can you follow the below url, there mentioned multiple approaches .

https://support.pega.com/question/view-attachment-new-browser-tab

@AkshathaB17056057

OOTB you can view PDF and the Images not the word and excel documents.

If the file is in share point then it can be done through iframe which can be grabbed from share point and configuring it in non auto generated sectiion.

@AkshathaB17056057 This is not available in pega OOTB as doc.excel are not supported by browser as natively, only pdf is supported so they can be view before download. If you need to do this you need to build your custom view like once provided by aspose: View Excel Files Free Online

@AkshathaB17056057 use open url in new window will allows you to open an attachment in new window .Call the activity from on click of button in section by using Open URL in new window action

@VenkataVamsiRamK

HI Venkat,

yeah using OOTB section to see the attachment.

when we are clicking xlxs document it’s downloading from the browser. we don’t want to download it inseated of that we have to view the document.