0
votes
0answers
14 views

Insert Content by Search web part into display teamplate - CSWP - feature

Is there a way to insert a CSWP into a display template? I'm trying to provisioning a team site with some web parts. One of the web part should be an CSQP. In my display template I have a feature ...
0
votes
1answer
139 views

Unable to get list “Calendar” list in feature while creating site

I want to create custom calendar list programatically. SPListTemplate template = web.ListTemplates["Calendar"]; var newListID = web.Lists.Add(fromTitle, description, template); But i cannot do ...