Skip to content

Commit 8408867

Browse files
authored
Add README for custom 404 widget
Added usage instructions and use case for custom 404 widget.
1 parent c433b85 commit 8408867

File tree

1 file changed

+15
-0
lines changed
  • Modern Development/Service Portal Widgets/custom404

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
**How to use**
2+
1. Add this widget to new portal page.
3+
2. Add the page in "sp_portal" record in 404 field.
4+
5+
**Use Case**
6+
1. Some organizations do not want to show OOB 404 page having game but want to show the suggestions with correct pages.
7+
8+
**Result**
9+
1. This code will search the 3 letters of page_id from URL and will suggest correct pages.
10+
2. The correct links will open the pages in next tab.
11+
12+
<img width="959" height="413" alt="404" src="https://github.com/user-attachments/assets/2480ba26-4ea3-4e12-baf8-bbf89fec548a" />
13+
14+
15+

0 commit comments

Comments
 (0)