internal static void SetDefaultColValues(SPListItem spItm, string agreementId, AgreementStatus status) { spItm[Constants.ColSignedStatus] = status.ToString(); spItm.Update(); try { spItm[Constants.ColAgreementID] = agreementId; spItm.Update(); } catch { // do nothign as it might not exist } }