Hi there,
my process is currently creating a sharepoint site, and I'd like to the create a list (discussion board actually) from a sharepoint list template already in the sharepoint site's templates. my problem is, I can't find the enumeration for SpsListTemplateType (see 'xxxx' in my code below').
Even if I get the enumeration I'm not sure that this code will help me, as I need to load a List template, I don't see where that's occuring here.
Any help is apprectiated, thanks!
if (! (SpsList.CreateList(Site, "Comments", "Comments", xxxx,ref ErrorMessage)))
{
// Error Occurred in CreateWorkSpace - Raise Error
throw new System.Exception(ErrorMessage);
}
else
{
Console.WriteLine("Created Comments Discussion Board");
}
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.