Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Ektron Content Type

Posted on October 21, 2013October 26, 2015 By David Kittell
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
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.

Related

Code Ektron VB.NET VB.NET ASPX

Post navigation

Previous post
Next post

Related Posts

MSSQL – Delta Records

Posted on February 4, 2016February 4, 2016

Scenario: You have to tables with similar information and you need to see what is different Say Table1 & Table2 are two sales contact tables and you want to combine the tables See SQLFiddle for the data schema to allow you to test the queries below. In each example it…

Read More

Mac Terminal – Random Readable Password

Posted on February 1, 2017

I recently was challenged to create a random readable password for Mac OS. While I designed this for Mac OS it’s likely it will work with little to no changes on any UNIX system. Password format was two digit number then a word followed by another word with special characters…

Read More

PHP – Latitude Latitude to Maidenhead Grid – HAM Radio

Posted on June 14, 2020August 17, 2024

Recently I was asked by a HAM Radio friend to work on a conversion of latitude and longitude coordinates to maidenhead grid. The code below is in “rough” PHP code on purpose to help illustrate the math behind the conversion. Feel free to clean/optimize it all I ask is that…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • PowerShell - IIS Remove Site
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - IIS Remove Site
  • SQLite - Auto-Increment / Auto Generate GUID
  • PowerShell - FTP Upload Directory With Sub-Directories
  • Raspberry Pi - Remove Default Apps
  • PowerShell - Change Windows CD/DVD Drive Letter
©2025 David Kittell | WordPress Theme by SuperbThemes