SEORule.runRules (Method)

Starts a job which runs the SEO rules on the specified pages, and returns JobID.

Returns:

JobID (integer)

Arguments:

Name Type Required Description
pageIDList PageIDList_EmptyString Optional. Defaults to an empty string. A comma delimited list of page IDs or an empty string.
appliesToFilter SEOAppliesToFilter Optional. Defaults to 'All'. A comma delimited list of one or more SEOAppliesTo values ('StandardMetadata', 'URL' or 'Content') to filters the results by or 'All' for no filter.

Context:

License Requirements SEO
Permission Requirements ContributorOrServerCode
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 Customization is not supported for this method.

Error Codes:

None

Notes:

None