Table Name: tabPage
Sr | Fieldname | Type | Label | Options |
---|---|---|---|---|
1 | page_html |
Section Break | Page HTML | |
2 | page_name |
Data | Page Name | |
3 | title |
Data | Title | |
4 | icon |
Data | icon | |
5 | column_break0 |
Column Break | ||
6 | module |
Link | Module | Module Def |
7 | standard |
Select | Standard |
Yes No |
8 | section_break0 |
Section Break | ||
9 | roles |
Table | Roles | Page Role |
Inherits from frappe.model.document.Document
as_dict (self, no_nulls=False)
No docs
Creates a url friendly name for this page. Will restrict the name to 30 characters, if there exists a similar name, it will add name-1, name-2 etc.
Returns true if Page Role is not set or the user is allowed.
No docs
Writes the .txt for this page and if write_content is checked, it will write out a .html file
No docs