PortalIdentity

This object is available to every Portal Theme page via $ portal and includes data about the Portal itself.

Properties

String name
The internal name of the portal, for admin purposes.
String urlPath
The URL path of the portal.
Date createDate
The date this Portal was created.
String displayName
The name to use when displaying the Portal title through the Portal Theme.
String description
The Description of the Portal.
MetadataFilter[] metadataFilters
The Metadata Filters set on this Portal.
String ownerName
The name of this Portal's Owner.
PortalSearchFacet[] searchFacets
The search facets set on this Portal.
String commentManagerSiteKey
The unique identifier that associates comments with this Portal.
String themeName
The name of the Portal Theme associated with this Portal.
String[] enabledFeatures
The features enabled for this portal. Possible values are:
  • anonymousAccess
  • docLevelComments
  • elLevelComments
  • customAssemblies
  • helpfulVote
Map parameters
Parameters for this portal as specified in the config.xml for the portal theme
String userFilterFunction
Javascript function used for user filters
PortalRobotsTxtBehavior robotsTxtBehavior
The behavior of this portal in robots.txt. One of NONE, DISALLOW, or ALLOW.
String portalProject
The key of the project for portal-generated content. Introduced in version 4.2.

Methods

boolean hasFeature( String id)
Utility method for determining whether the portal has the specified feature. Equivalent to portal.features?seq_contains(id) .
String facetDisplayName( String facetMdName)
Utility method for determining the display name of the given search facet.