I want to create list using .stp file which is uploaded in to the list template Gallary.
--> I am using Console application to create list in online site. --> have an any idea how to add list from stp file at online site.
I am not getting custom list using below code.
listTemplate = Context.Web.ListTemplates.First(t => t.ListTemplateTypeKind == TemplateID);
How should i get .stp list template in context ?