Compartilhar via


SP.Field.updateAndPushChanges(pushChangesToLists) Method

Applies to: SharePoint Foundation 2010

Commits changed properties of the field and propagates changes to all lists that use the field.

SP.Field.updateAndPushChanges(pushChangesToLists);

Parameters

  • pushChangesToLists
    Specifies whether to propagate changes to all lists that use the field.

Type: Boolean

Applies To

SP.Field Class

Exceptions

Exceptions

Descriptions

SPException

Field does not exist. Error code: -2130575340.

SPException

Changing the type of the field is not supported. Error code: -2130575301.

SPException

Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula is not supported. Error code: -2130575295.

SPException

Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula refers to a field that is not supported. Error code: -2130575272.

SPException

Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula contains a circular reference or self-reference. Error code: -2130575271.

SPException

Formula in FieldCalculated.Formula or Data validation criteria in Field.ValidationFormula contains a syntax error. -2130575270.

SPException

Field.ValidationFormula refers to a field that does not exist. Error code: -2130575160.

SPException

Type of the field is changed for an indexed field. -2130246331.

SPException

Field is set to not be an indexed field, and AllowDuplicateValues is false. Error code: -2130246239.

SPException

AllowDuplicateValues is set to false and an existing list item in the list contains duplicate values in the field. Error code: -2130246238.

SPException

Type of the field is being changed and AllowDuplicateValues of the field is false. Error code: -2130246237.

SPException

Type of the field is set to Boolean and AllowDuplicateValues is not supported. Error code: -2130246236.

SPException

AllowDuplicateValues of the lookup field which is indexed is set to true. Error code: -2130246223.

SPException

Total number of fields (2) in the list exceeds the limit. Error code: -2130246219.

SPQueryThrottledException

Throttling limit is exceeded by the operation. Error code: -2147024860.

UnauthorizedAccessException

The current user has insufficient permissions. Error code: -2147024891.

SPException

AllowDuplicateValues is set to false on a field that is not an indexed field. Error code: -2130246240.

See Also

Reference

SP.Field Methods

SP.Field Properties

SP Namespace