Copied to clipboard

Flag this post as spam?

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


  • Julian 7 posts 76 karma points
    Aug 31, 2018 @ 15:41
    Julian
    0

    How to get list of Umbraco DocumentType for UIOMatic Create/Update screen

    Hello, So I need to get a list of document types from a node in the Umbraco Back-office, for use in the UIOMatic Create & Update screen of a particular UIOMatic table.

    To be clear, for this screen I mean: https://farm2.staticflickr.com/1899/43478939605_d561b219a1_o.png

    I'd like to get these as drop-down values; https://farm2.staticflickr.com/1886/43669657984_bd02e2c83a_o.png

    Currently, we can link to other PetaPoco tables with ease, however I'd like to get my data from the Umbraco back-office instead.

    Is there a simple solution for this?

    Kind regards

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 31, 2018 @ 16:13
    Tim Geyssens
    0

    Hey you'll need to create a custom field editor view docs available here: https://uiomatic.readthedocs.io/en/stable/03.CustomEditorViews/

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 31, 2018 @ 16:35
    Tim Geyssens
    0

    of course instead of fetching stuff directly from the db you can use the DocumentType service... in the controller

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies