“Illegal value for parameter” error when uploading PDF/Image
[Image] [iView] [MDM] [PDF] [Portal]
- Inability to open images and Pop-up windows – MDM iViewsSymptom There are 3 possible symptoms to this issue: 1. MDM Portal iViews image fields are not displaying image. Instead of the linked image, a red “X” is displayed. In addition, Portal...
- “Insufficient rights” error when duplicating a record – MDMSymptom While attempting to duplicate a record, an error occurs saying “Insufficient rights for operation” although it seems that the user has all the required permissions Other terms MDM, rights, permissions, Data...
- MDM Change tracker (Web UI) tuple limitations in 7.1 SP00/01Symptom When using MDM 7.1 SP00/SP01, after making changes to the tuple field for a specific record, The permanent ids within the change history table are populated inconsistently. This results in the...
- MDM Item Details iView – “Record is protected” messageSymptom When trying to edit a record via MDM Portal Item Details iView you see a message that “Record is protected, record is checked out” and you can not edit it. Trying...
- Dates and numbers formatting – MDM standard iViewsSymptom Date and numbers format do not match the user regional setting Other terms Date, Currency, Real, MDM, Portal, iView Reason and Prerequisites MDM Standard Portal iViews formatting of dates and numbers...
- Numbers after decimal point displayed differently- MDM iViewSymptom Formatting of MDM Real, Measurement or Currency field types with 1 or more digits after the decimal point appear to be different when comparing these fields in Item Details Edit mode...
Symptom
You are trying to upload a new PDF/Image file to the MDM PDF/Image Table using the MDM Portal iViews but receiving a “com.sap.mdm.internal.protocol.manual.ServerException: Illegal value for parameter” error.
Other terms
MDM, Portal, iView, PDF, Image
Reason and Prerequisites
When uploading a PDF/Image file to the PDF/Image Table using the MDM Portal iViews, the PDF/Image is uploaded without a thumbnail while the MDM Server is expecting to get it with a thumbnail.
Solution
Make sure that the repository in question has “Allow invalid PDFs” property set to “Yes”.
To do that please perform the following steps:
1. Log on to the MDM Console.
2. Connect to the repository which the MDM iViews are connected to.
3. Right-Click on the repository and select “Properties”.
4. Make sure that the property “Allow invalid PDFs” is set to “Yes”, and for the case of images, do the same for “Allow invalid Images” property.
There is no need to log off/on to the Portal.
Attached you will find a screen capture of step 4 from the MDM Console.