SEORule.activate (Method)

Activated or deactivates the specified SEO rule. Deactivated rules will not be applied to pages when generating the page's SEO ranking.

Returns:

Void

Arguments:

Name Type Required Description
reportingGroupID SEOReportingGroupID Required The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite.
ruleID SEORuleID Required The unique identifier of the desired SEO rule.
isActive Boolean Required A boolean flag which when set to true indicates that this rule is active.

Context:

License Requirements SEO
Permission Requirements SEOReportingGroup:ManageRules
Deny Context None
Require Context AuthoringEnabled
Author Lock  

Error Codes:

None

Notes:

None