rbv_api.getCount()
Purpose
Returns the number of records in the selected view. Optionally, this method can filter by field name and value.
Syntax
rbv_api.getCount(viewId, filterName, filterValue)
Parameters
viewID
Original ID of view
filterName
Optional field integration name to filter results
filterValue
Optional field integration value to filter results
Return value
Number of records
Permissions required
View permission for the selected object type.
Example
The following example returns the total number of records in view 123456
where the Status field equals Open (any filters imposed by the view apply
as well):
var count = rbv_api.getCount("123456", "status", "Open");