SEOReportingGroup.getForSubsite (Method)

Returns the SEO reporting group associated with the specified subsite. A value of 0 means that the subsite is not associated with any reporting group.

Returns:

SEOReportingGroup_GetForSubsite_Result (struct)

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

Field Name Type Description
Description PlainText_2000 The description of the reporting group.
FullName PlainText_255 The full name of the reporting group or empty string.
ID SEOReportingGroupID_0 The unique ID of the reporting group or 0.
ShortName PlainText_20 The short name of the reporting group or empty string.

Arguments:

Name Type Required Description
subsiteIDOrURL SubsiteIDorURL_EmptyString Optional. Defaults to an empty string. The ID or server relative URL of the subsite to get the SEO reporting group for. If empty string, the current subsite will be used.

Context:

License Requirements SEO
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context (none)
Author Lock  

Error Codes:

None

Notes:

None