1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[V4.5.2] - rbf_getViewPage() shows all fields despite specifying the fields in the fieldList...

Discussão em 'PSDN - Forum' iniciado por IramK, Dezembro 12, 2017.

  1. IramK

    IramK Guest

    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

    Continue reading...

Compartilhe esta Página