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

  • Comment author was deleted

    Aug 31, 2018 @ 16:13

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

  • Comment author was deleted

    Aug 31, 2018 @ 16:35

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

Please Sign in or register to post replies

Write your reply to:

Draft