Uploading the New UI Customization package fails
- Product: Product
- Product Version: August 2016 +
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
Description
When uploading a customized customization package, an error message appears in the back office:
Validation error: Zip file must have a root directory with the name of the view code
Reason: the file was zipped using the Windows>>Sent To option.
Resolution
A workaround: use a different compression tool such as 7zip or Winrar.
Note:
If you added images to the folder you should use a tool that doesn't automatically add Thumbs.db file to any folder containing images, as this also might cause issues.
UPDATE:
MacOS users have reported a problem where zipping files using the "Compress" feature automatically includes the .DS_Store file, which leads to a rejection of the package.
The zip can be created using terminal with this syntax:
zip -r foo.zip
foo -x "*.DS_Store"
(where 'foo' is the folder to zip)
This will eliminate the .DS_Store file.
- Article last edited: 30-Oct-2020