I开发者_Python百科 have created three features - fields, content types and lists. I deployed the solution and everything was fine. However, I deleted my list instance from the Lists section in my site. Now I cannot create it again. I tried to deploy the solution again but no instance was created. How can that be done?
<ListInstance Id="2" Title="My Content List" FeatureId="91F7775A-C3FF-11DF-939A-4D4CE0D72085" Description="This is my list instance." TemplateType="100" OnQuickLaunch="False" Url="Lists/MyContentt">
Try this:
- Deactivate the feature
- Retract and delete the solution
- Change the ListInstance Id to a GUID and repackage your solution
- Add and deploy the solution
- Reactivate the feature
Good luck!
精彩评论