Copied to clipboard

Flag this post as spam?

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

  • David Walker 19 posts 90 karma points
    Jan 26, 2022 @ 09:14
    David Walker

    How and where do I populate a Backend dropdown from an external JSON api in Version 9

    Is it possible to populate drop-down prevalues from an external source in the back end?


    I have a Blog entry and want to add an Author Dropdown which should be populated from and external API.

    Dropdown to be populated

    Where would I place this code? Are there any examples out there? I can see how to do this when rendering a frontend page, but not the backend.

    Thanks in advance.

  • Dennis 63 posts 313 karma points
    Jan 26, 2022 @ 10:51

    Hi there!

    To create a custom dropdown with values from an external api, you would need to create a custom property editor.

    You can find more information about custom property editors in the umbraco documentation.

  • Kevin Jump 2195 posts 14010 karma points MVP 6x c-trib
    Jan 26, 2022 @ 11:00
    Kevin Jump


    you might be able to do this with the contentment package.

    it allows you to have a json data source for dropdowns/etc.

  • David Walker 19 posts 90 karma points
    Jan 28, 2022 @ 14:26
    David Walker

    Thank you both for your answers. I've used the Contentment package first and that's working fine.

    I will have a play with creating custom property editors too.

    Best regards

Please Sign in or register to post replies

Write your reply to: