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 6133 posts 23952 karma points MVP 7x 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

Please Sign in or register to post replies

Write your reply to:

Draft