Symptom
When importing content via the Import Content tool the following error is generated:
"The file type is not supported. Choose one of the following types"
NOTE: 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
- Navigate to Content > Import Content
- Select 'Add New Content". Next.
- Browse to select the content file you wish to import into LMS.
- The error is then generated
Cause
Incorrect configuration in the CONTENT IMPORT configuration file
Resolution
The supported file extension list is not properly configured in CONTENT IMPORT configuration file.
In this example, the file extensions list is *.ppt;*.pptx,*.flv;*.mp4;*.swf instead of (;) semi colon which is the correct separator *.ppt;*.pptx;*.flv;*.mp4;*.swf
Once the admin adds the correct file extension the content will import as expected.
To update the file extensions navigate to System Administration>Configuration>System configuration
Edit the CONTENT IMPORT configuration file
Search for 'supportedFileExtensions='
Add the required file extensions as *.mp4 for example woth extensions separated by a ;
Save changes
Keywords
import content, CONTENT IMPORT, file type, not supported , KBA , LOD-SF-LMS-CNT , Content , Problem