Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 288 karma points
    Jul 20, 2015 @ 14:52
    Damon
    0

    Ajax call to Umbraco content

    Hi,

    I want to perform an Ajax request to a page's content. The content is a list of content items I custom created. I want to display the next 5 items on an onclick event.

    To do this do I have to use /base? Or is there another way. Is it possible to directly call the content using Javascript/ Ajax?

    Thanks,

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 20, 2015 @ 15:09
    Ismail Mayat
    0

    Damon,

    You are on v7 hence use webapi controllers that inherit from UmbracoApiController i believe in 7.3 you will get a layer to do this kind of stuff so you dont have to write it.

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 21, 2015 @ 07:23
    Ismail Mayat
    0

    Damon,

    Github link to the new umbraco rest api https://github.com/umbraco/UmbracoRestApi

Please Sign in or register to post replies

Write your reply to:

Draft