3

Need some taughts/help here.

I have taken the list template from WSS 2007 and then uploaded the same to the SharePoint 2013. That too after changing the ProductVersion from 3 to 4. After the list was successfully created using the same template,when am trying to add / edit the list item I got this error. “Column ‘ContentType’ does not exist.It may have been deleted by another user.”

I have created a Contentype column as suggested in blogs but this only works if i create a new item and then try to save or edit it

but doesnt work on exisitng items that that was created using the template.

I can view item but when i click edit i get this error:

Application error when access /sites/dev/Lists/xxx/EditForm.aspx, Error=Value cannot be null.   at Microsoft.SharePoint.Utilities.SPUtility.GetProviderName(String fullName)     at Microsoft.SharePoint.Administration.Claims.SPClaimEncodingManager.IsEncodedClaim(String value)     at Microsoft.SharePoint.WebControls.PickerEntity.get_Claim()

Any help will be appreciated

  • Is it a user type column? – Ruslan Dayanov Oct 2 '14 at 5:57
  • Hi Ruslan, Can you elaborate please? – naijacoder Oct 2 '14 at 8:38
  • If it is a user column, then there is mabe a problem with user values. The SPFiledUserValue is still lookup value, that uses the "Users and Groups" List. So if there are no elements(users) with same id, then SPFiledUserValue can not get the SPUser and cannot get Login. – Ruslan Dayanov Oct 2 '14 at 9:04
0

There are 2 ways to resolve this issue:

  1. Enable "Allow Content type" in list settings
  2. Create a SLT named ContentType and then hid it from all the forms if necessary

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.