Symptom
When attempting to import a file with the Import Data tool, the system states:
- Harmful content detected on the file [filename]
Environment
SAP SuccessFactors Learning
Cause
The cause could be a few reasons including html enabled file contents with scripting (javascript) or external links being set in the Excel file which are seen as harmful.
How to tell if content includes scripting:
- Open the file in any html viewer or browser
- Inspect and look to see if any script tags are present
How to tell if external links are in the file:
- Rename the .xlsx file to .zip
- Open up the zip file and access the "xl" folder
- The "externalLinks" folder will be present
Resolution
To avoid possible issues with the file first remove any scripting tags then:
- Download the file from Import Data tool again
- Replace the information from the harmful file into the newly download file
- Import again
Note: It is outside the scope of SAP Support to inform what is wrong with the file if a new file from the system is not blocked. See similar KBA 3343940
See Also
KBA 3343940 - "Harmful content detected on the file" occurs when admin imports PPTX file - SuccessFactors Learning
Keywords
import, data, tool, harmful, content, detected, zip, excel, xlsx, virus, scan, learning, sf, pdf, fail , KBA , LOD-SF-LMS-IMP , Import Data Tool , LOD-SF-LMS-CNT , Content , Problem