public @UMHSPhoneFormUIModel() : base() { _phonetypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField(); _number = new global::Blackbaud.AppFx.UIModeling.Core.PhoneField(); _isprimary = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _countryid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>(); _startdate = new global::Blackbaud.AppFx.UIModeling.Core.DateField(); _enddate = new global::Blackbaud.AppFx.UIModeling.Core.DateField(); _donotcall = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _donotcallreasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField(); _infosourcecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField(); _infosourcecomments = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _callbefore = new global::Blackbaud.AppFx.UIModeling.Core.TimeField(); _callafter = new global::Blackbaud.AppFx.UIModeling.Core.TimeField(); _isconfidential = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _countrycode = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _showinvalid = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _invalidfield3 = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _invalidfield4 = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _origincodetranslation = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _phoneinformation = new global::Blackbaud.AppFx.UIModeling.Core.GroupField(); _sourceinformation = new global::Blackbaud.AppFx.UIModeling.Core.GroupField(); // _countrycodes = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); // _countryCodesDictionary = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add; this.DataFormTemplateId = new System.Guid("f76a4009-eabb-4ad8-9603-10c572cf0fe5"); this.DataFormInstanceId = new System.Guid("10f54640-0b72-4569-99a4-334c9a12fd3b"); this.RecordType = "UMHS Phone"; this.ContextRecordType = "MIMED Data"; this.FixedDialog = true; this.FORMHEADER.Value = "Add MIMED Phone"; this.UserInterfaceUrl = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSPhoneForm.html"; // //_phonetypecodeid // _phonetypecodeid.Name = "PHONETYPECODEID"; _phonetypecodeid.Caption = "Phone type"; _phonetypecodeid.CodeTableName = "PHONETYPECODE"; this.Fields.Add(_phonetypecodeid); // //_number // _number.Name = "NUMBER"; _number.Caption = "Number"; _number.Required = true; _number.MaxLength = 100; this.Fields.Add(_number); // //_isprimary // _isprimary.Name = "ISPRIMARY"; _isprimary.Caption = "Set as primary phone number"; this.Fields.Add(_isprimary); // //_countryid // _countryid.Name = "COUNTRYID"; _countryid.Caption = "Country"; _countryid.Required = true; _countryid.SimpleDataListId = new System.Guid("c9649672-353d-42e8-8c25-4d34bbabfbba"); _countryid.Value = new System.Guid("27CF0F7D-CDAF-448F-80DE-E9196BF28D36"); this.Fields.Add(_countryid); // //_startdate // _startdate.Name = "STARTDATE"; _startdate.Caption = "Start date"; this.Fields.Add(_startdate); // //_enddate // _enddate.Name = "ENDDATE"; _enddate.Caption = "End date"; this.Fields.Add(_enddate); // //_donotcall // _donotcall.Name = "DONOTCALL"; _donotcall.Caption = "Do not call this phone number"; this.Fields.Add(_donotcall); // //_donotcallreasoncodeid // _donotcallreasoncodeid.Name = "DONOTCALLREASONCODEID"; _donotcallreasoncodeid.Caption = "Reason"; _donotcallreasoncodeid.CodeTableName = "DONOTCALLREASONCODE"; this.Fields.Add(_donotcallreasoncodeid); // //_infosourcecodeid // _infosourcecodeid.Name = "INFOSOURCECODEID"; _infosourcecodeid.Caption = "Information source"; _infosourcecodeid.CodeTableName = "INFOSOURCECODE"; this.Fields.Add(_infosourcecodeid); // //_infosourcecomments // _infosourcecomments.Name = "INFOSOURCECOMMENTS"; _infosourcecomments.Caption = "Comments"; _infosourcecomments.MaxLength = 256; _infosourcecomments.Multiline = true; this.Fields.Add(_infosourcecomments); // //_callbefore // _callbefore.Name = "CALLBEFORE"; _callbefore.Caption = "Call before"; this.Fields.Add(_callbefore); // //_callafter // _callafter.Name = "CALLAFTER"; _callafter.Caption = "Call after"; this.Fields.Add(_callafter); // //_isconfidential // _isconfidential.Name = "ISCONFIDENTIAL"; _isconfidential.Caption = "This phone number is confidential"; this.Fields.Add(_isconfidential); // //_countrycode // _countrycode.Name = "COUNTRYCODE"; _countrycode.Caption = "COUNTRYCODE"; _countrycode.DBReadOnly = true; this.Fields.Add(_countrycode); // //_showinvalid // _showinvalid.Name = "SHOWINVALID"; _showinvalid.Caption = "SHOWINVALID"; _showinvalid.Visible = false; _showinvalid.DBReadOnly = true; this.Fields.Add(_showinvalid); // //_invalidfield3 // _invalidfield3.Name = "INVALIDFIELD3"; _invalidfield3.Caption = "INVALIDFIELD3"; _invalidfield3.Visible = false; _invalidfield3.DBReadOnly = true; this.Fields.Add(_invalidfield3); // //_invalidfield4 // _invalidfield4.Name = "INVALIDFIELD4"; _invalidfield4.Caption = "INVALIDFIELD4"; _invalidfield4.Visible = false; _invalidfield4.DBReadOnly = true; this.Fields.Add(_invalidfield4); // //_origincodetranslation // _origincodetranslation.Name = "ORIGINCODETRANSLATION"; _origincodetranslation.Caption = "Information source"; _origincodetranslation.DBReadOnly = true; this.Fields.Add(_origincodetranslation); // //_phoneinformation // _phoneinformation.Name = "PHONEINFORMATION"; _phoneinformation.Caption = "Phone information"; _phoneinformation.Fields.Add("PHONETYPECODEID"); _phoneinformation.Fields.Add("NUMBER"); _phoneinformation.Fields.Add("ISPRIMARY"); _phoneinformation.Fields.Add("DONOTCALL"); _phoneinformation.Fields.Add("ISCONFIDENTIAL"); this.Fields.Add(_phoneinformation); // //_sourceinformation // _sourceinformation.Name = "SOURCEINFORMATION"; _sourceinformation.Caption = "Phone source"; _sourceinformation.Fields.Add("INFOSOURCECODEID"); _sourceinformation.Fields.Add("INFOSOURCECOMMENTS"); this.Fields.Add(_sourceinformation); //// ////_countrycodes //// //this._countrycodes.Name = "COUNTRYCODES"; //this._countrycodes.Caption = "COUNTRYCODES"; //this._countrycodes.Visible = false; //this._countrycodes.DBReadOnly = true; //this.Fields.Add(_countrycodes); OnCreated(); }
public @UMHSPhoneViewDataFormUIModel() : base() { _phonetypecode = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _phonenumber = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _primary = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _donotcall = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _donotcallreasoncode = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _infosourcecode = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _infosourcecomments = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _startdate = new global::Blackbaud.AppFx.UIModeling.Core.DateField(); _enddate = new global::Blackbaud.AppFx.UIModeling.Core.DateField(); _callbefore = new global::Blackbaud.AppFx.UIModeling.Core.TimeField(); _callafter = new global::Blackbaud.AppFx.UIModeling.Core.TimeField(); _dateadded = new global::Blackbaud.AppFx.UIModeling.Core.DateField(); _isconfidential = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField(); _country = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _confidentialimage = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _confidentialdescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _primaryimage = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _enddatedescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _donotcallimage = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _donotcalldescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _hyphen = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _contactimage = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); _contactdescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField(); this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View; this.DataFormTemplateId = new System.Guid("a55fc2f8-f9cc-479a-82c5-e41102319793"); this.DataFormInstanceId = new System.Guid("dc0be8a6-d96c-4374-aee5-897404ad975b"); this.RecordType = "MIMED Data"; this.FixedDialog = true; this.UserInterfaceUrl = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSPhoneViewDataForm.html"; // //_phonetypecode // _phonetypecode.Name = "PHONETYPECODE"; _phonetypecode.Caption = "Type"; _phonetypecode.DBReadOnly = true; _phonetypecode.MaxLength = 100; this.Fields.Add(_phonetypecode); // //_phonenumber // _phonenumber.Name = "PHONENUMBER"; _phonenumber.Caption = "Number"; _phonenumber.DBReadOnly = true; _phonenumber.MaxLength = 100; this.Fields.Add(_phonenumber); // //_primary // _primary.Name = "PRIMARY"; _primary.Caption = "Primary"; _primary.DBReadOnly = true; this.Fields.Add(_primary); // //_donotcall // _donotcall.Name = "DONOTCALL"; _donotcall.Caption = "Do not call"; _donotcall.DBReadOnly = true; this.Fields.Add(_donotcall); // //_donotcallreasoncode // _donotcallreasoncode.Name = "DONOTCALLREASONCODE"; _donotcallreasoncode.Caption = "Reason"; _donotcallreasoncode.DBReadOnly = true; _donotcallreasoncode.MaxLength = 100; this.Fields.Add(_donotcallreasoncode); // //_infosourcecode // _infosourcecode.Name = "INFOSOURCECODE"; _infosourcecode.Caption = "Information source"; _infosourcecode.DBReadOnly = true; _infosourcecode.MaxLength = 100; this.Fields.Add(_infosourcecode); // //_infosourcecomments // _infosourcecomments.Name = "INFOSOURCECOMMENTS"; _infosourcecomments.Caption = "Comments"; _infosourcecomments.DBReadOnly = true; _infosourcecomments.MaxLength = 256; this.Fields.Add(_infosourcecomments); // //_startdate // _startdate.Name = "STARTDATE"; _startdate.Caption = "Start date"; _startdate.DBReadOnly = true; this.Fields.Add(_startdate); // //_enddate // _enddate.Name = "ENDDATE"; _enddate.Caption = "End date"; _enddate.DBReadOnly = true; this.Fields.Add(_enddate); // //_callbefore // _callbefore.Name = "CALLBEFORE"; _callbefore.Caption = "Call before"; this.Fields.Add(_callbefore); // //_callafter // _callafter.Name = "CALLAFTER"; _callafter.Caption = "Call after"; this.Fields.Add(_callafter); // //_dateadded // _dateadded.Name = "DATEADDED"; _dateadded.Caption = "Date added"; _dateadded.DBReadOnly = true; this.Fields.Add(_dateadded); // //_isconfidential // _isconfidential.Name = "ISCONFIDENTIAL"; _isconfidential.Caption = "Confidential"; _isconfidential.DBReadOnly = true; this.Fields.Add(_isconfidential); // //_country // _country.Name = "COUNTRY"; _country.Caption = "Country"; _country.DBReadOnly = true; _country.MaxLength = 100; this.Fields.Add(_country); // //_confidentialimage // _confidentialimage.Name = "CONFIDENTIALIMAGE"; _confidentialimage.Caption = "CONFIDENTIALIMAGE"; _confidentialimage.DBReadOnly = true; this.Fields.Add(_confidentialimage); // //_confidentialdescription // _confidentialdescription.Name = "CONFIDENTIALDESCRIPTION"; _confidentialdescription.Caption = "CONFIDENTIALDESCRIPTION"; _confidentialdescription.DBReadOnly = true; this.Fields.Add(_confidentialdescription); // //_primaryimage // _primaryimage.Name = "PRIMARYIMAGE"; _primaryimage.Caption = "PRIMARYIMAGE"; _primaryimage.DBReadOnly = true; this.Fields.Add(_primaryimage); // //_enddatedescription // _enddatedescription.Name = "ENDDATEDESCRIPTION"; _enddatedescription.Caption = "ENDDATEDESCRIPTION"; _enddatedescription.DBReadOnly = true; this.Fields.Add(_enddatedescription); // //_donotcallimage // _donotcallimage.Name = "DONOTCALLIMAGE"; _donotcallimage.Caption = "DONOTCALLIMAGE"; _donotcallimage.DBReadOnly = true; this.Fields.Add(_donotcallimage); // //_donotcalldescription // _donotcalldescription.Name = "DONOTCALLDESCRIPTION"; _donotcalldescription.Caption = "DONOTCALLDESCRIPTION"; _donotcalldescription.DBReadOnly = true; this.Fields.Add(_donotcalldescription); // //_hyphen // _hyphen.Name = "HYPHEN"; _hyphen.Caption = "HYPHEN"; _hyphen.DBReadOnly = true; this.Fields.Add(_hyphen); // //_contactimage // _contactimage.Name = "CONTACTIMAGE"; _contactimage.Caption = "CONTACTIMAGE"; _contactimage.DBReadOnly = true; this.Fields.Add(_contactimage); // //_contactdescription // _contactdescription.Name = "CONTACTDESCRIPTION"; _contactdescription.Caption = "CONTACTDESCRIPTION"; _contactdescription.DBReadOnly = true; this.Fields.Add(_contactdescription); OnCreated(); }