Changes could not be saved into the document

When experimenting with node promotion between form libraries and columns in list items I suddenly was faced with this YSOD:

Changes could not be saved into the document.
The property to change is read-only for the document’s content type, or the document is missing XML elements or attributes where the changes would be saved. Try editing the document in a Windows SharePoint Services-compatible XML editor such as Microsoft Office InfoPath.

 

I finally figured it out and it had to do with my sitecolumn declaration, which originally looked like this:

<Field
ID="{f17f0fc3-f240-4a54-9736-5fa9a0fe0a26}"
Name="ISBN"
DisplayName="ISBN"
Type="Text"
Node="Book\ISBN"
StaticName="ISBN"
Group="JL" xmlns="http://schemas.microsoft.com/sharepoint/" />

 

 

Apparently I had mistakenly put a backslash (\) in the Node attribute, the corrected declaration looks like:

<Field
ID="{f17f0fc3-f240-4a54-9736-5fa9a0fe0a26}"
Name="ISBN"
DisplayName="ISBN"
Type="Text"
Node="Book/ISBN"
StaticName="ISBN"
Group="JL" xmlns="http://schemas.microsoft.com/sharepoint/" />

  1. #1 by Brianna Daichendt on December 7, 2010 - 18:35

    Most of the blogs online are pretty much the same but i think you have a unique blog. Cheers !

  2. #2 by Willene Tope on December 7, 2010 - 23:18

    Hi, i think that i saw you visited my blog so here i am!.I am trying to find things to improve my blog!Is it ok if i use some of the things i saw here?!

  3. #4 by Carpet Shampooer on January 25, 2011 - 06:36

    *’. I am really thankful to this topic because it really gives great information `-‘

  4. #5 by Nancy Young on February 11, 2011 - 00:17

    For those encountering this error when no coding alterations have preceded it, check that the columns in your InfoPath form that may be promoted to a SharePoint list are the same data type AND if you’re promoting a text field to a column that is based on choices, that the choices include what might be in the text box. The SharePoint column won’t accept a value it doesn’t recognize as a valid choice.

  5. #6 by HP on June 21, 2011 - 19:39

    Hi Johan Leino, I am having same problem and I checked all columns nothing wrong with column name however all columns are part of content type and when I checked schema of columns , some of having read-only true. I guess this is causing problem to update those columns but I don’t how to make is editable those columns since all are site columns and part of content type.

  6. #7 by aricept generic cost on August 11, 2011 - 15:59

    mWRpDS good one

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: