createPage
Given a Page model, create the item, protect it, share it, connect it to the site and upload any resources.
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
model Required | IModelTemplate |
Page model to be created as an Item |
|
options Required | {
|
object containing shareTo, and space for future additions |
|
hubRequestOptions Required | IHubRequestOptions |
IRequestOptions object, with isPortal |
Returns
Function defined in sites/src/pages/create-page.ts:26