Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Odata CRM

$
0
0

hi.

i have jquery written on my entity list to filter two lookup field. it only retrieve 10 records. i want to increase it more. how can i do  that?

regards

$(document).ready(function () {

    $("#dropdown_0").on(
        "change",
        function (eventObject) {
            var user = $('#dropdown_0').val();
            //alert(user);
            var get_FilteredOut = "/_odata/account/?$filter=ownerid/Id%20eq%20(guid%27" + user + "%27)";
            $.ajax({
                type: "GET",
                url: get_FilteredOut,
                dataType: 'json'
            }).done(function (json) {
                var values = json.value;
                values.push({ accountid: "", name: "" });
                values = values.reverse();
                $("#dropdown_3").empty();
                $.each(values, function (index, value) {
                    $("#dropdown_3").append('<option value="' + value.accountid + '">' + value.name + '</option>');
                })
            })
        });
});


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images