Hello,
I am using the rbf_getViewPage() API call and trying to display certain fields only and not all. This is my API call given below. However, this API is showing all the fields despite specifying the list of fields to show. Am I missing anything?
<script> var options = { "startRow": 0, "rowsPerPage": 10, "composite": { "level": 1, "objects":[ { "objName": "order", "fieldList": "grossAmount" }, { "objName": "credit", "fieldList" : "name" }, { "objName": "payment", "fieldList" : "name" }, { "objName": "invoice", "fieldList" : "name" } ]}, "fieldList": "name, id" }; rbf_getViewPage("n74q66CoQraYARPVuWS3XA", function returnedValues(values) { console.log(values); }, options); </script>
Cheers.
Iram
Hi Iram,
The getViewPage API was enhanced in Rollbase version 4.5.3. The function that you have used corresponds to the 4.5.3 version of the API. To use the API in version 4.5.2, please refer to the following link -
Let me know if this works.
Thanks,
Anvi