Hi Everyone,
Could anyone please assist?
I am trying to implement the website for a particular DocType, but it is not working as expected.
These are the steps I followed:
- Enabled “Has Web View” and “Allow Guest View.”
- Two fields were added to the DocType: Route and Is Published.
- Configured the newly added field in the “Is Publish Field” setting.
- After adding a new row in the DocType, everything seems to be okay, but the route is not generating
1 Like
@NCP The same process was followed, but it is not working
1 Like
NCP
4
try it like remove the flights and add the field like route and set empty on route in web view.
I removed the route value in the web view, but it’s still not working
@NCP
NCP
6
Again check the video and follow the same step and check it.
i think, Web View Does not work on Submittable Doctype
flim
8
I’m experiencing the same issue: The route field doesn’t populate automaticallyfor the Submittable DocType.
Edit:
Found the solution, as a DocType support webview, the import changed to
from frappe.website.website_generator import WebsiteGenerator
So the class should change from
class AirplaneFlight(Document):
to
class AirplaneFlight(WebsiteGenerator):
1 Like
thanks! i am facing this issue for days, after reading this forum the issue is resolved and i did
`bench migrate` after changing and it works