It seems I have followed all the steps in setting up the data paging and yet I get the following error.
Unable to invoke CFC - The NUMITEMS parameter to the getitem_paged function is required but was not passed in.
When I look in the _Super_ItemService.as I see in the dmQuery.pageSize = 50 so why is it not passed in?
Has anyone else had this issue?
Can you enable "Network Monitor" on this project and inspect the network calls to see if right parameters are being passed to CFC ?
If right parameters are not being passed, please send us below files to analyze the problem:
1. "<project_name>.fml" - This file is present inside the ".model" folder which is hidden inside the project directory.
2. "_Super_<Servicename>.as" - This file is present inside the "<service_package>" folder inside your source directory.
This looks like a bug in code generation. I logged below bug for this issue.
Workaround here is to pass single "Struct" type parameter to CF which will have both "user_id" & "otherArgs" as its properties.
Let me know incase if you face any issues doing the same.