Stylesheets.getStyleSheetSets (Method)

Returns zero or more structures, each containing information about a page's style sheet sets; for example, the style sheet's name, description, page ID, and so on.

Returns:

StyleSheets_GetStyleSheetSets_Result (query)

Each row of the returned query results has the following fields:

Field Name Type Description
Description PlainText The style sheet set's description.
Name PlainText The style sheet set's name.
ScheduleText PlainText A pipe (|) delimited list of the style sheet set's scheduled property names. Its format is '{propertyname}: {value}|'.
Source InheritanceSource Indicates if this style sheet set was defined on the page or is inherited from an ancestor template ('page' or 'template').
SourcePageTitle PlainText_NonNull_255 The title of the page within which the style sheet set is defined.
StyleSheetSetID StyleSheetSetID The style sheet set's ID.
StylesheetSource InheritanceSource Indicates whether the style sheets in this set come from the page or are inherited from an ancestor template ('page' or 'template').
StyleSheetURLList PlainText A comma-delimited list of the URLs of all style sheets in the style sheet set.

Arguments:

Name Type Required Description
pageID RealPageID Required A page's ID.
styleSheetSetID StyleSheetSetID_0 Optional. Defaults to '0'. The ID of the style sheet set to which the style sheet belongs. If this value is 0, CommonSpot returns information on all of a page's style sheet sets.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock  

Error Codes:

Code Error Message
52002 Style sheets assigned to style sheet set $1 could not be retrieved.
52005 The page ID and style sheet set ID do not correspond with each other.

Notes:

None