Stylesheets.orderStyleSheets (Method)

Reorders the style sheets within a style sheet set that is associated with a page.

Returns:

Void

Arguments:

Name Type Required Description
pageID RealPageID Required A page's ID.
styleSheetSetID StyleSheetSetID Required A style sheet set's ID.
styleSheetIDList PlainText Required A comma-delimited list of style sheet IDs. The order of elements in this list becomes the order of the style sheets.

Context:

License Requirements None
Permission Requirements page:Style
Deny Context None
Require Context AuthoringEnabled
Author Lock If available

Error Codes:

Code Error Message
52005 The page ID and style sheet set ID do not correspond with each other.
52007 Passed style sheet IDs do not correspond those defined for the requested style sheet set.

Notes:

None