Image.getReferringObjectsCount (Method)
Returns the number of objects referring to this image. This number only includes the objects that are identified by this method's arguments.
Returns:
NonNegativeInteger
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ImageID | Required | An image'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 | 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