Symptom
Using the Content Import tool, after choosing to import a ZIP, the tool displays the following message: 'Imported zip does not have valid content files'.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP Successfactors Learning
Reproducing the Issue
- Access Learning Administration
- Go to Content > Import Content
- Choose "Add New Content" and select a ZIP file
- Proceed through all the steps until the message on the Import Summary screen states 'Imported zip does not have valid content files'.
Cause
There are two reasons this can happen:
- When importing a ZIP file, this is going to be a AICC or SCORM content. The Import Content tool looks at the root directly of the ZIP for a manifest file (imsmanifest.xml). If the manifest file is not at the top level directory (or root) of the ZIP, then the error will be seen.
- There are unsupported file types in the ZIP that are blocked based off a configuration in the CONTENT IMPORT property file
Resolution
Manifest issue:
- Open the ZIP file on your desktop
- Extract all the files into a new folder
- Navigate through the files to find the imsmanifest.xml file
- Select the manifest file and either move it to the root of all new folder that was created or select all files in the zip where the imsmanifest file resides and choose to create a ZIP file from there
Note: Not all content is developed the same way and the above steps are very general. If you do not know how your content should be structured, please work with the content vendor. It is out of scope of SAP Support to assist with content ZIP files.
Unsupported file types in the ZIP file:
- Access Learning Administration
- Navigate to System Administration > Configuration > System Configuration
- Edit or View the CONTENT IMPORT property file
- Find the unsupportedFileExtensionsInZipFiles configuration
- Make a note of the file types listed
- Open up the ZIP file and look to see if there are any
- If the default file types listed in the unsupportedFileExtensionsInZipFiles configuration, it is recommend to check with the content vendor why the file is required
- Either delete the unsupported file type from the content zip or delete it from the unsupportedFileExtensionsInZipFiles configuration (not recommended)
See Also
Keywords
SCORM, learning, LMS, import, zip, valid content, Success Factors, SF, content files, AICC, file, manifest , KBA , LOD-SF-LMS-CNT , Content , LOD-SF-LMS-ADM , System Admin, Global Variables, References , Problem