cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Out-of-the-box 404-Entity Not found message

PreetiGupta
14-Alexandrite

Out-of-the-box 404-Entity Not found message

We have Thingworx app which is used by 40000 users. For triaging issues with access we need to better present the message to the user.

I saw this on the community. Has anybody implemented this solution? Or is there a better way to handle this?

 

PreetiGupta_0-1651757528961.png

 

 

 

https://community.ptc.com/t5/ThingWorx-Developers/Is-there-a-way-to-change-the-out-of-the-box-404-Entity-Not-found/m-p/616888

 

 

3 REPLIES 3
slangley
23-Emerald II
(To:PreetiGupta)

Hi @PreetiGupta 

 

Are you interested in displaying a message in the browser along with the error message?  You can use the Status Message function for passing the error to and then output additional text.

 

Regards.

 

--Sharon

PreetiGupta
14-Alexandrite
(To:slangley)

I want to redirect user to new page. I saw below solution on the community page. 

 

Has this been implemented by anyone? https://community.ptc.com/t5/ThingWorx-Developers/Is-there-a-way-to-change-the-out-of-the-box-404-En...

While that can work, what exactly is the use-case you want to cover here?

Is it that you want to make sure that whatever Mashup Name the user manually writes in the browser you will see a nicer message?

Or you would like to make sure that if the developers set an incorrect mashup in the application, and the users try to access through the designated normal URL, will see a nicer message? (which is better error handling actually)

Top Tags