I am working on a viewer in which I would like to show two related feature classes. If I select a feature of the first one, the related features of the second one should be selected too. I found a script on the Esri Resource Center: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/fl_query_related.html
My problem is that I can't get the relationship in de Mapserver. We run ArcGIS Server 9.3.1.
I created a "Relationship class" in the database. This relation works fine in ArcMap but when I make a service of it, it disappears. Secondly I created a "Relate" in ArcMap, which worked fine there, but disappeared in the service.
What is the solution to this problem? Is it possible to create a relationship with ArcGIS Server 9.3.1? The example server from the Resource Center uses ArcGIS SErver 10.