Create a Data Object Invoke operation method that returns the total number of available records
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Create a Data Object Invoke operation method that returns the total number of available records
To use server-side paging, you must create an Invoke operation method that returns
the total number of records in the server result set. The Invoke operation
that returns the total number of records in the server result set must have
the following ABL method signature:
|
Where:
countFnName | The name of the method. You have to use this name when you use the Data Object service from Telerik Platform. |
filter | A string that contains the same JSON Filter Pattern that is passed to the Read operation method. |
numRecs | An integer that you assign to the total number of records in the server result set identified by the filter. |
After you create an Invoke method with the required method signature, you must add ABL code that returns the number of records in the result set. Then, you must add annotations to the new Invoke method using the Define Service Interface wizard and replace the URI in the annotation with:
/countFnName?filter=~{filter~}