SEORule.save (Method)

Updates the specified SEO rule, or creates a new SEO rule.

Returns:

SEORuleID (integer)

Arguments:

Name Type Required Description
reportingGroupID SEOReportingGroupID Required The unique ID of the SEO reporting group to save the rule for.
ruleID SEORuleID_0 Required The unique identifier of the desired SEO rule to edit, or 0 to create a new SEO rule.
ruleDefinitionID SEORuleDefinitionID Required The unique identifier of the SEO rule definition from which this rule is built.
ruleTitle PlainText_NonNull_100 Required The title of the SEO rule.
isActive Boolean Required A boolean flag which when set to true indicates that the SEO rule is active.
params Struct Required A structure that describes all of the parameters for the SEO rule.
maxDeficientScore Integer_0_to_10 Required An integer between 0 and 10 that defines the maximum score considered to be deficient.
weight PositiveInteger Optional. Defaults to '1'. An integer specifying the weighting factor multiplier for the rule.

Context:

License Requirements SEO
Permission Requirements SEOReportingGroup:ManageRules
Deny Context (none)
Require Context AuthoringEnabled
Author Lock  

Error Codes:

None

Notes:

None