PageSet.create (Method)
Creates a page set.
Returns:
PageSetID (integer)
Arguments:
Name | Type | Required | Description |
---|---|---|---|
subsiteIDOrURL | SubsiteIDorURL_EmptyString | Required | The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite. |
name | PlainText_NonNull_255 | Required | The name of the page set. |
title | PlainText_NonNull_255 | Required | The internal CommonSpot title of the page set. |
publicationDate | Datetime | Required | The date and time at which the page set will be published. |
categoryID | PageCategoryID | Required | The ID of the page set's category. |
description | PlainText_2000 | Optional. Defaults to an empty string. | The description of the page set. |
confidentialityID | ConfidentialityID_0 | Optional. Defaults to '0'. | The ID of the confidentiality category. |
showInList | ShowInList_EmptyString_Inherit | Optional. Defaults to 'PageIndex,SearchResults'. | A comma-delimited list of one or more 'showIn' values; for example, 'PageIndex', 'SearchResults', or an empty string. |
expirationDate | Timestamp_EmptyString | Optional. Defaults to an empty string. | The date and time at which the page set will expire. |
metadata | MetadataValueArray | Optional. Defaults to '#ArrayNew(1)#'. | An array of MetadataValue structures that describe the metadata for the page set, or an empty array if no metadata is specified. |
Context:
License Requirements | PageSet |
Permission Requirements | subsite:CreatePageSets |
Deny Context | None |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
None
Notes:
None