Two SharePoint lists with different names, but same contents error
-
04-10-2020 - |
Question
I have written a SharePoint solution which should create two SharePoint lists with completely different list definitions. If I deploy the solution, I get a strange behaviour. There are two different list instances but with the same content e.g. the same columns.
I deploy lists and list definitions from both lists in the same feature. Any idea why this happens?
Solution
Comment solving issue posted as answer
Check the list definitions. Make sure they have different IDs in the Type
attribute. Then check the list instances and make sure the IDs in their TemplateType
attribute matches the ID from the list definition Type
attribute they should use.
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange