Copied to clipboard

Flag this post as spam?

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


  • Ayo Adesina 430 posts 1023 karma points
    Jan 16, 2020 @ 10:40
    Ayo Adesina
    0

    Populate drop down list on document type with result of an api call

    I want to have a drop downlist that is populated from the result of an API call.

    I have got my code calling the api and getting the results inside an everyday MVC controller.

    So I want to move that code to the back office. I'm guessing I will have to write some Angular to call the API and load it in to the drop downlist.

    Pointers, blog posts, ideas please?

    Also this API call, is something that doesn't have to be always up-to-date, as in I could call this API once a week store that data in umbraco somehow and then load the drop downlist from that local store.

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Jan 16, 2020 @ 12:17
    Hendy Racher
    0

    Hi Ayo, for v7, take a look at nuPickers and either the Json DropDown Picker or the DotNet DropDownPicker. There is an updated version for v8, but for v8 check out Umbraco Contentment.

    HTH, Hendy

  • Ayo Adesina 430 posts 1023 karma points
    Jan 16, 2020 @ 15:46
    Ayo Adesina
    0

    How do I use Umbraco Contentment? I can see its a VS solution but how do I get it in to my site, do I have to create a package out of the VS project first?

Please Sign in or register to post replies

Write your reply to:

Draft