Pergunta

Eu apenas tentei acessar a propriedade "filenotfoundpage" para um aplicativo da Web e sua surra como null, eu me pergunto se o seu nulo por padrão ou se algo o mudar para NULL.

Eu também gostaria de saber qual seria a melhor prática para configurar páginas personalizadas, e.Devo criar um http.module (que eu já criei) ou qualquer outra maneira, exceto modificar a página "sps404.html" em 12 colmeia.

Foi útil?

Solução

The default value is null which sililar to empty string or wrong filename gives the default handling.

If having the same error page for the entire web app is OK, then I'd recommend setting SPWebApplication.FileNotFoundPage instead of using a HttpModule. Remember that the filename is relative to {SharePointRoot}\TEMPLATE\LAYOUTS{LCID} and the file should contain more that 512 bytes

Licenciado em: CC-BY-SA com atribuição
Não afiliado a sharepoint.stackexchange
scroll top