Copied to clipboard

Flag this post as spam?

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


  • Dmitrij Jazel 86 posts 179 karma points
    Sep 03, 2015 @ 18:48
    Dmitrij Jazel
    0

    Datatype API

    Hi guys, I wanted to know how can you access Datatype API in Umbraco? Should be very easy one :) but I just can't find it.

    Here is why I want to do it: 1) I created new data type that is Umbraco.DropDownMultiple 2) It has a list of prevalues that I added to that control

    Now: I am in razor template, And I would like to access a list of those prevalues that I created, in order to avoid hardcoding, think this should be farely easy task. But I just can't find a namespace/right API call.

    Appreciate for help! :)

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Sep 03, 2015 @ 18:57
    Dennis Aaen
    100

    Hi Dmitrij :-)

    Is this what you are looking for. DataType Service.

    https://our.umbraco.org/documentation/reference/management/services/DataTypeService

    You can find the list of all the available services here: https://our.umbraco.org/documentation/reference/management/services/

    Hope this helps,

    /Dennis

  • Dmitrij Jazel 86 posts 179 karma points
    Sep 03, 2015 @ 19:07
    Dmitrij Jazel
    0

    Hi Dennis! :-) Thanks allot for lighting-fast response, that is exactly what I was looking for! :-) Will take a better look at the links... thanks for sharing great resource :-)

  • 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