Page objects
- Applies to:
- All MindTouch Versions
- Role required:
- Draft Contributor
The page object includes properties that describe an individual page. Properties include everything from the page's API URI to the page's visit count.
page.Api : uri
Outputs the URI of the current page.
DekiScript | Output |
---|---|
page.api; |
https://expert-help.nice.com/@api/deki/pages/3571?redirects=0 |
page.Author : map
Outputs the User object for the user that last edited the current page.
DekiScript | Output |
---|---|
page.author.displayname; |
Brit VanBlake |
page.Date : str
Outputs a string with the page's last modified date.
DekiScript | Output |
---|---|
page.date; |
Fri, 23 Feb 2024 18:28:55 GMT |
page.Files : map
Outputs a map of the current page's attached files.
page.Id : num
Outputs a number for the current page's unique page ID.
DekiScript | Output |
---|---|
page.id; |
3571 |
page.Name : str
Outputs a string of the current page's name (from the URL).
DekiScript | Output |
---|---|
page.name; |
Page_objects |
page.Parent : map
Outputs a map of details for the immediate parent page of the current page.
page.Path : str
Outputs a string of the current page's path. The path is the part of the URL after the URL (http://support.yoursite.com/PATH)
DekiScript | Output |
---|---|
page.path; |
Manage/Author/DekiScript/Page_objects |
page.Subpages : map
Outputs a map of details for the immediate sub-pages of the current page.
page.Tags : map
Outputs a map of the tags for the current page.
page.Title : str
Outputs a string of the Title for the current page (not from the URL).
DekiScript | Output |
---|---|
page.title; |
Page objects |
page.ViewCount : num
Outputs a number for the total view count of the current page.
DekiScript | Output |
---|---|
page.viewcount; |
1760 |