Hierarchy
- PortalPageInfo
Properties
__createdAt
Date that the page was created on.
__id
ID of the page.
__updatedAt
Date that the page was last updated on.
code
Page code.
name
Page name.
namespace
Code of the workspace that the portal belongs to.
sort
The value is used to sort the content of the portal page when displaying the list.
url
Absolute address of the portal page.
Methods
getUrl
-
Get the page’s address based on the company’s alias.
Parameters
-
Optional absolute: undefined | false | true
Return an absolute path (the default value is
false
).
Returns TString
-
Information about the portal page
Example of getting a list of portal pages:
const pages = await Namespace.portal.getPages();