SAP Knowledge Base Article - Public

2904849 - Ticket Interaction Attachment Changing File Extension when Downloaded in SAP Cloud for Customer

Symptom

You notice that when downloading a ticket attachment file, the file extension changes.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Navigate to Service work center.
  2. Navigate to Tickets work center view.
  3. Open any ticket.
  4. Navigate to Attachments tab.
  5. See the attachment maintained as .JPEG file extension, for example.
  6. Download the attachment.
  7. See the file extension is changed to .PJPEG file, for example.

Cause

This happens when although the file name is maintained with extension .JPEG for example, the real MIME Type of the file in the backend is different, which may have a different default extension selected in the Business Configuration work center, therefore the file will be downloaded following the default file extension set to the real MIME type of the file.

This is applicable to all file extension, not only JPEG or PJPEG files.

Resolution

You can follow the steps below to change the default extension the file with the MIME Type .PJPEG will be downloaded:

  1. Navigate to Business Configuration work center.
  2. Navigate to Overview work center view.
  3. Search for activity Allowed Mime Types and open it.
  4. Search for the MIME type image/pjpeg and select it.
  5. Change the default extension to .JPEG
  6. Save the changes.

Please notice that the MIME Type of the file comes directly from the e-mail source / e-mail content before reaching the Cloud for Customer system.

Keywords

Attachment, Ticket, Interaction Attachments,  JPEG, PJPEG, Service, C4C, MIME, Mime Type, Service Request, Convert, Download, Interactions, File Extension, Extension, E-mail, Email, Ticket Interactions, , KBA , LOD-CRM-SRP-INT , Ticket Interactions , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions