Multimedia.getReferringObjectsCount (Method)

Returns the number of objects referring to this multimedia file. This number only includes the objects that are identified by this method's arguments.

Returns:

NonNegativeInteger

Arguments:

Name Type Required Description
multimediaID MultimediaID Required A multimedia file'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 the search includes child subsites.
dateFilterType DateFilterTypeNonPage_EmptyString Optional. Defaults to an empty string. A date filter type that CommonSpot uses when searching for information; for example; 'DateFilter', 'DateContentLastModified'', or an empty string.
dateFilter DateFilterValue_EmptyString Optional. Defaults to an empty string. A date filter value or an empty string; for example, 'Last 2 months'. An empty string tells CommonSpot that it should not use a ate filter value.

Context:

License Requirements (none)
Permission Requirements ContributorOrServerCode
Deny Context (none)
Require Context Authoring
Author Lock (not required)
Transaction Logging Transaction logging is disabled for this method
Customization Customization is not supported for this method.

Error Codes:

None

Notes:

None