196
Views
2
Comments
Control about error 404 when I put some resource that not exist
Question

For security I need have control about error 404 when I put some resource that not exist in the app in navigator (I need to show a controlled page.)

for example:

in my app http://xxx.outsystemsenterprise.com/APP/ if put some that not exist how http://xxx.outsystemsenterprise.com/APP/xxx.img, I see that:


How I can do it?

by the way, i work in Outsystems 10.0.906.0

Thanks!


2019-06-15 21-39-22
Afonso Carvalho
 
MVP

Hi Paulo,

I don't think there's a way to do this from Service Studio. It is however, a static page in your server, as detailed here. You should be able to replace that page with what you need.

2022-12-28 01-16-29
Samuel Neves

It is now possible to do this, if you have an Outsystems OnPremises installation.

Check out this article, to create the 404 error custom handler follow the steps

https://success.outsystems.com/Documentation/Best_Practices/Customizing_OutSystems_Platform_Pages_for_Unhandled_Errors

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.