External Service URL

2 posts, 0 answers
  1. Steve
    Steve avatar
    1888 posts
    Member since:
    Dec 2008

    Posted 20 Sep 2011 Link to this post

    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.
  2. Georgi Krustev
    Admin
    Georgi Krustev avatar
    3747 posts

    Posted 21 Sep 2011 Link to this post

    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!
Back to Top