Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Create List Definition Programmatically using Feature Receiver

$
0
0

I am using a Feature Receiver to create a custom content type in the FeatureActivated event.  I know know to create a list instance through code to use my content type.

What I would like to do is create a custom list definition (list template) to use my custom content type in the FeatureActiviated event.  I would like to do this entirely through C# code only (no xml files). I have been unable to find any examples of creating a list definition through code on MSDN.


Viewing all articles
Browse latest Browse all 7589


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>