Error "Uploaded LAR file type layout-set-prototype does not match Portlet." reported when importing site template lar file

Issue

  1. Go to Control Panel --> Site Templates
  2. Click the icon with three vertical points in the upper right corner of the page and click Export/Import
  3. Select Import section
  4. Then importing a site template lar file, the error "Uploaded LAR file type layout-set-prototype does not match Portlet." will display as below.

Environment

  • Liferay DXP 7.4

Resolution

Follow the steps below to resolve this error:

  1. Go to Control Panel --> Site Templates
  2. Create a new site template
  3. Open this new site template and go to Publishing --> Import
  4. Import the site template lar file

 

 

 

这篇文章有帮助吗?
1 人中有 0 人觉得有帮助