viernes, 17 de febrero de 2012

Crear una página custom de error Sharepoint 2010

Locate and copy the error.aspx file in Layouts folder of the 14 Hive (%PROGRAM FILES%\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS).

Create a new folder in the Layouts folder (ex. CustomError) and then paste the copied error.aspx file more the next content.

Set-SPCustomLayoutPage -Identity Error -RelativePath “/_layouts/CustomError/error.aspx” -WebApplication <webappURL>

The perform un iisreset.

 

At any point, you can set the error page back to the default by running the following command and then IISRESET:

Set-SPCustomLayoutPage -Identity Error -WebApplication <webappURL> -Reset

 

Más información:

http://www.tcscblog.com/2012/02/10/custom-error-page-with-log-support-ticket-link-for-sharepoint-2010/

No hay comentarios:

Publicar un comentario