SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a sharepoint external list with an edit form containing a form field based upon an association. The field is not nullable. I want to prevent edits on the field, so I set controlmode="display". The result is that the save process fails. The form field vanishes and the form is not closed.

This only happens with non-nullable fields based upon associations. I tried to remove the "Required"-check on the corresponding property in the operations of the external content type, but without success. Is there a way to solve the problem?

share|improve this question

Another option is to set it to New, use a default value, and use javascript to disable the field on form load. Then utilize a PreSaveAction function to set the field to enabled and the item can be submitted to the list.

share|improve this answer

Try providing a default value for the Field, either in the actual list columns/content types or directly in the Publishing control.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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