Issue
- Custom pages for 404 errors can be easily configured in DXP; however, how can a custom page be designed for the "You do not have the roles required to access this portlet" error?
Environment
- Liferay DXP 7.4
Resolution
- There is no OOTB functionality to achieve the requested requirement here, however, users can try to create the error message in 'portlet access denied.jsp' since the error originated from this JSP file ({liferay_home}\tomcat\webapps\ROOT\html\portal).
- Please see this article which might be helpful here: Customizing JSPs with Dynamic Includes
Additional Information
- We have a separate channel named "Global Service Team" where users may seek help with any type of implementation or customization.
Contenido exclusivo para suscriptores.
Una Suscripción Enterprise de Liferay proporciona acceso a más de 1.500 artículos que incluyen las mejores practicas, diagnóstico de problemas y otras soluciones útiles. Inicia sesión para tener un acceso completo.
Inicia sesión