SAP Knowledge Base Article - Preview

3314896 - PDF files not shown in browser, but downloaded - other files downloaded as "archive in SAP Archiving and Document Access Core by OpenText

Symptom

You are using Archive Center 16.2.3 to retrieve archived PDF, Excel or Outlook files. The expectation is that PDF files are displayed within the web browser and that Excel files and Outlook files are downloaded with the correct file name and extension.

However, when you use the Java setting -DContentDispositionType=none for Archive Center 16.2.3, the PDF document is displayed within the web browser, but for Excel and Outlook files only a file called "archive" is downloaded without any extension, your end user has no idea what type of file is behind the downloaded "archive" file.

When you use the Java setting -DContentDispositionType=inline for Archive Center 16.2.3 the PDF documents are downloaded as files <docid>.pdf, end users are asked to either save or open the downloaded file, this is not what you expect. With Excel and Outlook files they are downloaded with the correct name and extension, for example <name_a>.xlsm and <name_b>.msg, both files can be opened by end users, this is what you expect.

Having a closer look at the HTTP response header returned by the archive server to the web browser you see that Content Disposition "attachment" is sent back, despite the fact that -DContentDispositionType=inline is set.

Image

In a web browser you get access to the HTTP return headers as part of the "Network" communication by pressing the F12 function key (see screenshot above).


Read more...

Environment

SAP Archiving and Document Access Core by OpenText 16.2.3

Product

SAP Archiving and Document Access by OpenText all versions

Keywords

Archive_Center, Content_Disposition_Type, ContentDispositionType, -DContentDispositionType, CONTENT_DISPOSITION_TYPE, inline, archive , KBA , XX-PART-OPT-ARC , SAP Archiving by OpenText , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.