Copied to clipboard

Flag this post as spam?

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


  • andy_rose 91 posts 117 karma points
    Jul 29, 2011 @ 14:22
    andy_rose
    0

    Can I get a datatypes id from it's name via the API?

    I need to get a datatypes id via it's name (in this case it is a uCompnent drop down list).

    I need this so that I can get it's list of prevalues using the umbraco.cms.businesslogic.datatype.PreValues.GetPreValues(int id) method so I can display them in a macro.

    Although datatypes are nodes I don't believe I can access them via the node factory classes. Can anyone help out with this or is there an easier way of retrieving a datatypes prevalues via the API?

  • 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