Copied to clipboard

Flag this post as spam?

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


  • Laith 6 posts 46 karma points
    Feb 17, 2015 @ 11:22
    Laith
    0

    Programatically Create/Rename Properties for a Document Type using IContent

    Is there a way to create properties programmatically for a Document type using IContent. I also want to be able to rename properites.

    I've come across a post using the Legacy Document object but want to use the new IContent object.

    Thanks in Advance

    Laith

     

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Feb 17, 2015 @ 11:29
    Sören Deger
    100

    Hi Laith,

    Welcome to our!

    I think you can do this with the ContentTypeService:

    https://our.umbraco.org/documentation/Reference/Management-v6/Services/ContentTypeService

     

    Hope this helps,

     

    Best,

    Sören

  • 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