Reports.getVisibleTemplatesCount (Method)
Returns zero or more structures, each containing information on a site's template's count.
Returns:
NonNegativeInteger
Arguments:
Name | Type | Required | Description |
---|---|---|---|
subsiteIDOrURL | SubsiteIDorURL_EmptyString | Required | The ID of the target subsite, or the server relative path to the target subsite, or an empty string for the current subsite. |
searchString | String | Optional. Defaults to an empty string. | The text sought by CommonSpot in the title, description, or file name fields. |
searchOperator | SearchOperator_EmptyString | Optional. Defaults to an empty string. | The type of search comparison to use; for example, 'Contains', 'Begins with', 'Equals', and so on. |
categoryID | CategoryID_0 | Optional. Defaults to '0'. | A template's category ID. |
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 | Customization is not supported for this method. |
Error Codes:
None
Notes:
None