Course Content
Portal Pages
Faris Ansari
May 19, 2021

Portal pages are server rendered pages for your website visitors.

We have been exclusively working with the Desk which is the admin interface accessible by System Users. Usually you will want to give limited access to your customers. In our case, we want Library Members to be able to view available Articles that they can issue from our website. Portal Pages can help us achieve that.

Go to Article doctype, and scroll down to the Web View section.

  1. Enable Has Web View and Allow Guest to View
  2. Enter articles in the Route field
  3. Add a field named Route in the fields table
  4. Click on Save

Article Web View

We have now enabled web views for Article doctype. This means you can now view details of an Article on your website without logging into Desk. Let's test this out by creating a new Article. You should see See on Website at the top left of your form. Click on it to view the web view of the Article.

Article Web Page

Questions
Everything worked fine for me !
AB Amin Benkhaled
3 months ago
Post
Dismiss

The see on website appears after the creation of a new Article

Want to discuss?
Post it here, our mentors will help you out.
This must be a BUG in documentation
IS Indic Software
5 months ago
Post
Dismiss

Cannot find the setting for Web.

I think need to update documentation here.

Now that Frappe 14 is coming the need to update documentation is all the more urgent.

Want to discuss?
Post it here, our mentors will help you out.
No "See on Website"
C CQ
8 months ago
Post
Dismiss

follow the process but there is no "See on Website" on the Article page.

AA Ahmed Ashour
5 months ago
Post
Dismiss

same here, but managed to display the page, when you create an article, the route field will be populated with the following: articles/<yourarticlename> .. if you visit library.test:8000/articles/<yourarticlename> .. you will find the page

Want to discuss?
Post it here, our mentors will help you out.