Copied to clipboard

Flag this post as spam?

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


  • Harshit 64 posts 226 karma points
    Oct 19, 2015 @ 08:38
    Harshit
    0

    what is contentTypeAlias property in CreateContent method of ContentService

    Hi, there is method under ContentService as below: Content CreateContent(string name, int parentId, string contentTypeAlias, int userId = 0);

    what is contentTypeAlias?

    can anbody help pls?

    Regards, Harshit

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Oct 19, 2015 @ 12:02
    David Brendel
    100

    Hi Harshit,

    every DocumentType you create has an alias. This alias is used in this method to choose which content you want to create.

    Regards David

  • Harshit 64 posts 226 karma points
    Oct 19, 2015 @ 15:31
    Harshit
    0

    Thanks David :)

Please Sign in or register to post replies

Write your reply to:

Draft