I have a custom list with a custom content type inherited from the Folder content type.
When I insert a new item in the list I do it like this:
newItem["Name"] = "New Folder"; newItem["Content Type"] = "Package"; newItem.Update();
The item is inserted but I found that its title is something like 51_.000 and if I insert another item the title is 52_.000 and so on.
Is there something wrong with this code? If so, how do I insert a folder with the title properly?