Page.saveInfo (Method)

Saves information associated with a page; for example, its title, description, public release date, and so on.

Returns:

Void

Arguments:

Name Type Required Description
id RealPageID_NonBaseTemplate Required A page's ID.
title PlainText_NonNull_255 Required The internal CommonSpot title of the page.
caption PlainText_255 Required The title and title bar caption of the page.
publicationDate Datetime Required The date and time at which the page will be published.
categoryID PageCategoryID Required The ID of the category under which the page is classified.
description String Required A description of the page.
confidentialityID ConfidentialityID_0 Optional. Defaults to '0'. The ID of the confidentiality category, otherwise 0.
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 will expire.
expirationAction ExpirationAction_EmptyString Optional. Defaults to an empty string. The action that occurs at the document's expiration date; for example, 'Warn', 'DenyAll', 'DenyPublic', or 'Redirect'. Specify an empty string for no action.
expirationRedirectURL ValidURL_EmptyString Optional. Defaults to an empty string. If the value of this method's 'expirationAction' argument is 'Redirect', this argument is the fully-qualified URL to which CommonSpot redirects the viewer.
expirationWarningMsg PlainText_255 Optional. Defaults to an empty string. If the value of this method's 'expirationAction' argument is 'Warn', this argument is the warning message that CommonSpot displays.
metadata MetadataValueArray Optional. Defaults to '#ArrayNew(1)#'. An array of MetadataValue structures that describes the metadata field(s) for the specified page, or an empty array if no metadata is to be specified. Note, you should pass data in the array for all the metadata fields that have data. Any existing data, for any non-specified fields will be either be deleted (if no default value is defined for that field) or updated with the default value.
rebuildCache Boolean Optional. Defaults to 'true'. True (default) indicates that cache should be rebuilt and the page reindexed after saving updates. If false, cache will be invalidated but not rebuilt, and no reindex operation will be initiated.

Context:

License Requirements None
Permission Requirements page:Author
Deny Context None
Require Context AuthoringEnabled
Author Lock If available
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