You can access the members of an enumeration (or any JavaScript object for that matter) using the C# indexer syntax. So the code you want would be something like: var typeList = SP.ListTemplateType["announcements"]; listCreationInfo.set_templateType(typeList);