Hi Robert:
Thanks for your reply. Sorry my explanation is unclear. I do have a relate set up in ArcMap- but the relate is not showing up when I publish my mxd to a map service- and therefore my reference to it in the enhanced search widget does not work.
Basically I'm linking information in a documents database-which is housed in an mdf file in SQL Server Express- to an ArcSDE geodatabase. I have 2 non-spatial tables (A and B) in the mdf file; and one spatial layer (C) in the geodatabase. Both tables contain attributes that I want to be able to link to/display if I do a search of layer (C). In the mxd, I have set up a join from table B to table A, and set up a relate from layer C to table B. In the esearch config file- I've added layer C and set up an "expression" element to do a search of one of the fields in layer C. I want to then use the "relate" element to set up a way of linking to fields from both tables A and B when the search results are returned.
When I publish a map service from the mxd with this join and relate set up- the tables and results of the join show up in the map service, but the relate does not. So my problem at this point seems to be in going from the mxd to the msd- the relate gets lost in the process.
I hope this clarifies. Any thoughts are much appreciated.
Virginia