Copied to clipboard

Flag this post as spam?

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


  • Steven Lemmens 30 posts 71 karma points
    Nov 13, 2012 @ 15:32
    Steven Lemmens
    0

    Getting all the Properties on tab in umbraco

    I'm trying to figure out the umbraco API here. In a piece of code, I'm trying to list all Properties on a Tab. I know I can get these by using:

     MyTab.PropertyTypes

    But this property is declared "obsolete" (deprecated) and it refers me to the function GetPropertyTypes(int). This function, however, requires a parameter 'ContentTypeId' and I'm not sure what I should specify. I want all the properties, not only properties of a certain type.

    I've tried looking for the documentation about this function, but couldn't find any. Can anyone please point me in the right direction?

Please Sign in or register to post replies

Write your reply to:

Draft