Having an issue trying to get the search to work with SUBTYPES and domains coming from an SDE. I cannot get domains to show and subtypes (which are coded integer values in an integer field) also do not show in a combo box if I set usedomain="true". I have configured my xml to conform to the example given in the latest download:<expression alias="Category" textsearchlabel="Search by CATEGORY [ Example: CHURCH ]:" field="CATEGORY" usedomain="true">CATEGORY = '[value]'</expression>
Am I missing something to make this work for SDE? Does this tool not work with subtypes? Below is a portion of my services directory - I have noticed that the domains are listed separately and not included in the same line where the fields are listed:Fields:
OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
PILLAR (Type: esriFieldTypeString, Alias: ICSP Pillar, Length: 20 )
CATEGORY (Type: esriFieldTypeSmallInteger, Alias: Category of Asset)
SUB_CATEGORY (Type: esriFieldTypeString, Alias: Type of Asset, Length: 30 )
NAME_ASSET (Type: esriFieldTypeString, Alias: Name of Asset, Length: 40 )
STR_NAME (Type: esriFieldTypeString, Alias: Street Name, Length: 30 )
STR_TYPE (Type: esriFieldTypeString, Alias: Street Type, Length: 30 )
COMMUNITY (Type: esriFieldTypeString, Alias: Name of Community, Length: 30 )
STATUS (Type: esriFieldTypeString, Alias: Operational Season, Length: 15 )
CONTACT (Type: esriFieldTypeString, Alias: Primary Contact Name, Length: 40 )
MAIL_ADDRESS (Type: esriFieldTypeString, Alias: Mailing Address, Length: 40 )
POSTAL (Type: esriFieldTypeString, Alias: Postal Code, Length: 10 )
PHONE (Type: esriFieldTypeString, Alias: Phone Number, Length: 15 )
OCCUPANCY (Type: esriFieldTypeSmallInteger, Alias: Occupancy of Facility)
VOLUNTEER (Type: esriFieldTypeString, Alias: Volunteer Sector Activity, Length: 5 )
REVIEW_LINK (Type: esriFieldTypeString, Alias: Link to Reviews, Length: 50 )
PLACES_LINK (Type: esriFieldTypeString, Alias: Link to Google Places, Length: 50 )
CDA_NAME (Type: esriFieldTypeString, Alias: Community Development Association, Length: 30 )
ELECT_NAME (Type: esriFieldTypeString, Alias: Electoral District, Length: 20 )
COLLECTOR (Type: esriFieldTypeString, Alias: Name of Data Collector, Length: 30 )
COL_DATE (Type: esriFieldTypeDate, Alias: Date of Collection, Length: 36 )
EDITOR (Type: esriFieldTypeString, Alias: Name of Data Editor, Length: 30 )
EMAIL (Type: esriFieldTypeString, Alias: Email Address for Asset, Length: 40 )
SHAPE (Type: esriFieldTypeGeometry, Alias: SHAPE)
CIVIC_NUM (Type: esriFieldTypeInteger, Alias: Civic Number)
YEAR_EST (Type: esriFieldTypeInteger, Alias: Year Established)
EMPLOYEE (Type: esriFieldTypeSmallInteger, Alias: Number of Employees)
KEWORD (Type: esriFieldTypeString, Alias: Keyword Search, Length: 200 )
DESCRIPT (Type: esriFieldTypeString, Alias: Description, Length: 254 )
NOTES (Type: esriFieldTypeString, Alias: Notes on Asset, Length: 254 )
WEB_LINK (Type: esriFieldTypeString, Alias: Web Address for Asset, Length: 100 )
PHOTO_LINK (Type: esriFieldTypeString, Alias: Link to Photogragh, Length: 100 )
VIDEO_LINK (Type: esriFieldTypeString, Alias: Link to Video, Length: 100 )
WIKI_LINK (Type: esriFieldTypeString, Alias: Link to Wikipedia, Length: 100 )
Type ID Field: CATEGORY
Types:
ID: 310
Name: Active Healthy Living
Domains:
Field Name: SUB_CATEGORY
Coded Values:[Active Healthy Living: Active Healthy Living]
Field Name: CDA_NAME
Coded Values:[Meat Cove: Meat Cove], [Pleasant Bay: Pleasant Bay], [Cheticamp: Cheticamp], ...13 more...
Field Name: ELECT_NAME
Coded Values:[1: District 1], [2: District 2], [3: District 3], ...3 more...
ID: 320
Name: Gatherings & Festivals
Domains:
Field Name: SUB_CATEGORY
Coded Values:[Festivals: Festivals], [Gatherings: Gatherings], [Events: Events], ...1 more...
Field Name: CDA_NAME
Coded Values:[Meat Cove: Meat Cove], [Pleasant Bay: Pleasant Bay], [Cheticamp: Cheticamp], ...13 more...
Field Name: ELECT_NAME
Coded Values:[1: District 1], [2: District 2], [3: District 3], ...3 more...
ID: 330
Name: Recreation Centres
Domains:
Field Name: SUB_CATEGORY
Coded Values:[Rink: Rink], [Curling: Curling Rink], [Track & Field: Track & Field], ...6 more...
Field Name: CDA_NAME
Coded Values:[Meat Cove: Meat Cove], [Pleasant Bay: Pleasant Bay], [Cheticamp: Cheticamp], ...13 more...
Field Name: ELECT_NAME
Coded Values:[1: District 1], [2: District 2], [3: District 3], ...3 more...
Thanks for any help!