Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Portal - How to test my custom error

Posted on by 5

Hi everyone, 

I have followed this article to setup a custom error for my portal, this is what I had done:

1. Go to Portal Actions > Enable custom errors.

2. Go to Portal Management > Content Snippets > Create a new snippet named Portal Generic Error using my custom HTML.

pastedimage1592559413693v1.png

Now, I want to test if my custom error is working and showing correctly.

However, I don't know how to create an error for testing purpose of this custom error.

Can anyone help me to break my portal for testing my custom error message?

Thank you and best regards,

Adrian Nguyen

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Portal - How to test my custom error

    HI,

    If your problem is resolved, mark this thread verified so that it will be helpful for other community members.

    If found helpful, Please mark my answer verified.

  • Suggested answer
    Adrian Nguyen Profile Picture
    Adrian Nguyen 5 on at
    RE: Portal - How to test my custom error

    Found a way to break my portal: Add any html tag (example <p>) into an entity form and submit.

  • Adrian Nguyen Profile Picture
    Adrian Nguyen 5 on at
    RE: Portal - How to test my custom error

    Any suggestion for this?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans