Copied to clipboard

Flag this post as spam?

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


  • pushpendu 23 posts 113 karma points
    Feb 06, 2015 @ 11:09
    pushpendu
    0

    How can I get Icon which we select in Document type.

    Hi,

    Is there anyway to get my selected Icon in document type and display in my frontend programming.

     

    Thanks

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Feb 09, 2015 @ 15:38
    Alex Skrypnyk
    1

    Hi Pushpendu,

    Look at code below :

        var contentType = Services.ContentTypeService.GetContentType(1000);
        string pathToIcon = contentType.Icon;
    

    1000 - is your contentType id.

    Thanks

  • 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