This project is read-only.

Creating list item: The value 'ContentTypeName' is not valid for Id.

Topics: General, Troubleshooting, Writing modules
Nov 10, 2011 at 1:18 PM
Edited Nov 10, 2011 at 1:18 PM

When i  create a new list item for the selected list i get the following error message in the top of the page: The value 'ContentTypeName......' is not valid for Id.

To find out the problem i deleted all the added parts of the contentType but i still get this error.

Nov 10, 2011 at 2:46 PM
Edited Nov 11, 2011 at 8:08 AM

fixed: I had placed a Aggregate attribute at the wrong place

Update: After some testing i found out that removing this attribute didn't fix the problem but i had the following propery in my part which had to be removed:

public new int Id
     get { return Record.Id; }
      set { Record.Id = value; }