Public Function GetContentType(ByVal sId As String) As String Select Case [sId] Case "1" Return "Content" Case "2" Return "Forms" Case "3" Return "Archive Content" Case "4" Return "Archive Forms" Case "7" Return "Library Item" Case "8" Return "Assets" Case "9" Return "Archive Assets" Case "12" Return "Archive Media" Case "99" Return "Non Library Content" Case "101" Return "Assets" Case "102" Return "Assets" Case "103" Return "Assets" Case "104" Return "Multimedia" Case "1111" Return "Discussion Topic" Case "3333" Return "Catalog Entry" End Select End Function
Originally Posted on October 21, 2013
Last Updated on October 26, 2015
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.