add the tables the relationships are based on to your map
Hi
can you explain the step to do this plz
Best Regards,,,
Say you have FeatureClass1, which is connected via a relationship class to Table1. It's not enough to just add FeatureClass1 to the map - you also need to use the Add Data tool and add Table1 to ArcMap.
Then publish the map to ArcGIS Server, where both FeatureClass1 and Table1 will be served up. For example see the services at SanFrancisco/311Incidents (FeatureServer) and note that both Layer and Table are included.
The sample at Query and edit related records | ArcGIS API for JavaScript 3.18 may also help.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.