Page.getReferringObjectsCount (Method)

Returns the number of pages and objects that link to a page.

Returns:

NonNegativeInteger

Arguments:

Name Type Required Description
pageID RealPageID_NonBaseTemplate Required A page's ID.
subsiteFilter SubsiteFilter Optional. Defaults to '0'. The subsite's ID. If this value is -1, CommonSpot returns information on the current subsite. If this is 0, CommonSpot returns information for all subsites.
includeChildSubsites Boolean Optional. Defaults to '0'. Boolean flag which when set to true indicates that CommonSpot searches child subsites.
dateFilterType DateFilterType_EmptyString Optional. Defaults to an empty string. A date filter type such as 'DateAdded' or 'PublicReleaseDate'. If this is an empty string, CommonSpot does not use a date filter.
dateFilter DateFilterValue_EmptyString Optional. Defaults to an empty string. A date filter value or an empty string; for example, 'Last 2 months'. An empty means that CommonSpot does not apply a data filter.

Context:

License Requirements None
Permission Requirements ContributorOrServerCode
Deny Context None
Require Context None
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization This method may be customized at the site level

Error Codes:

Code Error Message
1000200 If you specify a DateFilterType, you must also specify a DateFilter.
1000201 If you specify a DateFilter, you must specify a DateFilterType.

Notes:

None