SPHubSiteData object type

Contains data describing a SharePoint hub site.

Name Type Description
themeKey string Identifies the theme currently applied to all associated sites.
name string The name of the hub site.
url string Full URL of the hub site.
LogoUrl string The URL of a logo to use in the hub site navigation.
usesMetadataNavigation Boolean True if publishing features are enabled on the hub parent site; otherwise, false.
navigation SP.NavigationNode[] navigation is only list if usesMetadataNavigation is false.
Name Type Description
Id number ID of the navigation node
Title string Text of the navigation node
Url string URL the navigation node points to
ParentId number ID of the parent navigation node
Children List of navigation nodes List of child navigation nodes

See also