This is a migrated thread and some comments may be shown as answers.

External Service URL

1 Answer 138 Views
Data Source
This is a migrated thread and some comments may be shown as answers.
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
sitefinitysteve asked on 20 Sep 2011, 08:53 PM
Ok, here's my URL

http://<DOMAIN>:8080/alfresco/service/medportal/media?format=json&alf_ticket=TICKET_15459ecdc200aabc88c62d094902e32ddc741f2c

And here's my definition:
$("#search-box").kendoAutoComplete({
    minLength: 3,
    filter: "contains",
    dataTextField: "Name",
    dataValueField: "Id",
    dataSource: {
        type: "jsonp",
        severFiltering: false,
        serverPaging: false,
        pageSize: 5,
        transport: {
            url: alfresco.BaseURL + "/alfresco/service/medportal/media",
            data: {
                alf_ticket: alfresco.Ticket,
                format: "json"
            }
        }
    },
    change: function () {
         
    }
});

The result ends up being this error (nothing happens on the page)
-------------------
f is undefined
(from firebug)


This service isn't publicly accessible so I can't jsfiddle it.

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 21 Sep 2011, 09:38 AM
Hello Steve,

 
I believe that you will need to use read property instead of url. Check the transport object for more information

All the best,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Data Source
Asked by
sitefinitysteve
Top achievements
Rank 2
Iron
Veteran
Answers by
Georgi Krustev
Telerik team
Share this question
or